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.
NB6.0-M10 full build. - Right-clicked on a Java class (ShemaTransformPerfTest.java in xml/axi) - selected CPU profile (part of application) - clicked on edit to add some other method (earlier it had one) - As soon as I clicked on "Add From Project" I got the following exception java.lang.IllegalThreadStateException at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:832) at java.lang.Thread.init(Thread.java:344) at java.lang.Thread.<init>(Thread.java:565) at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:542) at java.util.concurrent.ThreadPoolExecutor.addThread(ThreadPoolExecutor.java:672) at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:721) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at com.sun.tools.profiler.ui.SwingWorker.postRunnable(SwingWorker.java:100) at com.sun.tools.profiler.ui.SwingWorker.execute(SwingWorker.java:71) at org.netbeans.modules.profiler.selector.api.ui.RootSelectorTree.setup(RootSelectorTree.java:147) at org.netbeans.modules.profiler.ui.panels.SelectRootMethodsPanel$5.run(SelectRootMethodsPanel.java:232) at org.netbeans.modules.profiler.ui.panels.SelectRootMethodsPanel.updateSelector(SelectRootMethodsPanel.java:314) at org.netbeans.modules.profiler.ui.panels.SelectRootMethodsPanel.getRootMethods(SelectRootMethodsPanel.java:230) at org.netbeans.modules.profiler.ui.panels.RootMethodsPanel$2.run(RootMethodsPanel.java:267) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
the same root cause as in the issue #108404 *** This issue has been marked as a duplicate of 108404 ***
Verified duplicate