Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.2
-
Fix Version/s: 6.1.3
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13885 - https://icesoft.my.salesforce.com/5007000001eKCCo
Description
The following error strack trace is thrown when rendering the provided PDF file. This looks to be preventing the header and footer sections/images from rendering on the first page.
WARNING: Error parsing content stream.
java.lang.ClassCastException: java.util.HashMap cannot be cast to org.icepdf.core.pobjects.OptionalContents
at org.icepdf.core.pobjects.Resources.getPropertyEntry(Resources.java:366)
at org.icepdf.core.util.content.AbstractContentParser.consume_BDC(AbstractContentParser.java:1122)
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:556)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:404)
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)
WARNING: Error parsing content stream.
java.lang.ClassCastException: java.util.HashMap cannot be cast to org.icepdf.core.pobjects.OptionalContents
at org.icepdf.core.pobjects.Resources.getPropertyEntry(Resources.java:366)
at org.icepdf.core.util.content.AbstractContentParser.consume_BDC(AbstractContentParser.java:1122)
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:556)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:404)
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