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 170613 - NullPointerException at org.netbeans.modules.profiler.j2ee.selector.nodes.web.jsp.JSPNode.<init>
Summary: NullPointerException at org.netbeans.modules.profiler.j2ee.selector.nodes.web...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 12:34 UTC by Martin Schovanek
Modified: 2009-09-16 09:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 156260


Attachments
stacktrace (10.95 KB, text/plain)
2009-08-19 12:35 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-08-19 12:34:59 UTC
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)
Comment 1 Martin Schovanek 2009-08-19 12:35:04 UTC
Created attachment 86447 [details]
stacktrace
Comment 2 Martin Schovanek 2009-08-19 12:54:23 UTC
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
Comment 3 Tomas Hurka 2009-09-16 09:06:19 UTC
The web example was broken. I uploaded the fixed version.