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.
Have a netbeans plugin (module) open in IDE and have it configured to run in a platform other than the running (development) IDE. Start profiling with the Profile Main Project action, choose Analyze Memory Usage (creation only, no stack traces). Let the profiled IDE start up and then just close it. A dialog box pops up, just click Yes or No. Notice that the profiled process won't finish (nb.exe, java.exe, nbexec.exe still there). It still runs as can be seen in Task Manager. Also, the output tab label is still in bold, which indicates the I/O stream is still open. Profiling can be rerun normally, the number of processes will increase. If you just run the project (Run Main Project), all is OK. If you choose to only Monitor Application, all is OK. Content of output tab: Profiler Agent: Connection with agent closed ---- now I go to Runtime tab and Terminate the process ---- F:\projects\profiler\build\netbeans\harness\build.xml:167: The following error occurred while executing this line: F:\projects\profiler\build\netbeans\harness\run.xml:173: The following error occurred while executing this line: java.lang.ThreadDeath BUILD FAILED (total time: 2 minutes 34 seconds)
For someone (like me) doing lots of profiling this is quite annoying.
*** Issue 73696 has been marked as a duplicate of this issue. ***
*** Issue 80746 has been marked as a duplicate of this issue. ***
Fixed in trunk.
Fix merged to release55 branch
Verified with 20070920