java.lang.IllegalStateException: node does not allow children

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via compiere by sureeraya
, 1 year ago
node does not allow children
java.lang.IllegalStateException: node does not allow children
at javax.swing.tree.DefaultMutableTreeNode.insert(DefaultMutableTreeNode.java:161)
at javax.swing.tree.DefaultMutableTreeNode.add(DefaultMutableTreeNode.java:396)
at org.compiere.model.MTree.checkBuffer(MTree.java:393)
at org.compiere.model.MTree.loadNodes(MTree.java:337)
at org.compiere.model.MTree.loadTree(MTree.java:252)
at org.compiere.model.MTree.(MTree.java:60)
at org.compiere.grid.tree.VTreePanel.initTree(VTreePanel.java:103)
at org.compiere.grid.GridController.activate(GridController.java:495)
at org.compiere.apps.APanel.stateChanged(APanel.java:888)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
at javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabbedPaneUI.java:3051)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:217)
at java.awt.Component.processMouseEvent(Component.java:5131)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3162)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.