java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.getCommandString(DatabaseManagerSwing.java:2090) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.toString(DatabaseManagerSwing.java:2024) at org.hsqldb.util.DatabaseManagerSwing.handlePopup(DatabaseManagerSwing.java:1979) at org.hsqldb.util.DatabaseManagerSwing.mouseReleased(DatabaseManagerSwing.java:1935) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5100)

hsqldb | deccles | 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

    DatabaseManagerSwing right-click menus for tree

    hsqldb | 1 decade ago | deccles
    java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.getCommandString(DatabaseManagerSwing.java:2090) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.toString(DatabaseManagerSwing.java:2024) at org.hsqldb.util.DatabaseManagerSwing.handlePopup(DatabaseManagerSwing.java:1979) at org.hsqldb.util.DatabaseManagerSwing.mouseReleased(DatabaseManagerSwing.java:1935) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5100)

    Root Cause Analysis

    1. java.util.NoSuchElementException

      node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.getCommandString(DatabaseManagerSwing.java:2090) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.toString(DatabaseManagerSwing.java:2024) at org.hsqldb.util.DatabaseManagerSwing.handlePopup(DatabaseManagerSwing.java:1979) at org.hsqldb.util.DatabaseManagerSwing.mouseReleased(DatabaseManagerSwing.java:1935) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5100)

      at java.awt.Component.processEvent()
    2. Java RT
      Container.processEvent
      1. java.awt.Component.processEvent(Component.java:4897)
      2. java.awt.Container.processEvent(Container.java:1569)
      2 frames