Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.5
-
Fix Version/s: 5.0.6
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:N/A
Description
There is a race condition on field colourSpace in org.icepdf.core.pobjects.ImageStream.getImage(Color fill, Resources resources) causing occasional NullPointerException.
Seems to be introduced in svn revision 38841 (5.0.x branch)
Fix: make colourSpace local within getImage() and update field at the end.
(I can provide patch, but I haven't bothered with Contributor Agreement thing yet and it's a trivial fix).
Seems to be introduced in svn revision 38841 (5.0.x branch)
Fix: make colourSpace local within getImage() and update field at the end.
(I can provide patch, but I haven't bothered with Contributor Agreement thing yet and it's a trivial fix).
Could you post a sample file in which we can test our fix against?