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 84431 - NPE when detaching from profiled application
Summary: NPE when detaching from profiled application
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 13:23 UTC by Jiri Sedlacek
Modified: 2006-10-23 16:40 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 2006-09-07 13:23:32 UTC
Latest Profiler devbuild. Started Tomcat from attachwizard (automatic 
integration, direct local attach) and attached Profiler in Monitoring mode. 
After the server started, clicked Detach and chosen to stop the profiled 
application:

java.lang.NullPointerException
	at org.netbeans.modules.profiler.actions.StopAction.stopLoadGenerator
(StopAction.java:171)
	at org.netbeans.modules.profiler.actions.StopAction.access$000
(StopAction.java:34)
	at org.netbeans.modules.profiler.actions.StopAction$1.run
(StopAction.java:120)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:963)
Comment 1 J Bachorik 2006-09-07 13:55:09 UTC
Profiling properties are now checked for NULL before being accessed
Comment 2 ehucka 2006-09-14 08:56:34 UTC
verified with jdk 1.6.0, profiler 060914, win xp