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 201308090746) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b55, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b36 OS: Windows 7 User Comments: MackSix: 1. Installed FindBugs. 2. Configured to use single inspection. (Class implements Cloneable but does not define clone() method) 3. Clicked OK 4. Opened up Configuration again and the list dialog box was collapsed smaller and the list was cut off on the left side. 5. expanded dialog box out and moved partition over until full list showed in dialog box. 6. Click on Bad Practice node to close it. This NPE happned. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.findbugs.options.FindBugsPanel$3.valueChanged(FindBugsPanel.java:195) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:634) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1092) at javax.swing.tree.DefaultTreeSelectionModel.removeSelectionPaths(DefaultTreeSelectionModel.java:501) at javax.swing.JTree.removeDescendantSelectedPaths(JTree.java:3710) at javax.swing.JTree.setExpandedState(JTree.java:3593)
Created attachment 138517 [details] stacktrace
Created attachment 138518 [details] Normal FindBugs Configuration Dialog Box
Created attachment 138519 [details] Step #4--Configuration Dialog is Bad
Created attachment 138520 [details] Step #4--Expanded Configuration Dialog with List Cut Off on the Left
Also, the single inspection fails to find problem in file, but running the full FindBugs configuration on the file is successful in finding it.
Created attachment 138582 [details] stacktrace reproduced
fixed in http://hg.netbeans.org/jet-main/rev/b62057964e09
Integrated into 'main-silver', will be available in build *201308141142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b62057964e09 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #234210 dealing with collapse node event in JTree