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.

Bug 152597 - NullPointerException at javax.swing.plaf.basic.BasicTreeUI.startEditing
Summary: NullPointerException at javax.swing.plaf.basic.BasicTreeUI.startEditing
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-11-07 01:36 UTC by davisn
Modified: 2009-02-19 22:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137033


Attachments
stacktrace (7.37 KB, text/plain)
2008-11-07 01:36 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2008-11-07 01:36:04 UTC
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)
Comment 1 davisn 2008-11-07 01:36:09 UTC
Created attachment 73407 [details]
stacktrace
Comment 2 David Simonek 2008-11-21 15:52:03 UTC
I can't reproduce. Does this bug appears always for you?
Comment 3 davisn 2008-11-21 19:43:33 UTC
I tried with 6.5 FCS bits and could not reproduce the problem. 
You can either downgrade the bug for observation, or close it
Comment 4 David Simonek 2008-11-24 09:54:47 UTC
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.