Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.3
-
Fix Version/s: 6.2
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13956 - https://icesoft.my.salesforce.com/5007000001fu7cb
Description
With the provided PDF file, an NPE is thrown and some of the content in the is not rendered.
Error stack traces:
Dec 01, 2016 2:19:36 PM org.icepdf.core.util.content.NContentParser parse
WARNING: Error parsing content stream.
java.lang.NullPointerException
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.init(ShadingType2Pattern.java:137)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1895)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1100)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:196)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:562)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:403)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1180)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Dec 01, 2016 2:19:36 PM org.icepdf.core.util.content.NContentParser parse
WARNING: Error parsing content stream.
java.lang.NullPointerException
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.init(ShadingType2Pattern.java:137)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1895)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1100)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:403)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1180)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Error stack traces:
Dec 01, 2016 2:19:36 PM org.icepdf.core.util.content.NContentParser parse
WARNING: Error parsing content stream.
java.lang.NullPointerException
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.init(ShadingType2Pattern.java:137)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1895)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1100)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:196)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:562)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:403)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1180)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Dec 01, 2016 2:19:36 PM org.icepdf.core.util.content.NContentParser parse
WARNING: Error parsing content stream.
java.lang.NullPointerException
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.init(ShadingType2Pattern.java:137)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1895)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1100)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:403)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1180)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49768 | Thu Dec 29 11:35:13 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType1Pattern.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType3Pattern.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType2Pattern.java MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/functions/Function_4.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49767 | Thu Dec 29 11:34:54 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/functions/Function_4.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType1Pattern.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType3Pattern.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType2Pattern.java |