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 72013 - Profiled (IDE) process is not terminated
Summary: Profiled (IDE) process is not terminated
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 73696 80746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-30 14:25 UTC by Maros Sandor
Modified: 2007-09-21 10:11 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 Maros Sandor 2006-01-30 14:25:00 UTC
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)
Comment 1 Maros Sandor 2006-01-30 15:44:37 UTC
For someone (like me) doing lots of profiling this is quite annoying.
Comment 2 Tomas Hurka 2006-06-30 11:44:28 UTC
*** Issue 73696 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Hurka 2006-08-07 10:11:06 UTC
*** Issue 80746 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Hurka 2006-08-07 10:24:01 UTC
Fixed in trunk.
Comment 5 Tomas Hurka 2006-08-12 20:55:10 UTC
Fix merged to release55 branch
Comment 6 Alexander Kouznetsov 2007-09-21 10:11:28 UTC
Verified with 20070920