Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 6.2, 6.2.1_P01, 6.2.2
-
Fix Version/s: 6.4
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:
Description
With the provided PDF file, the following error stack trace is thrown:
WARNING: Error Processing Type 4 definition
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:102)
at org.icepdf.core.pobjects.functions.postscript.OperatorFactory$12.eval(OperatorFactory.java:238)
at org.icepdf.core.pobjects.functions.postscript.Lexer.operandStart(Lexer.java:234)
at org.icepdf.core.pobjects.functions.postscript.Lexer.parse(Lexer.java:115)
at org.icepdf.core.pobjects.functions.Function_4.calculate(Function_4.java:94)
at org.icepdf.core.pobjects.graphics.ShadingPattern.calculateValues(ShadingPattern.java:255)
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.calculateColour(ShadingType2Pattern.java:253)
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.calculateColorPoints(ShadingType2Pattern.java:202)
at org.icepdf.core.pobjects.graphics.ShadingType1Pattern.init(ShadingType1Pattern.java:129)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1912)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1112)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:197)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:563)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:399)
at org.icepdf.ri.common.views.AbstractPageViewComponent$PageImageCaptureTask.call(AbstractPageViewComponent.java:410)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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 Processing Type 4 definition
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:102)
at org.icepdf.core.pobjects.functions.postscript.OperatorFactory$12.eval(OperatorFactory.java:238)
at org.icepdf.core.pobjects.functions.postscript.Lexer.operandStart(Lexer.java:234)
at org.icepdf.core.pobjects.functions.postscript.Lexer.parse(Lexer.java:115)
at org.icepdf.core.pobjects.functions.Function_4.calculate(Function_4.java:94)
at org.icepdf.core.pobjects.graphics.ShadingPattern.calculateValues(ShadingPattern.java:255)
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.calculateColour(ShadingType2Pattern.java:253)
at org.icepdf.core.pobjects.graphics.ShadingType2Pattern.calculateColorPoints(ShadingType2Pattern.java:202)
at org.icepdf.core.pobjects.graphics.ShadingType1Pattern.init(ShadingType1Pattern.java:129)
at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1912)
at org.icepdf.core.util.content.AbstractContentParser.consume_f(AbstractContentParser.java:1112)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Form.init(Form.java:197)
at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:563)
at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
at org.icepdf.core.pobjects.Page.init(Page.java:399)
at org.icepdf.ri.common.views.AbstractPageViewComponent$PageImageCaptureTask.call(AbstractPageViewComponent.java:410)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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 -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Support Case References | Support Case #14019 - https://icesoft.my.salesforce.com/5007000001hGMa8 |
Support Case #14019 - https://icesoft.my.salesforce.com/5007000001hGMa8
Support Case #14036 - https://icesoft.my.salesforce.com/5007000001hkEHP |
Patrick Corless
made changes -
Fix Version/s | 6.2.3 [ 13098 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3 [ 13093 ] | |
Fix Version/s | 6.2.3 [ 13098 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51357 | Mon Mar 20 09:47:25 MDT 2017 | patrick.corless | PDF-1123 moved warning level logging to finer. |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/functions/Function_4.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51358 | Mon Mar 20 09:47:50 MDT 2017 | patrick.corless | PDF-1123 moved warning level logging to finer. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/functions/Function_4.java
|
Patrick Corless
made changes -
Fix Version/s | 6.3.1 [ 13113 ] | |
Fix Version/s | 6.3 [ 13093 ] |
Patrick Corless
made changes -
Fix Version/s | 6.4 [ 12974 ] | |
Fix Version/s | 6.3.1 [ 13113 ] |
The warning error in this can be ignored as the colour space has fallback code to get the colour from an alternate colour space. We are seeing no colour space issues with the rendered output. We could move the logging level to finest to avoid any customer concerns.