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.
System: Netbeans build 25 JDK: blackdown jdk 1.3.0 The problem can be duplicated as follows: 1. Run a program by clicking the run button in the toolbar. 2. Terminate the program by right-clicking the process in the execution window and selecting terminate. 3. return to the GUI editing workspace and run the program again. 4. Terminate the program again using the execution window 4. Return to the GUI editing workspace and once again run the program. After 2 or 3 times, an unexpected exception will occur. I have pasted in the appropriate piece of the log file below (The last exception is the one that caused the window to pup up): ------------------------------------------------------------------------------- >Log Session: Monday, December 11, 2000 8:52:03 AM PST >System Info: Product Version = NetBeans IDE 3.1beta (Build 25) IDE Versioning = IDE/1 spec=1.1.2 impl=Build 25 Operating System = Linux Version 2.2.16-5 Running on i386 Java Version = 1.3.0 Java VM Version = Java HotSpot(TM) Client VM Blackdown-1.3.0-FCS Java Vendor = Blackdown Java-Linux Team Java Vendor URL = http://www.blackdown.org/ Java Home = /opt/blackdown1.3.0/jre Java Class Version = 47.0 System Locale = en_US JIT = unknown or not used Home Dir = /local/user/groskyd Current Directory = /local/user/groskyd/.gnome-desktop IDE Home = /c/user/groskyd/netbeans31/25 IDE User Home = /c/user/groskyd/netbeans31/25 System Directory = /c/user/groskyd/netbeans31/25/system CLASSPATH = . . . ------------------------------------------------------------------------------- [INFO] Loaded modules: org.apache.tools.ant.module (1.2/25); org.netbeans.modules.clazz/1 (1.4/25); org.netbeans.modules.html/1 (1.4/25); org.netbeans.modules.httpserver/1 (1.4/25); org.netbeans.modules.icebrowser/1 (1.4/25); org.netbeans.modules.image/1 (1.4/25); org.netbeans.modules.properties/1 (1.4/25); org.netbeans.modules.i18n/1 (1.4/25); org.netbeans.modules.text/1 (1.4/25); org.netbeans.modules.usersguide/1 (1.4/25); org.openidex.util/1 (1.4/25); org.netbeans.modules.autoupdate/1 (1.4/25); org.netbeans.modules.debugger.core/1 (1.1.6/25); org.netbeans.modules.applet/1 (1.4/25); org.netbeans.modules.debugger.debug/1 (1.6/25); org.netbeans.modules.debugger.jpda/1 (1.6/25); org.netbeans.modules.editor/1 (1.5/25); org.netbeans.modules.jarpackager/1 (1.4/25); org.netbeans.modules.java/1 (1.4/25); org.netbeans.modules.beans/1 (1.4/25); org.netbeans.modules.form/1 (1.4/25); org.netbeans.modules.javadoc/1 (1.4/25); org.netbeans.modules.objectbrowser/1 (1.4/25); org.netbeans.modules.projects/1 (1.4/25); org.netbeans.modules.scripting/1 (1.1/001); org.netbeans.modules.utilities/1 (1.4/25); org.netbeans.modules.vcs.cmdline/1 (1.5/25); org.netbeans.modules.web.core/1 (1.1.4/25); org.netbeans.modules.web.wizard/1 (1.1.4/25) [IDE-Exec] Executing: 0 .= /opt/blackdown1.3.0/jre/bin/java 1 .= -cp 2 .= . . . *********** Exception occurred ************ Mon Dec 11 08:56:24 PST 2000java.lang.IllegalThreadStateException: null java.lang.IllegalThreadStateException at java.lang.ThreadGroup.destroy(ThreadGroup.java:703) [catch] at org.netbeans.core.execution.DefaultSysProcess.stop(DefaultSysProcess.java:57) at org.netbeans.core.execution.ProcessNodeItem$2.run(ProcessNodeItem.java:164) at java.lang.Thread.run(Thread.java:484) [IDE-Exec] Executing: 0 .= /opt/blackdown1.3.0/jre/bin/java 1 .= -cp . . . 3 .= kuksool *********** Exception occurred ************ Mon Dec 11 08:56:51 PST 2000java.lang.IllegalThreadStateException: null java.lang.IllegalThreadStateException at java.lang.ThreadGroup.destroy(ThreadGroup.java:703) [catch] at org.netbeans.core.execution.DefaultSysProcess.stop(DefaultSysProcess.java:57) at org.netbeans.core.execution.ProcessNodeItem$2.run(ProcessNodeItem.java:164) at java.lang.Thread.run(Thread.java:484) [IDE-Exec] Executing: 0 .= /opt/blackdown1.3.0/jre/bin/java 1 .= -cp . . . 3 .= kuksool *********** Exception occurred ************ Mon Dec 11 08:56:59 PST 2000java.lang.IllegalArgumentException: A node selection cannot contain nodes (<No Processes Running>) not underneath the root (Processes). java.lang.IllegalArgumentException: A node selection cannot contain nodes (<No Processes Running>) not underneath the root (Processes). at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:138) at org.openide.explorer.view.ListView.selectionChanged(ListView.java:353) at org.openide.explorer.view.ListView$Listener.valueChanged(ListView.java:650) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:170) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:150) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:197) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:359) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:368) at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:392) at javax.swing.JList.setSelectedIndex(JList.java:1319) at org.openide.explorer.view.ListView$FocusAdapter.focusGained(ListView.java:587) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:161) at java.awt.Component.processFocusEvent(Component.java:3641) at javax.swing.JComponent.processFocusEvent(JComponent.java:2058) at java.awt.Component.processEvent(Component.java:3537) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.processFocusEvent(Container.java:2167) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2130) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:333) [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
I believe this may be duplicate. AFAIK the exception is harmless and just results from the use of Thread.stop() to kill the executed process, which is not great but there is not a really good workaround either.
The build seems quite old. As I remember the exception from ListView also happende in some other situation and should be fixed now. The first exception - from ThreadGroup.destroy() should be also away. As I modified sources a few days ago. (In main trunk)
*** Issue 9350 has been marked as a duplicate of this issue. ***
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.