This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 213587, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 Beta (Build 201306132201) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b12 OS: Mac OS X User Comments: GUEST: When I was adding a new Tomcat server instance, I opened the file dialogue to specify a private configuration location. In the dialog there I opened the directory tree up to the NetBeans configuration base directory and selected that directory. Now I clicked on the button to create a new directory (for the Tomcat Base) and got this exception. host: When I was adding a new Tomcat server instance, I opened the file dialogue to specify a private configuration location. In the dialog there I opened the directory tree up to the NetBeans configuration base directory and selected that directory. Now I clicked on the button to create a new directory (for the Tomcat Base) and got this exception. Stacktrace: java.lang.NullPointerException at javax.swing.plaf.basic.BasicTreeUI.startEditing(BasicTreeUI.java:2123) at javax.swing.plaf.basic.BasicTreeUI.startEditingAtPath(BasicTreeUI.java:619) at javax.swing.JTree.startEditingAtPath(JTree.java:2390) at org.netbeans.swing.dirchooser.DirectoryChooserUI.applyEdit(DirectoryChooserUI.java:1719) at org.netbeans.swing.dirchooser.DirectoryChooserUI.access$1600(DirectoryChooserUI.java:111) at org.netbeans.swing.dirchooser.DirectoryChooserUI$15$1.run(DirectoryChooserUI.java:1702)
Created attachment 135871 [details] stacktrace
Is this reproducible for you? I cannot reproduce on Linux (not even on Mac) with JDK1.7u21. Looks like a JDK problem
Created attachment 135935 [details] stacktrace Trying to add a directory for Tomcat's private configuration
It is sporadically reproducible, i.e. it does not always happen and I cannot pinpoint the conditions to reproduce it.
Created attachment 136064 [details] Messages Log
After a clean install of the latest NetBeans full bundle I could finally "replay" the issue. Therefore I was able to attache the necessary messages.log to the issue.
same problem as in bug #226248 BasicTreeUI,getPathBounds(tree, path) called from startEditing/ returns null and the return value is not checked *** This bug has been marked as a duplicate of bug 226248 ***