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.
Product Version: NetBeans IDE Dev (Build 200709201200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Steps to reproduce: Create Web Application with Visual Web Java Server Faces framework Open SPT dialog. Select Profile CPU Mode Select 'Part of Application' and click on 'define' link In 'Specify Root Methods' dialog click 'Add From project' button. In 'Select Root Methods' click on checkbox near the project name. The NPE is thrown: java.lang.NullPointerException at org.netbeans.modules.profiler.selector.api.nodes.AbstractClassNode.<init>(AbstractClassNode.java:37) at org.netbeans.modules.profiler.selector.api.nodes.ClassNode.<init>(ClassNode.java:45) see full in attachment. The tree is also not expandable.
Created attachment 49464 [details] Stacktrace log for this issue
this is caused basically by some classpath tricks used by the VisualJSF module. eg. the exception handler servlet uses a class that is not accessible for the retouche - and this results in NPE in the part of code that expects the servlet class to be resolved. added a simple logic to omit all such classes
Verified in build 200709270000