Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.4
-
Fix Version/s: 5.0.5
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
Description
The following error stack trace is thrown when trying to render the provided PDF file:
WARNING: Error parsing content stream.
java.lang.ClassCastException: org.icepdf.core.pobjects.graphics.ICCBased cannot be cast to java.util.HashMap
at org.icepdf.core.pobjects.graphics.PColorSpace.getHashMap(PColorSpace.java:162)
at org.icepdf.core.pobjects.graphics.PColorSpace.getColorSpace(PColorSpace.java:127)
at org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:92)
at org.icepdf.core.util.content.AbstractContentParser.consume_cs(AbstractContentParser.java:241)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:370)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1064)
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.ClassCastException: org.icepdf.core.pobjects.graphics.ICCBased cannot be cast to java.util.HashMap
at org.icepdf.core.pobjects.graphics.PColorSpace.getHashMap(PColorSpace.java:162)
at org.icepdf.core.pobjects.graphics.PColorSpace.getColorSpace(PColorSpace.java:127)
at org.icepdf.core.pobjects.Resources.getColorSpace(Resources.java:92)
at org.icepdf.core.util.content.AbstractContentParser.consume_cs(AbstractContentParser.java:241)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:370)
at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1064)
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)
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38656 | Wed Oct 23 10:52:15 MDT 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/PColorSpace.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38655 | Wed Oct 23 10:52:02 MDT 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/PColorSpace.java |