ICEpdf
  1. ICEpdf
  2. PDF-551

EmptyStackException thrown when trying to render PDF

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4, 5.0.0 beta1
    • Fix Version/s: 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:

      Description

      The following error stack trace is thrown when rendering a PDF in 4.3.4:

      java.util.EmptyStackException
      at java.util.Stack.peek(Stack.java:85)
      at java.util.Stack.pop(Stack.java:67)
      at org.icepdf.core.util.ContentParser.consume_G(ContentParser.java:1532)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:613)
      at org.icepdf.core.pobjects.Page.init(Page.java:372)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1072)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      The same PDF file does show some images when testing in 5.0.0 BETA but not the full page.

        Activity

        Hide
        Arran Mccullough added a comment -

        Sample PDF file uploaded to: \\iceads1\support\PDF\500\551

        Show
        Arran Mccullough added a comment - Sample PDF file uploaded to: \\iceads1\support\PDF\500\551
        Hide
        Patrick Corless added a comment -

        Content parser patch as made to correct correct for "S/GS1 gs" String. The string should read "S /GS1 gs".

        Show
        Patrick Corless added a comment - Content parser patch as made to correct correct for "S/GS1 gs" String. The string should read "S /GS1 gs".

          People

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

            Dates

            • Created:
              Updated:
              Resolved: