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 108404 - Strange IllegalThreadStateException on profiling tests
Summary: Strange IllegalThreadStateException on profiling tests
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
: 106935 108556 109424 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-28 13:33 UTC by pzajac
Modified: 2007-09-28 14:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (855 bytes, text/plain)
2007-06-28 13:34 UTC, pzajac
Details
messages.log (85.26 KB, text/plain)
2007-07-03 13:12 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2007-06-28 13:33:20 UTC
[070628]
The exception will throw if I run profiler on my  unit test of j2se project.
Comment 1 pzajac 2007-06-28 13:34:12 UTC
Created attachment 44522 [details]
Exception
Comment 2 J Bachorik 2007-07-03 12:51:25 UTC
*** Issue 108556 has been marked as a duplicate of this issue. ***
Comment 3 J Bachorik 2007-07-03 12:54:47 UTC
could you attach your messages.log file + the version of JVM used?
Comment 4 pzajac 2007-07-03 13:10:57 UTC
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Comment 5 pzajac 2007-07-03 13:12:19 UTC
Created attachment 44668 [details]
messages.log
Comment 6 J Bachorik 2007-07-03 15:32:46 UTC
1. From the stack trace it seems something bad is happening somewhere down in Executors framework in JDK
2. I can't reproduce it using JDK1.5.0_11, JDK1.5.0_12 and JDK6_u1 - closing as invalid for now; if it happens again,
plz, reopen with exact steps how to reproduce
Comment 7 Tomas Hurka 2007-08-09 10:19:55 UTC
We found what caused this IllegalThreadStateException
Comment 8 Tomas Hurka 2007-08-09 10:20:38 UTC
*** Issue 106935 has been marked as a duplicate of this issue. ***
Comment 9 Tomas Hurka 2007-08-09 10:21:12 UTC
*** Issue 109424 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Hurka 2007-08-09 10:29:04 UTC
In some cases Executors.newCachedThreadPool() was called from Thread whose ThreadGroup later died. 
Fixed in trunk.
Comment 11 Alexander Kouznetsov 2007-09-28 14:08:53 UTC
Petr, could you please verify this issue or provide a reproducible testcase? Thank you!