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 netbeans.org by Unknown author, 1 year ago
javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode
java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.swing.dirchooser.DirectoryNode	at org.netbeans.swing.dirchooser.DirectoryChooserUI$NewDirectoryAction.actionPerformed(DirectoryChooserUI.java:2364)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)