java.util.EmptyStackException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 5 months ago
  1. 0

    When rendering the provided PDF file the following exceptions are thrown and the content of the PDF is rendered blank: WARNING: Fatal error parsing PDF file 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.Parser.getObject(Parser.java:144) at org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:73) at org.icepdf.core.util.Library.getObject(Library.java:166) at org.icepdf.core.pobjects.PageTree.getPageOrPagesPotentiallyNotInitedFromReferenceAt(PageTree.java:282) at org.icepdf.core.pobjects.PageTree.getPagePotentiallyNotInitedByRecursiveIndex(PageTree.java:301) at org.icepdf.core.pobjects.PageTree.getPage(PageTree.java:381) at org.icepdf.ri.common.views.PageViewComponentImpl.getPage(PageViewComponentImpl.java:336) at org.icepdf.ri.common.views.PageViewComponentImpl$DirtyTimerAction.actionPerformed(PageViewComponentImpl.java:1265) at javax.swing.Timer.fireActionPerformed(Timer.java:312) at javax.swing.Timer$DoPostEvent.run(Timer.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    ICEsoft JIRA Issue Tracker | 5 months ago | Arran Mccullough
    java.util.EmptyStackException
  2. 0

    binary Expression tree, emptyStackException (java)

    Stack Overflow | 4 years ago | Navid Koochooloo
    java.util.EmptyStackException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    EmptyStackException for Formula parsing in jexcel

    Stack Overflow | 4 years ago | user1610584
    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
    PageTree.getPage
    1. org.icepdf.core.util.Parser.getObject(Parser.java:144)
    2. org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:73)
    3. org.icepdf.core.util.Library.getObject(Library.java:166)
    4. org.icepdf.core.pobjects.PageTree.getPageOrPagesPotentiallyNotInitedFromReferenceAt(PageTree.java:282)
    5. org.icepdf.core.pobjects.PageTree.getPagePotentiallyNotInitedByRecursiveIndex(PageTree.java:301)
    6. org.icepdf.core.pobjects.PageTree.getPage(PageTree.java:381)
    6 frames
  4. org.icepdf.ri
    PageViewComponentImpl$DirtyTimerAction.actionPerformed
    1. org.icepdf.ri.common.views.PageViewComponentImpl.getPage(PageViewComponentImpl.java:336)
    2. org.icepdf.ri.common.views.PageViewComponentImpl$DirtyTimerAction.actionPerformed(PageViewComponentImpl.java:1265)
    2 frames
  5. Java RT
    EventDispatchThread.run
    1. javax.swing.Timer.fireActionPerformed(Timer.java:312)
    2. javax.swing.Timer$DoPostEvent.run(Timer.java:244)
    3. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    4. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    5. java.awt.EventQueue.access$200(EventQueue.java:103)
    6. java.awt.EventQueue$3.run(EventQueue.java:694)
    7. java.awt.EventQueue$3.run(EventQueue.java:692)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    10. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    11. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    12. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    13. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    14. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    15. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    16. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    16 frames