java.lang.IllegalStateException: node does not allow children

compiere | sureeraya | 1 decade 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

    Got Error after add more Account Elements

    compiere | 1 decade ago | sureeraya
    java.lang.IllegalStateException: node does not allow children

    Root Cause Analysis

    1. java.lang.IllegalStateException

      node does not allow children

      at javax.swing.tree.DefaultMutableTreeNode.insert()
    2. Java RT
      DefaultMutableTreeNode.add
      1. javax.swing.tree.DefaultMutableTreeNode.insert(DefaultMutableTreeNode.java:161)
      2. javax.swing.tree.DefaultMutableTreeNode.add(DefaultMutableTreeNode.java:396)
      2 frames
    3. org.compiere.model
      MTree.<init>
      1. org.compiere.model.MTree.checkBuffer(MTree.java:393)
      2. org.compiere.model.MTree.loadNodes(MTree.java:337)
      3. org.compiere.model.MTree.loadTree(MTree.java:252)
      4. org.compiere.model.MTree.<init>(MTree.java:60)
      4 frames
    4. org.compiere.grid
      GridController.activate
      1. org.compiere.grid.tree.VTreePanel.initTree(VTreePanel.java:103)
      2. org.compiere.grid.GridController.activate(GridController.java:495)
      2 frames
    5. org.compiere.apps
      APanel.stateChanged
      1. org.compiere.apps.APanel.stateChanged(APanel.java:888)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
      2. javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
      3. javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
      4. javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
      5. javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
      6. javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
      7. javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabbedPaneUI.java:3051)
      8. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:217)
      9. java.awt.Component.processMouseEvent(Component.java:5131)
      10. java.awt.Component.processEvent(Component.java:4931)
      11. java.awt.Container.processEvent(Container.java:1566)
      12. java.awt.Component.dispatchEventImpl(Component.java:3639)
      13. java.awt.Container.dispatchEventImpl(Container.java:1623)
      14. java.awt.Component.dispatchEvent(Component.java:3480)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      16. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3162)
      17. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      18. java.awt.Container.dispatchEventImpl(Container.java:1609)
      19. java.awt.Window.dispatchEventImpl(Window.java:1590)
      20. java.awt.Component.dispatchEvent(Component.java:3480)
      21. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      22. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      26. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      26 frames