On 17.11.2023 09:45, Joan Fisbein wrote:
Hi Tilman,

     I've tested both cases and everything works as expected.
     Thank you very much.
     Is there a plan to release a 3.0.1 version soon?

Yes, we just had 2.0.29 and 3.0.1 was intended to be next, and it was already delayed by another nasty bug.

Tilman




Thanks!

On Fri, 17 Nov 2023 at 05:07, Tilman Hausherr <[email protected]> wrote:

Hi Joan,

There's now a snapshot release with the recent change

https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.1-SNAPSHOT/
so please try if it works with that one. It worked for me.

Tilman

On 15.11.2023 10:29, Joan Fisbein wrote:
I have 2 errors when trying to split some PDFs.
Tested against PDFBox 3.0.1-SNAPSHOT from Github.

*Error 1:*
Exception in thread "main" java.lang.StackOverflowError
at java.base/java.util.HashMap.tableSizeFor(HashMap.java:378)
at java.base/java.util.HashMap.<init>(HashMap.java:455)
at java.base/java.util.LinkedHashMap.<init>(LinkedHashMap.java:439)
at java.base/java.util.HashSet.<init>(HashSet.java:171)
at java.base/java.util.LinkedHashSet.<init>(LinkedHashSet.java:167)
at org.apache.pdfbox.util.SmallMap.entrySet(SmallMap.java:384)
at

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

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

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

org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1486)
at

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

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

org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1486)
at

org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(COSDictionary.java:1470)
You can get the PDF that generates this error here:

https://independence.mgmt.clarity.ai/report/public/file/325ddbe0-9a05-4ec2-af93-d5be4dda8625?alternate=ORIGINAL&disposition=attachment
-----------------------------------------------

*Error 2*:
(looks similar to Error 1, but line numbers are slightly different, so I
assumed it's a different error)

Exception in thread "main" java.lang.StackOverflowError
at java.base/java.util.ArrayList.indexOf(ArrayList.java:286)
at java.base/java.util.ArrayList.contains(ArrayList.java:275)
at
org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(COSArray.java:777)
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:788)
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:788)
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:788)
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:788)
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:788)
You can get the PDF that generates this error here:

https://independence.mgmt.clarity.ai/report/public/file/d7ba9150-17d9-40e7-a737-b888a834d7d8?alternate=ORIGINAL&disposition=attachment
If you prefer, I can open the Jira tickets myself, but I don't know what
to
put in every issue field. (components, labels, etc)

Thanks,
     Joan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to