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 200908171401) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211 OS: Mac OS X, 10.5.8, x86_64 User Comments: mschovanek: Perform testcase 6.3 step 7 and 8 from: http://wiki.netbeans.org/ProfilerTestSpecification. Than I was repeatedly swithing the Package a Web App views and got the NPE. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.profiler.j2ee.selector.nodes.web.jsp.JSPNode.<init>(JSPNode.java:80) at org.netbeans.modules.profiler.j2ee.selector.nodes.web.jsp.JspsNode$Children.enumerateJSPs(JspsNode.java:97) at org.netbeans.modules.profiler.j2ee.selector.nodes.web.jsp.JspsNode$Children.prepareChildren(JspsNode.java:77) at org.netbeans.modules.profiler.j2ee.selector.nodes.web.jsp.JspsNode$Children.prepareChildren(JspsNode.java:67) at org.netbeans.modules.profiler.selector.spi.nodes.SelectorChildren.getNodes(SelectorChildren.java:109) at org.netbeans.modules.profiler.selector.spi.nodes.GreedySelectorChildren.getNodeCount(GreedySelectorChildren.java:56)
Created attachment 86447 [details] stacktrace
Better steps to reproduce: -------------------------- 1) open the Select Root Methods dialog as is described at testcase 6.3 step 7 and 8 from: http://wiki.netbeans.org/ProfilerTestSpecification. 2) select the Web Applications View ERROR1: there are not any nodes under the project node 3) check the check-box next to the project node ERROR: IDE throws the NPE
The web example was broken. I uploaded the fixed version.