java.util.EmptyStackException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 1 year ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    When rendering the provided PDF file, the following error stack traces are thrown: Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse FINE: Parsing page content streams: 1 Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse FINER: Content = .~øC ç1 Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse WARNING: Error parsing content stream. java.lang.ClassCastException: java.lang.Float cannot be cast to org.icepdf.core.pobjects.Name at org.icepdf.core.util.content.AbstractContentParser.consume_CS(AbstractContentParser.java:244) at org.icepdf.core.util.content.NContentParser.parse(Unknown Source) at org.icepdf.core.pobjects.graphics.TilingPattern.init(TilingPattern.java:296) at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1840) at org.icepdf.core.util.content.AbstractContentParser.consume_f_star(AbstractContentParser.java:1180) at org.icepdf.core.util.content.NContentParser.parse(Unknown Source) at org.icepdf.core.pobjects.Page.init(Page.java:403) at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1169) 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) Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse FINE: Parsing page content streams: 1 Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse FINER: Content = kÛ÷ßwV° Mar 29, 2016 9:36:20 AM org.icepdf.core.util.content.NContentParser parse WARNING: Error parsing content stream. java.util.EmptyStackException at java.util.Stack.peek(Stack.java:102) at java.util.Stack.pop(Stack.java:84) at org.icepdf.core.util.content.AbstractContentParser.consume_k(AbstractContentParser.java:230) at org.icepdf.core.util.content.NContentParser.parse(Unknown Source) at org.icepdf.core.pobjects.graphics.TilingPattern.init(TilingPattern.java:296) at org.icepdf.core.util.content.AbstractContentParser.commonFill(AbstractContentParser.java:1840) at org.icepdf.core.util.content.AbstractContentParser.consume_f_star(AbstractContentParser.java:1180) at org.icepdf.core.util.content.NContentParser.parse(Unknown Source) at org.icepdf.core.pobjects.Page.init(Page.java:403) at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1169) 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) The customer is also reporting that these exceptions result in an endless loop.

    ICEsoft JIRA Issue Tracker | 8 months ago | Arran Mccullough
    java.util.EmptyStackException

  1. mauritius 6 times, last 3 months ago
  2. esaar 1 times, last 4 months ago
  3. jk 6 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.EmptyStackException

    No message provided

    at java.util.Stack.peek()
  2. Java RT
    Stack.pop
    1. java.util.Stack.peek(Stack.java:102)
    2. java.util.Stack.pop(Stack.java:84)
    2 frames
  3. org.icepdf.core
    Page.init
    1. org.icepdf.core.util.content.AbstractContentParser.consume_re(AbstractContentParser.java:1064)
    2. org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
    3. org.icepdf.core.pobjects.Page.init(Page.java:392)
    3 frames
  4. org.icepdf.ri
    PageViewComponentImpl$PageInitializer.run
    1. org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1155)
    1 frame
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames