java.lang.NullPointerException

Coderanch | naved momin | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    null pointer exception while closing a node of jtree

    Coderanch | 5 years ago | naved momin
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at FTPClient.JTreeWithFTP.valueChanged()
    2. FTPClient
      JTreeWithFTP.valueChanged
      1. FTPClient.JTreeWithFTP.valueChanged(JTreeWithFTP.java:808)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.JTree.fireValueChanged(JTree.java:2820)
      2. javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3191)
      3. javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
      4. javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
      5. javax.swing.tree.DefaultTreeSelectionModel.removeSelectionPaths(DefaultTreeSelectionModel.java:497)
      6. javax.swing.JTree.removeDescendantSelectedPaths(JTree.java:3516)
      7. javax.swing.JTree.setExpandedState(JTree.java:3404)
      8. javax.swing.JTree.collapsePath(JTree.java:2188)
      9. javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2215)
      10. javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2191)
      11. javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2149)
      12. javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3511)
      13. javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3459)
      14. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
      15. java.awt.Component.processMouseEvent(Component.java:6286)
      16. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      17. java.awt.Component.processEvent(Component.java:6054)
      18. java.awt.Container.processEvent(Container.java:2041)
      19. java.awt.Component.dispatchEventImpl(Component.java:4652)
      20. java.awt.Container.dispatchEventImpl(Container.java:2099)
      21. java.awt.Component.dispatchEvent(Component.java:4482)
      22. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      23. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
      24. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      25. java.awt.Container.dispatchEventImpl(Container.java:2085)
      26. java.awt.Window.dispatchEventImpl(Window.java:2478)
      27. java.awt.Component.dispatchEvent(Component.java:4482)
      28. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      29. java.awt.EventQueue.access$000(EventQueue.java:85)
      30. java.awt.EventQueue$1.run(EventQueue.java:603)
      31. java.awt.EventQueue$1.run(EventQueue.java:601)
      32. java.security.AccessController.doPrivileged(Native Method)
      33. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      34. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      35. java.awt.EventQueue$2.run(EventQueue.java:617)
      36. java.awt.EventQueue$2.run(EventQueue.java:615)
      37. java.security.AccessController.doPrivileged(Native Method)
      38. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      39. java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      40. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      41. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      42. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      43. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      44. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      45. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      45 frames