Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.3
-
Fix Version/s: 5.0.4
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
Description
The following error stack trace is thrown when rendering the provided customer PDF (this doesn't seem to be preventing the content from rendering):
WARNING: Error parsing content stream.
java.lang.ArrayIndexOutOfBoundsException: 0
at org.icepdf.core.util.content.a.b(Unknown Source)
at org.icepdf.core.util.content.a.a(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:368)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1039)
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:722)
WARNING: Error parsing content stream.
java.lang.ArrayIndexOutOfBoundsException: 0
at org.icepdf.core.util.content.a.b(Unknown Source)
at org.icepdf.core.util.content.a.a(Unknown Source)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:368)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1039)
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:722)
Issue Links
- is duplicated by
-
PDF-823 Pro content parser is failing on empty dictionary definition.
-
- Closed
-
Thanks for posting the file. I've created a new issue of this, http://jira.icesoft.org/browse/PDF-823 . I fix for it will be in our next patch release.