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 99798 - CPU profiling web application (Profile All Classes) doesn't work
Summary: CPU profiling web application (Profile All Classes) doesn't work
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-03 12:24 UTC by Jiri Sedlacek
Modified: 2007-04-03 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2007-04-03 12:24:55 UTC
Latest daily build, WinXP, JDK 1.6.0:

1/ Create TomcatServletExample
2/ Setup CPU profiling, entire application, all classes
3/ Starting profiling fails during webapp deployment

NPE on Tomcat side:

java.lang.NullPointerException
	com.sun.tools.profiler.server.ProfilerRuntimeCPU.writeServletDoMethod
(ProfilerRuntimeCPU.java:390)
	com.sun.tools.profiler.server.ProfilerRuntimeCPU.servletDoMethodHook
(ProfilerRuntimeCPU.java:474)
	com.sun.tools.profiler.server.ProfilerRuntimeCPU.handleServletDoMethod
(ProfilerRuntimeCPU.java:443)
	org.apache.catalina.servlets.DefaultServlet.doGet
(DefaultServlet.java:354)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:691)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Comment 1 Tomas Hurka 2007-04-03 12:34:38 UTC
Fixed in trunk build 070404.
Comment 2 Jiri Sedlacek 2007-04-03 12:39:45 UTC
Verified in Profiler trunk.