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

Summary: Terminate process on Internal execution throws exception.
Product: platform Reporter: Martin Balin <mbalin>
Component: -- Other --Assignee: anovak <anovak>
Status: CLOSED FIXED    
Severity: normal CC: jchalupa
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

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.