java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode

netbeans.org | 6 months 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

    Bug 184476 – [69cat] ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode

    netbeans.org | 6 months ago
    java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode

    Root Cause Analysis

    1. java.lang.ClassCastException

      javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode

      at org.netbeans.swing.dirchooser.DirectoryChooserUI$NewDirectoryAction.actionPerformed()
    2. org.netbeans.swing
      DirectoryChooserUI$NewDirectoryAction.actionPerformed
      1. org.netbeans.swing.dirchooser.DirectoryChooserUI$NewDirectoryAction.actionPerformed(DirectoryChooserUI.java:2364)
      1 frame
    3. Java RT
      BasicButtonListener.mouseReleased
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      5 frames