java.lang.NullPointerException

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

    When rendering the provided PDF file the following NPE is thrown. This NPE isn't thrown with the 5.1.2 P0X releases just the recent 6.0.0, 6.0.1, and 6.0.2 releases. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream(AbstractWidgetAnnotation.java:114) at org.icepdf.core.pobjects.annotations.Annotation.render(Annotation.java:1270) at org.icepdf.ri.common.views.PageViewComponentImpl.paintAnnotations(PageViewComponentImpl.java:544) at org.icepdf.ri.common.views.PageViewComponentImpl.paintComponent(PageViewComponentImpl.java:473) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at org.icepdf.ri.common.views.PageViewDecorator.paint(PageViewDecorator.java:140) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677) 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) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream(AbstractWidgetAnnotation.java:114) at org.icepdf.core.pobjects.annotations.Annotation.render(Annotation.java:1270) at org.icepdf.ri.common.views.PageViewComponentImpl.paintAnnotations(PageViewComponentImpl.java:544) at org.icepdf.ri.common.views.PageViewComponentImpl.paintComponent(PageViewComponentImpl.java:473) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at org.icepdf.ri.common.views.PageViewDecorator.paint(PageViewDecorator.java:140) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677) 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 | 11 months ago | Arran Mccullough
    java.lang.NullPointerException
  2. 0

    When rendering the provided PDF file the following NPE is thrown. This NPE isn't thrown with the 5.1.2 P0X releases just the recent 6.0.0, 6.0.1, and 6.0.2 releases. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream(AbstractWidgetAnnotation.java:114) at org.icepdf.core.pobjects.annotations.Annotation.render(Annotation.java:1270) at org.icepdf.ri.common.views.PageViewComponentImpl.paintAnnotations(PageViewComponentImpl.java:544) at org.icepdf.ri.common.views.PageViewComponentImpl.paintComponent(PageViewComponentImpl.java:473) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at org.icepdf.ri.common.views.PageViewDecorator.paint(PageViewDecorator.java:140) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677) 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) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream(AbstractWidgetAnnotation.java:114) at org.icepdf.core.pobjects.annotations.Annotation.render(Annotation.java:1270) at org.icepdf.ri.common.views.PageViewComponentImpl.paintAnnotations(PageViewComponentImpl.java:544) at org.icepdf.ri.common.views.PageViewComponentImpl.paintComponent(PageViewComponentImpl.java:473) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JLayeredPane.paint(JLayeredPane.java:585) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at org.icepdf.ri.common.views.PageViewDecorator.paint(PageViewDecorator.java:140) at javax.swing.JComponent.paintChildren(JComponent.java:887) at javax.swing.JComponent.paint(JComponent.java:1063) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677) 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 | 11 months ago | Arran Mccullough
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.lang.NullPointerException

      No message provided

      at org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream()
    2. org.icepdf.core
      Annotation.render
      1. org.icepdf.core.pobjects.annotations.AbstractWidgetAnnotation.renderAppearanceStream(AbstractWidgetAnnotation.java:114)
      2. org.icepdf.core.pobjects.annotations.Annotation.render(Annotation.java:1270)
      2 frames
    3. org.icepdf.ri
      PageViewComponentImpl.paintComponent
      1. org.icepdf.ri.common.views.PageViewComponentImpl.paintAnnotations(PageViewComponentImpl.java:544)
      2. org.icepdf.ri.common.views.PageViewComponentImpl.paintComponent(PageViewComponentImpl.java:473)
      2 frames
    4. Java RT
      JComponent.paint
      1. javax.swing.JComponent.paint(JComponent.java:1054)
      2. javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
      3. javax.swing.JComponent.paintChildren(JComponent.java:887)
      4. javax.swing.JComponent.paint(JComponent.java:1063)
      4 frames
    5. org.icepdf.ri
      PageViewDecorator.paint
      1. org.icepdf.ri.common.views.PageViewDecorator.paint(PageViewDecorator.java:140)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paintChildren(JComponent.java:887)
      2. javax.swing.JComponent.paint(JComponent.java:1063)
      3. javax.swing.JComponent.paintToOffscreen(JComponent.java:5219)
      4. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
      5. javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
      6. javax.swing.RepaintManager.paint(RepaintManager.java:1249)
      7. javax.swing.JComponent._paintImmediately(JComponent.java:5167)
      8. javax.swing.JComponent.paintImmediately(JComponent.java:4978)
      9. javax.swing.RepaintManager$3.run(RepaintManager.java:808)
      10. javax.swing.RepaintManager$3.run(RepaintManager.java:796)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      13. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
      14. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
      15. javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
      16. javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
      17. javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
      18. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      20. java.awt.EventQueue.access$200(EventQueue.java:103)
      21. java.awt.EventQueue$3.run(EventQueue.java:694)
      22. java.awt.EventQueue$3.run(EventQueue.java:692)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      26. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      27. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      29. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      31. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      31 frames