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.
Build: NetBeans IDE Dev (Build 200810281401) VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows 2003, 5.2, amd64 User Comments: davisn: 1. Install NB 6.5 on a winXP mahince. 2. Create a personal Glassfish V3 Prelude domain to location c:\sun\domains\domain2 3. Install Glassfish V2.1 (AppServer 911) 4. Select to add a personal domain and point personal domain to location c:\sun\domains 5. Select to create a directory BUG java.lang.NullPointerException occurs at javax.swing.plaf.basic.BasicTreeUI.startEditing(BasicTreeUI.java:2064) at javax.swing.plaf.basic.BasicTreeUI.startEditingAtPath(BasicTreeUI.java:606) at javax.swing.JTree.startEditingAtPath(JTree.java:2352) at org.netbeans.swing.dirchooser.DirectoryChooserUI.applyEdit(DirectoryChooserUI.java:1534) at org.netbeans.swing.dirchooser.DirectoryChooserUI.access$1300(DirectoryChooserUI.java:105) [catch] at org.netbeans.swing.dirchooser.DirectoryChooserUI$15$1.run(DirectoryChooserUI.java:1517) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispa Stacktrace: java.lang.NullPointerException at javax.swing.plaf.basic.BasicTreeUI.startEditing(BasicTreeUI.java:2064) at javax.swing.plaf.basic.BasicTreeUI.startEditingAtPath(BasicTreeUI.java:606) at javax.swing.JTree.startEditingAtPath(JTree.java:2352) at org.netbeans.swing.dirchooser.DirectoryChooserUI.applyEdit(DirectoryChooserUI.java:1534) at org.netbeans.swing.dirchooser.DirectoryChooserUI.access$1300(DirectoryChooserUI.java:105) at org.netbeans.swing.dirchooser.DirectoryChooserUI$$.run(DirectoryChooserUI.java:1517)
Created attachment 73407 [details] stacktrace
I can't reproduce. Does this bug appears always for you?
I tried with 6.5 FCS bits and could not reproduce the problem. You can either downgrade the bug for observation, or close it
Thanks, it looks like either some problem in JDK/Swing directly or maybe we are somehow abusing Swing and get it to NPE. Anyway I'm closing now, as there is no netbeans code that I can do something in. Please reopen when it comes again and try to tell us reproducible steps if possible, thanks.