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.
If any program is executed (and running) with external executor IDE does not return to command line. All windows are closed, but Java does not finish and stack trace is not available. This bug causes big problem for automatic tests runtime.
*** Issue 12804 has been marked as a duplicate of this issue. ***
my suggested fix is in org.netbeans.core.execution.TaskThreadGroup method waitFor(): catch InterruptedException outside while cycle allow to interrupt this thread /** blocks until this ThreadGroup die - isProcessDead = true */ void waitFor() { synchronized (TIMER) { try { while (! isProcessDead()) { if (Thread.currentThread() instanceof RunClassThread) runClassThreadOut = true; TIMER.wait(1000); } } catch (InterruptedException ex) { //this solves the problem } finally { TIMER.notifyAll(); dead = true; } } }
Works for me on Solaris and Windows with jdk1.3.1.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.