Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0_P01
-
Fix Version/s: 6.3
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:6.0.0 P03
-
Support Case References:Support Case #13553 - https://icesoft.my.salesforce.com/5007000001OFEG7
Description
With the provided PDF file the following error is thrown preventing the PDF from rendering:
WARNING: Error initiating page: 0
java.lang.NullPointerException
at org.icepdf.core.pobjects.annotations.TextAnnotation.resetAppearanceStream(TextAnnotation.java:251)
at org.icepdf.core.pobjects.annotations.Annotation.resetAppearanceStream(Annotation.java:1783)
at org.icepdf.core.pobjects.annotations.Annotation.resetNullAppearanceStream(Annotation.java:847)
at org.icepdf.core.pobjects.annotations.TextAnnotation.init(TextAnnotation.java:152)
at org.icepdf.core.pobjects.Page.initPageAnnotations(Page.java:299)
at org.icepdf.core.pobjects.Page.init(Page.java:341)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1167)
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)
WARNING: Error initiating page: 0
java.lang.NullPointerException
at org.icepdf.core.pobjects.annotations.TextAnnotation.resetAppearanceStream(TextAnnotation.java:251)
at org.icepdf.core.pobjects.annotations.Annotation.resetAppearanceStream(Annotation.java:1783)
at org.icepdf.core.pobjects.annotations.Annotation.resetNullAppearanceStream(Annotation.java:847)
at org.icepdf.core.pobjects.annotations.TextAnnotation.init(TextAnnotation.java:152)
at org.icepdf.core.pobjects.Page.initPageAnnotations(Page.java:299)
at org.icepdf.core.pobjects.Page.init(Page.java:341)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1167)
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
Arran Mccullough
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46249 | Thu Nov 19 13:39:40 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/TextAnnotation.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46250 | Thu Nov 19 13:40:23 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/annotations/TextAnnotation.java
MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java |
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.0.1 [ 12071 ] | |
Fix Version/s | 6.1 [ 12070 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46251 | Thu Nov 19 14:34:50 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46252 | Thu Nov 19 14:35:26 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
|
Patrick Corless
made changes -
Fix Version/s | 6.0.1 [ 12071 ] |
Patrick Corless
made changes -
Fix Version/s | 6.0.2 [ 12971 ] | |
Fix Version/s | 6.1 [ 12070 ] |
Patrick Corless
made changes -
Fix Version/s | 6.1 [ 12070 ] | |
Fix Version/s | 6.0.2 [ 12971 ] |
Patrick Corless
made changes -
Fix Version/s | 6.2 [ 12974 ] | |
Fix Version/s | 6.1 [ 12070 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3 [ 13093 ] | |
Fix Version/s | 6.4 [ 12974 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The PDF in question has a few issues with the encoding of the annotations and is missing a few important properties like color and valid bounds. I'll make some change to TextAnnotation class to try and recover from this state.