Re: Error splitting PDF

2023-11-10 Thread Joan Fisbein
Just submitted my request for a Jira account :-)

On Fri, 10 Nov 2023 at 05:06, Tilman Hausherr  wrote:

> On 09.11.2023 10:16, Joan Fisbein wrote:
> > Hi Tilman,
> >  I tried to register again at
> > https://selfserve.apache.org/jira-account.html and now I get an error
> > message about "The username you selected is already in use".
> >  Can you, maybe, accept my previous request?
>
> Hello Joan,
>
> Yes but this can be done only within 24 hours and I missed that :-( Can
> you try to register again now? I assume that the username should now be
> available.
>
> Tilman
>
>
> >
> > Thanks!
> > Joan
> >
> > On Thu, 9 Nov 2023 at 05:44, Tilman Hausherr 
> wrote:
> >
> >> Hello Joan,
> >>
> >> Sorry for the rejection, this was a close call, the description didn't
> >> mention what happened (a stack overflow). Feel free to register again so
> >> you can follow the issue I created
> >> https://issues.apache.org/jira/browse/PDFBOX-5712
> >>
> >> Tilman
> >>
> >> On 08.11.2023 21:36, Joan Fisbein wrote:
> >>> Hi all,
> >>>   I'm using PDFBox 3.0.0 and im getting this error when trying to
> >> split
> >>> this PDF.
> >>>
> >>>   I tested with code from trunk and the error is still there.
> >>>   Tried to get a Jira account to open an issue but was denied.
> >>>
> >>>   Here you can download the problematic PDF:
> >>>
> >>
> https://independence.mgmt.clarity.ai/report/public/file/2d1b4dd4-1ab3-4aaf-bb71-7f1759822f3a?disposition=inline=ORIGINAL
> >>>
> >>> Thanks!!
> >>>
> >>> The stacktrace exception:
> >>> ai.clarity.bus.subscribe.exception.ConsumerException:
> >>> java.lang.reflect.InvocationTargetException
> >>> at
> >>>
> >>
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:238)
> >>> at
> >>>
> >>
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:206)
> >>> at
> >>>
> >>
> ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.lambda$run$0(SQSMessageHandler.java:98)
> >>> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> >>> at
> >>>
> >>
> ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.run(SQSMessageHandler.java:98)
> >>> at
> >>>
> >>
> java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
> >>> at
> >>>
> >>
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> >>> at
> >>>
> >>
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> >>> at java.base/java.lang.Thread.run(Thread.java:840)
> >>> Caused by: java.lang.reflect.InvocationTargetException: null
> >>> at jdk.internal.reflect.GeneratedMethodAccessor451.invoke(Unknown
> Source)
> >>> at
> >>>
> >>
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> >>> at
> >>>
> >>
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:236)
> >>> ... 8 common frames omitted
> >>> Caused by: java.lang.StackOverflowError: null
> >>> at
> >>>
> >>
> java.base/java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:300)
> >>> at java.base/java.util.HashMap.putVal(HashMap.java:662)
> >>> at java.base/java.util.HashMap.put(HashMap.java:610)
> >>> at java.base/java.util.HashSet.add(HashSet.java:221)
> >>> at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:387)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1453)
> >>> at
> >> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> >>> at
> >> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> >>> at
> >> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> >>> at
> >>>
> >>
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> >>> at
> >> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> >>> at
> >>>
> >>
> 

Re: Error splitting PDF

2023-11-09 Thread Tilman Hausherr

On 09.11.2023 10:16, Joan Fisbein wrote:

Hi Tilman,
 I tried to register again at
https://selfserve.apache.org/jira-account.html and now I get an error
message about "The username you selected is already in use".
 Can you, maybe, accept my previous request?


Hello Joan,

Yes but this can be done only within 24 hours and I missed that :-( Can 
you try to register again now? I assume that the username should now be 
available.


Tilman




Thanks!
Joan

On Thu, 9 Nov 2023 at 05:44, Tilman Hausherr  wrote:


Hello Joan,

Sorry for the rejection, this was a close call, the description didn't
mention what happened (a stack overflow). Feel free to register again so
you can follow the issue I created
https://issues.apache.org/jira/browse/PDFBOX-5712

Tilman

On 08.11.2023 21:36, Joan Fisbein wrote:

Hi all,
  I'm using PDFBox 3.0.0 and im getting this error when trying to

split

this PDF.

  I tested with code from trunk and the error is still there.
  Tried to get a Jira account to open an issue but was denied.

  Here you can download the problematic PDF:


https://independence.mgmt.clarity.ai/report/public/file/2d1b4dd4-1ab3-4aaf-bb71-7f1759822f3a?disposition=inline=ORIGINAL


Thanks!!

The stacktrace exception:
ai.clarity.bus.subscribe.exception.ConsumerException:
java.lang.reflect.InvocationTargetException
at


ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:238)

at


ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:206)

at


ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.lambda$run$0(SQSMessageHandler.java:98)

at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at


ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.run(SQSMessageHandler.java:98)

at


java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)

at


java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

at


java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
at


java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at


ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:236)

... 8 common frames omitted
Caused by: java.lang.StackOverflowError: null
at


java.base/java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:300)

at java.base/java.util.HashMap.putVal(HashMap.java:662)
at java.base/java.util.HashMap.put(HashMap.java:610)
at java.base/java.util.HashSet.add(HashSet.java:221)
at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:387)
at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1453)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)

at


org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)

at

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)

at



Re: Error splitting PDF

2023-11-09 Thread Joan Fisbein
Hi Tilman,
I tried to register again at
https://selfserve.apache.org/jira-account.html and now I get an error
message about "The username you selected is already in use".
Can you, maybe, accept my previous request?

Thanks!
   Joan

On Thu, 9 Nov 2023 at 05:44, Tilman Hausherr  wrote:

> Hello Joan,
>
> Sorry for the rejection, this was a close call, the description didn't
> mention what happened (a stack overflow). Feel free to register again so
> you can follow the issue I created
> https://issues.apache.org/jira/browse/PDFBOX-5712
>
> Tilman
>
> On 08.11.2023 21:36, Joan Fisbein wrote:
> > Hi all,
> >  I'm using PDFBox 3.0.0 and im getting this error when trying to
> split
> > this PDF.
> >
> >  I tested with code from trunk and the error is still there.
> >  Tried to get a Jira account to open an issue but was denied.
> >
> >  Here you can download the problematic PDF:
> >
> https://independence.mgmt.clarity.ai/report/public/file/2d1b4dd4-1ab3-4aaf-bb71-7f1759822f3a?disposition=inline=ORIGINAL
> >
> >
> > Thanks!!
> >
> > The stacktrace exception:
> > ai.clarity.bus.subscribe.exception.ConsumerException:
> > java.lang.reflect.InvocationTargetException
> > at
> >
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:238)
> > at
> >
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:206)
> > at
> >
> ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.lambda$run$0(SQSMessageHandler.java:98)
> > at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> > at
> >
> ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.run(SQSMessageHandler.java:98)
> > at
> >
> java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
> > at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> > at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> > at java.base/java.lang.Thread.run(Thread.java:840)
> > Caused by: java.lang.reflect.InvocationTargetException: null
> > at jdk.internal.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
> > at
> >
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> > at
> >
> ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:236)
> > ... 8 common frames omitted
> > Caused by: java.lang.StackOverflowError: null
> > at
> >
> java.base/java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:300)
> > at java.base/java.util.HashMap.putVal(HashMap.java:662)
> > at java.base/java.util.HashMap.put(HashMap.java:610)
> > at java.base/java.util.HashSet.add(HashSet.java:221)
> > at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:387)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1453)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> > at
> org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
> > at
> >
> org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
> 

Re: Error splitting PDF

2023-11-08 Thread Tilman Hausherr

Hello Joan,

Sorry for the rejection, this was a close call, the description didn't 
mention what happened (a stack overflow). Feel free to register again so 
you can follow the issue I created

https://issues.apache.org/jira/browse/PDFBOX-5712

Tilman

On 08.11.2023 21:36, Joan Fisbein wrote:

Hi all,
 I'm using PDFBox 3.0.0 and im getting this error when trying to split
this PDF.

 I tested with code from trunk and the error is still there.
 Tried to get a Jira account to open an issue but was denied.

 Here you can download the problematic PDF:
https://independence.mgmt.clarity.ai/report/public/file/2d1b4dd4-1ab3-4aaf-bb71-7f1759822f3a?disposition=inline=ORIGINAL


Thanks!!

The stacktrace exception:
ai.clarity.bus.subscribe.exception.ConsumerException:
java.lang.reflect.InvocationTargetException
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:238)
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:206)
at
ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.lambda$run$0(SQSMessageHandler.java:98)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at
ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.run(SQSMessageHandler.java:98)
at
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:236)
... 8 common frames omitted
Caused by: java.lang.StackOverflowError: null
at
java.base/java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:300)
at java.base/java.util.HashMap.putVal(HashMap.java:662)
at java.base/java.util.HashMap.put(HashMap.java:610)
at java.base/java.util.HashSet.add(HashSet.java:221)
at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:387)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1453)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
[removed more lines like above]

PS: Can look similar to
https://issues.apache.org/jira/browse/PDFBOX-5707 but
it's not the same.




-
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: 

Error splitting PDF

2023-11-08 Thread Joan Fisbein
Hi all,
I'm using PDFBox 3.0.0 and im getting this error when trying to split
this PDF.

I tested with code from trunk and the error is still there.
Tried to get a Jira account to open an issue but was denied.

Here you can download the problematic PDF:
https://independence.mgmt.clarity.ai/report/public/file/2d1b4dd4-1ab3-4aaf-bb71-7f1759822f3a?disposition=inline=ORIGINAL


Thanks!!

The stacktrace exception:
ai.clarity.bus.subscribe.exception.ConsumerException:
java.lang.reflect.InvocationTargetException
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:238)
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:206)
at
ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.lambda$run$0(SQSMessageHandler.java:98)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at
ai.clarity.bus.subscribe.eventbridge.SQSMessageHandler.run(SQSMessageHandler.java:98)
at
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
ai.clarity.messagebus.spring.config.SubscriberConfiguration$MethodEventHandler.accept(SubscriberConfiguration.java:236)
... 8 common frames omitted
Caused by: java.lang.StackOverflowError: null
at
java.base/java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:300)
at java.base/java.util.HashMap.putVal(HashMap.java:662)
at java.base/java.util.HashMap.put(HashMap.java:610)
at java.base/java.util.HashSet.add(HashSet.java:221)
at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:387)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1453)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1481)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
at org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:780)
at
org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1475)
[removed more lines like above]

   PS: Can look similar to
https://issues.apache.org/jira/browse/PDFBOX-5707 but
it's not the same.