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.
[dev-200503061900, JDK 1.5.0_02] I was debugging simple two threaded java application and after clicking Finish debugging session I got NPE. java.lang.NullPointerException at org.openide.explorer.view.VisualizerNode.<init>(VisualizerNode.java:143) at org.openide.explorer.view.VisualizerNode.getVisualizer(VisualizerNode.java:98) at org.openide.explorer.view.VisualizerNode.getVisualizer(VisualizerNode.java:75) at org.openide.explorer.view.TreeView.expandNode(TreeView.java:445) ...
ExpandNode got a null Node to expand, I'll add a guarding if() there. Could you please post complete stack trace?
Created attachment 20713 [details] exc stack trace
Attached, sorry.
And the null comes from .... org.netbeans.modules.viewmodel.TreeTable.expandNode
Just added the promised early check to the TreeView. Next time it will be more visible where the problem is comming from. openide/src/org/openide/explorer/view/TreeView.java,v1.186
We will look at it.
Can not happen any more - it's already fixed in the code.
Haven't seen for long time - verified.