Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0_P01
-
Fix Version/s: 6.0.1
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13612 - https://icesoft.my.salesforce.com/5007000001TqtUS
Description
The following error is thrown when rendering the provided PDF file:
FINEST: Error parsing text block
java.lang.NullPointerException
at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:811)
at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:178)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:554)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:384)
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)
This is preventing the text from being displayed on the PDF.
FINEST: Error parsing text block
java.lang.NullPointerException
at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:811)
at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:178)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:554)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:384)
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)
This is preventing the text from being displayed on the PDF.
Activity
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.0.1 [ 12071 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46205 | Tue Nov 10 10:38:07 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46206 | Tue Nov 10 10:38:17 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Really strange PDF encoding which we haven't seen before. The fonts for this PDF are encoded as direct object instead of referenced. I can't find anything in the spec as to the correctness of this grammar but its really not a big deal as its pretty easy to parse correctly.