Details
Description
Stack trace is as follows:
Nov 20, 2013 12:21:04 PM org.icepdf.core.pobjects.graphics.ImageStreamReference call
WARNING: Error loading image: 48 0R Image stream= {BitsPerComponent=1, Filter=CCITTFaxDecode, Subtype=Image, Type=XObject, Length=35021, Height=2221, Width=1728, DecodeParms=49 0R, ColorSpace=DeviceGray} 48 0R
java.lang.NullPointerException
at org.icepdf.core.pobjects.security.StandardSecurityHandler.getEncryptionInputStream(StandardSecurityHandler.java:213)
at org.icepdf.core.pobjects.security.SecurityManager.getEncryptionInputStream(SecurityManager.java:238)
at org.icepdf.core.pobjects.Stream.getDecodedInputStream(Stream.java:230)
at org.icepdf.core.pobjects.Stream.getDecodedStreamBytes(Stream.java:168)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:370)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:295)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:70)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:39)
I can provide an example PDF which produces this error, but cannot attach it to the JIRA ticket as it contains confidential information.
Thanks,
Aleem.
Nov 20, 2013 12:21:04 PM org.icepdf.core.pobjects.graphics.ImageStreamReference call
WARNING: Error loading image: 48 0R Image stream= {BitsPerComponent=1, Filter=CCITTFaxDecode, Subtype=Image, Type=XObject, Length=35021, Height=2221, Width=1728, DecodeParms=49 0R, ColorSpace=DeviceGray} 48 0R
java.lang.NullPointerException
at org.icepdf.core.pobjects.security.StandardSecurityHandler.getEncryptionInputStream(StandardSecurityHandler.java:213)
at org.icepdf.core.pobjects.security.SecurityManager.getEncryptionInputStream(SecurityManager.java:238)
at org.icepdf.core.pobjects.Stream.getDecodedInputStream(Stream.java:230)
at org.icepdf.core.pobjects.Stream.getDecodedStreamBytes(Stream.java:168)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:370)
at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:295)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:70)
at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:39)
I can provide an example PDF which produces this error, but cannot attach it to the JIRA ticket as it contains confidential information.
Thanks,
Aleem.
Issue Links
- duplicates
-
PDF-668 NPE on opening PDF
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion