Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1
-
Fix Version/s: 4.1.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
Description
The customer has reported that the test PDF renders as black but I have been unable to confirm that behavior. When using 4.1 Pro, the PDF "renders" but the print is not legible and very faint. I also see the following exception thrown:
FINE: Error painting shapes.
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.icepdf.core.pobjects.graphics.Shapes.paint(Shapes.java:325)
at org.icepdf.core.pobjects.Page.paint(Page.java:500)
FINE: Error painting shapes.
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.icepdf.core.pobjects.graphics.Shapes.paint(Shapes.java:325)
at org.icepdf.core.pobjects.Page.paint(Page.java:500)
After revisiting this issue I updated the JPEG2000 code to apply colour space information to the image's raster. This seems to fix all our know JPEG2000 colour problems, all our test files render more or less correctly.