java.lang.IllegalArgumentException: node does not have a parent.

Coderanch | Olivier Legat | 6 years 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

    JTree problem with parents

    Coderanch | 6 years ago | Olivier Legat
    java.lang.IllegalArgumentException: node does not have a parent.
  2. 0

    Exception when deleting waypoint of GPX track

    mobac | 4 years ago | habanut
    java.lang.IllegalArgumentException: node does not have a parent.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      node does not have a parent.

      at javax.swing.tree.DefaultTreeModel.removeNodeFromParent()
    2. Java RT
      DefaultTreeModel.removeNodeFromParent
      1. javax.swing.tree.DefaultTreeModel.removeNodeFromParent(Unknown Source)
      1 frame
    3. ueacad.view.explorer
      TreeManager.removeNode
      1. ueacad.view.explorer.TreeManager.removeNode(TreeManager.java:60)
      1 frame
    4. ueacad.view.desktop
      CanvasFrame.dispose
      1. ueacad.view.desktop.CanvasFrame.dispose(CanvasFrame.java:54)
      1 frame
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.JInternalFrame.doDefaultCloseAction(Unknown Source)
      2. javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(Unknown Source)
      3. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      4. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      5. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      6. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      7. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      8. java.awt.Component.processMouseEvent(Unknown Source)
      9. javax.swing.JComponent.processMouseEvent(Unknown Source)
      10. java.awt.Component.processEvent(Unknown Source)
      11. java.awt.Container.processEvent(Unknown Source)
      12. java.awt.Component.dispatchEventImpl(Unknown Source)
      13. java.awt.Container.dispatchEventImpl(Unknown Source)
      14. java.awt.Component.dispatchEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      17. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      18. java.awt.Container.dispatchEventImpl(Unknown Source)
      19. java.awt.Window.dispatchEventImpl(Unknown Source)
      20. java.awt.Component.dispatchEvent(Unknown Source)
      21. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      22. java.awt.EventQueue.access$000(Unknown Source)
      23. java.awt.EventQueue$1.run(Unknown Source)
      24. java.awt.EventQueue$1.run(Unknown Source)
      25. java.security.AccessController.doPrivileged(Native Method)
      26. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      27. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      28. java.awt.EventQueue$2.run(Unknown Source)
      29. java.awt.EventQueue$2.run(Unknown Source)
      30. java.security.AccessController.doPrivileged(Native Method)
      31. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      32. java.awt.EventQueue.dispatchEvent(Unknown Source)
      33. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      34. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      35. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      36. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      37. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      38. java.awt.EventDispatchThread.run(Unknown Source)
      38 frames