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 240195 - NullPointerException at org.netbeans.swing.dirchooser.DirectoryChooserUI$DirectoryTreeModel.valueForPathChanged
Summary: NullPointerException at org.netbeans.swing.dirchooser.DirectoryChooserUI$Dire...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 236504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-10 10:31 UTC by Martin Fousek
Modified: 2014-01-10 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206447


Attachments
stacktrace (7.75 KB, text/plain)
2014-01-10 10:31 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2014-01-10 10:31:03 UTC
Build: NetBeans IDE Dev (Build 20140110-fece2ac7b7ab)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
marfous: In the dialog for choosing test directory I clicked up from the project dir -  two times




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.swing.dirchooser.DirectoryChooserUI$DirectoryTreeModel.valueForPathChanged(DirectoryChooserUI.java:2681)
   at javax.swing.plaf.basic.BasicTreeUI.completeEditing(BasicTreeUI.java:2097)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.editingStopped(BasicTreeUI.java:3713)
   at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
   at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:368)
   at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:233)
Comment 1 Martin Fousek 2014-01-10 10:31:05 UTC
Created attachment 143781 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-01-10 10:39:48 UTC
*** Bug 236504 has been marked as a duplicate of this bug. ***
Comment 3 Ondrej Vrabec 2014-01-10 11:29:44 UTC
fix: http://hg.netbeans.org/core-main/rev/9794e1892991