ICEpdf
  1. ICEpdf
  2. PDF-1123

Error Processing Type 4 definition - EmptyStackException

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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

      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)

        Activity

        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
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/functions/Function_4.java
        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
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/functions/Function_4.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: