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

mobac | habanut | 4 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

    Exception when deleting waypoint of GPX track

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

    JTree problem with parents

    Coderanch | 5 years ago | Olivier Legat
    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(DefaultTreeModel.java:252)
      1 frame
    3. mobac.gui.panels
      JGpxPanel.removeWpt
      1. mobac.gui.panels.JGpxPanel.removeWpt(JGpxPanel.java:226)
      1 frame
    4. mobac.gui.actions
      GpxElementListener.mousePressed
      1. mobac.gui.actions.GpxElementListener.removeEntry(GpxElementListener.java:110)
      2. mobac.gui.actions.GpxElementListener.handleClick(GpxElementListener.java:81)
      3. mobac.gui.actions.GpxElementListener.mousePressed(GpxElementListener.java:67)
      3 frames
    5. Java RT
      EventQueue.dispatchEvent
      1. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
      2. java.awt.Component.processMouseEvent(Component.java:6200)
      3. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      4. java.awt.Component.processEvent(Component.java:5968)
      5. java.awt.Container.processEvent(Container.java:2105)
      6. java.awt.Component.dispatchEventImpl(Component.java:4564)
      7. java.awt.Container.dispatchEventImpl(Container.java:2163)
      8. java.awt.Component.dispatchEvent(Component.java:4390)
      9. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
      10. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4122)
      11. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
      12. java.awt.Container.dispatchEventImpl(Container.java:2149)
      13. java.awt.Window.dispatchEventImpl(Window.java:2478)
      14. java.awt.Component.dispatchEvent(Component.java:4390)
      15. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
      16. java.awt.EventQueue.access$000(EventQueue.java:96)
      17. java.awt.EventQueue$1.run(EventQueue.java:608)
      18. java.awt.EventQueue$1.run(EventQueue.java:606)
      19. java.security.AccessController.doPrivileged(Native Method)
      20. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
      21. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
      22. java.awt.EventQueue$2.run(EventQueue.java:622)
      23. java.awt.EventQueue$2.run(EventQueue.java:620)
      24. java.security.AccessController.doPrivileged(Native Method)
      25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
      26. java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
      26 frames
    6. mobac.utilities
      GUIExceptionHandler$EventQueueProxy.dispatchEvent
      1. mobac.utilities.GUIExceptionHandler$EventQueueProxy.dispatchEvent(GUIExceptionHandler.java:299)
      1 frame
    7. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
      6 frames