Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.24
-
None
-
None
Description
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)
Attachments
Issue Links
- is duplicated by
-
PDFBOX-5315 Stack overflow in PDColorSpace.create()
- Closed