java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    A NullPointerException is thrown when trying to re-open a collapsed annotation with the provided PDF file. To reproduce the issue: - Add an annotation to the page. - Double click to open the popup - Minimize the popup. - Double click the annotation, the NPE is thrown and can't get the popup open again. Stack trace: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.ri.common.views.annotations.MarkupAnnotationComponent.mouseClicked(MarkupAnnotationComponent.java:92) at java.awt.Component.processMouseEvent(Component.java:6519) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) at java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) 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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) 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 | 8 months ago | Arran Mccullough
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.icepdf.ri.common.views.annotations.MarkupAnnotationComponent.mouseClicked()
    2. org.icepdf.ri
      MarkupAnnotationComponent.mouseClicked
      1. org.icepdf.ri.common.views.annotations.MarkupAnnotationComponent.mouseClicked(MarkupAnnotationComponent.java:92)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. java.awt.Component.processMouseEvent(Component.java:6519)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
      3. java.awt.Component.processEvent(Component.java:6281)
      4. java.awt.Container.processEvent(Container.java:2229)
      5. java.awt.Component.dispatchEventImpl(Component.java:4872)
      6. java.awt.Container.dispatchEventImpl(Container.java:2287)
      7. java.awt.Component.dispatchEvent(Component.java:4698)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      11. java.awt.Container.dispatchEventImpl(Container.java:2273)
      12. java.awt.Window.dispatchEventImpl(Window.java:2719)
      13. java.awt.Component.dispatchEvent(Component.java:4698)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      15. java.awt.EventQueue.access$200(EventQueue.java:103)
      16. java.awt.EventQueue$3.run(EventQueue.java:694)
      17. java.awt.EventQueue$3.run(EventQueue.java:692)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      21. java.awt.EventQueue$4.run(EventQueue.java:708)
      22. java.awt.EventQueue$4.run(EventQueue.java:706)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      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