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 108556 - Add From Project throw IllegalThreadStateException
Summary: Add From Project throw IllegalThreadStateException
Status: VERIFIED DUPLICATE of bug 108404
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-30 01:18 UTC by Samaresh Panda
Modified: 2007-09-28 09:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samaresh Panda 2007-06-30 01:18:51 UTC
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)
Comment 1 J Bachorik 2007-07-03 12:51:33 UTC
the same root cause as in the issue #108404

*** This issue has been marked as a duplicate of 108404 ***
Comment 2 Alexander Kouznetsov 2007-09-28 09:11:55 UTC
Verified duplicate