java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 2 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    With a provided PDF file, adding a Text Annotation and then typing in the text field, causes an NPE to be thrown for every keystroke. It is also showing the text backwards, so 'test' is showing as 'tset'. Error stack trace: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.findAnnotationComponent(PopupAnnotationComponent.java:746) at org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.updateContent(PopupAnnotationComponent.java:575) at org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.insertUpdate(PopupAnnotationComponent.java:553) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:670) at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1379) at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:884) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1662) at javax.swing.JComponent.processKeyBinding(JComponent.java:2878) at javax.swing.JComponent.processKeyBindings(JComponent.java:2925) at javax.swing.JComponent.processKeyEvent(JComponent.java:2841) at java.awt.Component.processEvent(Component.java:6293) 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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1887) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727) at java.awt.Component.dispatchEventImpl(Component.java:4742) at java.awt.Container.dispatchEventImpl(Container.java:2287) 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 | 2 weeks ago | Arran Mccullough
    java.lang.NullPointerException
  2. 0

    line wrap.

    Oracle Community | 1 decade ago | 807554
    java.lang.IllegalStateException: Attempt to mutate in notification
  3. 0

    JTextField object creation fails

    Stack Overflow | 2 years ago
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    KeyReleased Event

    Oracle Community | 1 decade ago | 843805
    java.lang.IllegalStateException: Attempt to mutate in notification
  6. 0

    caretlistener

    Oracle Community | 1 decade ago | 843805
    java.lang.IllegalStateException: Attempt to mutate in notification

    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.ri.common.views.annotations.PopupAnnotationComponent.findAnnotationComponent()
    2. org.icepdf.ri
      PopupAnnotationComponent.insertUpdate
      1. org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.findAnnotationComponent(PopupAnnotationComponent.java:746)
      2. org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.updateContent(PopupAnnotationComponent.java:575)
      3. org.icepdf.ri.common.views.annotations.PopupAnnotationComponent.insertUpdate(PopupAnnotationComponent.java:553)
      3 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202)
      2. javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749)
      3. javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708)
      4. javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
      5. javax.swing.text.AbstractDocument.replace(AbstractDocument.java:670)
      6. javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1379)
      7. javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:884)
      8. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1662)
      9. javax.swing.JComponent.processKeyBinding(JComponent.java:2878)
      10. javax.swing.JComponent.processKeyBindings(JComponent.java:2925)
      11. javax.swing.JComponent.processKeyEvent(JComponent.java:2841)
      12. java.awt.Component.processEvent(Component.java:6293)
      13. java.awt.Container.processEvent(Container.java:2229)
      14. java.awt.Component.dispatchEventImpl(Component.java:4872)
      15. java.awt.Container.dispatchEventImpl(Container.java:2287)
      16. java.awt.Component.dispatchEvent(Component.java:4698)
      17. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1887)
      18. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
      19. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
      20. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
      21. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
      22. java.awt.Component.dispatchEventImpl(Component.java:4742)
      23. java.awt.Container.dispatchEventImpl(Container.java:2287)
      24. java.awt.Window.dispatchEventImpl(Window.java:2719)
      25. java.awt.Component.dispatchEvent(Component.java:4698)
      26. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      27. java.awt.EventQueue.access$200(EventQueue.java:103)
      28. java.awt.EventQueue$3.run(EventQueue.java:694)
      29. java.awt.EventQueue$3.run(EventQueue.java:692)
      30. java.security.AccessController.doPrivileged(Native Method)
      31. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      32. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      33. java.awt.EventQueue$4.run(EventQueue.java:708)
      34. java.awt.EventQueue$4.run(EventQueue.java:706)
      35. java.security.AccessController.doPrivileged(Native Method)
      36. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      37. java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      38. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      39. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      40. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      41. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      42. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      43. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      43 frames