Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6_P01, 5.0.7
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #12987 - https://icesoft.my.salesforce.com/5007000000fGFFi
Description
When rendering the provided PDF file, the following error is thrown and the PDF fails to render:
java.lang.ClassCastException: org.icepdf.core.pobjects.functions.postscript.Expression cannot be cast to java.lang.Float
at org.icepdf.core.pobjects.functions.postscript.OperatorFactory$18.eval(OperatorFactory.java:328)
at org.icepdf.core.pobjects.functions.postscript.Lexer.operandStart(Lexer.java:225)
at org.icepdf.core.pobjects.functions.postscript.Lexer.parse(Lexer.java:112)
at org.icepdf.core.pobjects.functions.Function_4.calculate(Function_4.java:95)
at org.icepdf.core.pobjects.graphics.Separation.getColor(Separation.java:179)
at org.icepdf.core.util.content.AbstractContentParser.consume_sc(AbstractContentParser.java:414)
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:1065)
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)
java.lang.ClassCastException: org.icepdf.core.pobjects.functions.postscript.Expression cannot be cast to java.lang.Float
at org.icepdf.core.pobjects.functions.postscript.OperatorFactory$18.eval(OperatorFactory.java:328)
at org.icepdf.core.pobjects.functions.postscript.Lexer.operandStart(Lexer.java:225)
at org.icepdf.core.pobjects.functions.postscript.Lexer.parse(Lexer.java:112)
at org.icepdf.core.pobjects.functions.Function_4.calculate(Function_4.java:95)
at org.icepdf.core.pobjects.graphics.Separation.getColor(Separation.java:179)
at org.icepdf.core.util.content.AbstractContentParser.consume_sc(AbstractContentParser.java:414)
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:1065)
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
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.1 [ 10675 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |