Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1
-
Fix Version/s: 6.1.1
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13731 - https://icesoft.my.salesforce.com/5007000001Znns7
Description
A set of PDF files have been provided by a customer. When rendering the 3rd (last) page of the PDF files the following exception is thrown:
WARNING: Error initiating page: 2
java.lang.ClassCastException: java.lang.String cannot be cast to org.icepdf.core.pobjects.Reference
at org.icepdf.core.pobjects.Page.initPageContents(Page.java:230)
at org.icepdf.core.pobjects.Page.init(Page.java:363)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1169)
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: 2
java.lang.ClassCastException: java.lang.String cannot be cast to org.icepdf.core.pobjects.Reference
at org.icepdf.core.pobjects.Page.initPageContents(Page.java:230)
at org.icepdf.core.pobjects.Page.init(Page.java:363)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1169)
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 -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.1.1 [ 12975 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48515 | Wed Mar 16 15:32:14 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48516 | Wed Mar 16 15:32:41 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Page.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The page's content array has an extra entry with a value of the string "null". This is technically against the specification but none the less easy to adjust for.
Check in a fix for both the 6.1 branch and trunk.