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.
[ BUILD # : 200408291800 ] [ JDK VERSION : J2SE 1.5.0 ] Somewhere in between... Exceptions just has been printed out after execution of a Java Main class: java.lang.IllegalThreadStateException at java.lang.ThreadGroup.add(ThreadGroup.java:856) at java.lang.Thread.start(Thread.java:573) at org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroyer.java:145) at org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:198) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:487) at org.apache.tools.ant.taskdefs.Java.fork(Java.java:746) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:170) at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:377) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:216) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:230) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
I think I've seen that one once before as well. No idea what causes it. Seems to happen rarely. No known ill effect.
*** Issue 51554 has been marked as a duplicate of this issue. ***
*** Issue 51912 has been marked as a duplicate of this issue. ***
I have found this error very easy to reproduce by following these steps. 1- Build a medium sized project (so it takes a few moments to start up) 2- Using the short cut key, quickly run 2 instances of the project (i.e. double tap F6) 3- Close each instance of the project as soon as it loads. 4- On close of the second instance the above ITSE error is usually generated. Though I have never found any ill effects because of this error, I did spend quite a long time trying to work out if I was causing it. It seemed to start once I added threads to my own code. However these threads are not run at start up. I am using build 200505031930 on WinXP 5.1
*** Issue 70515 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 85686 ***