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 7167 - Terminate process on Internal execution throws exception.
Summary: Terminate process on Internal execution throws exception.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 normal (vote)
Assignee: anovak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-25 13:07 UTC by Martin Balin
Modified: 2008-12-23 10:43 UTC (History)
1 user (show)

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 Martin Balin 2000-07-25 13:07:17 UTC
[#2011] JDK 1.2.2_05a
Run IDE and start Memory View using internal execution. Then select Terminate
process for this process from list of running processes. Internally executed
application is closed and following exception is printed into Output Window:

Disposal was interrupted:
java.lang.InterruptedException: operation interrupted
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:502)
        at java.awt.Window.dispose(Window.java:369)
        at
org.netbeans.core.execution.WindowTable.closeGroup(WindowTable.java:77)
        at
org.netbeans.core.execution.ExecutionEngine.closeGroup(ExecutionEngine.java:319)
        at
org.netbeans.core.execution.ExecutionEngine$RunClass.run(ExecutionEngine.java:434)

Terminate External execution works well.
Comment 1 anovak 2000-07-27 10:31:59 UTC
fixed org.netbeans.core.execution.ExecutionEngine$RunClass.run()
final cleanup is made synchronized (this) { ... }
which delays thread methods stop()/interrupt()
until the cleanup is done
Comment 2 Marian Mirilovic 2002-05-27 13:10:12 UTC
verified in [orion](rc5)
Comment 3 Quality Engineering 2003-07-01 16:18:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.