John Petersam created PDFBOX-5467:
-------------------------------------
Summary: StackOverflowError (PDColorSpace.java:224)
Key: PDFBOX-5467
URL: https://issues.apache.org/jira/browse/PDFBOX-5467
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 2.0.24
Reporter: John Petersam
We received a document in our production system that throws a
StackOverFlowError. Looking at the code, it appears as though it may have been
introduced with a fix for PDFBOX-4833.
Unfortunately, we do not generate the PDFs ourselves and our documents contain
sensitive information so I am unable to provide the example. I can confirm,
however, that I was able to open in Acrobat Reader and that the page has one
area of highlighted text and 3 links (one of which is an email).
*java.lang.StackOverflowError*
at org.apache.pdfbox.util.SmallMap.containsKey(SmallMap.java:113)
at org.apache.pdfbox.cos.COSDictionary.containsKey(COSDictionary:1459)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:224)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:227)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]