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 197441 - ThreadDeath improperly wrapped by WeakListenerImpl
Summary: ThreadDeath improperly wrapped by WeakListenerImpl
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 179597
  Show dependency tree
 
Reported: 2011-04-05 14:18 UTC by rptmaestro
Modified: 2011-10-18 14:16 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169629


Attachments
stacktrace (4.94 KB, text/plain)
2011-04-05 14:18 UTC, rptmaestro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rptmaestro 2011-04-05 14:18:49 UTC
Build: NetBeans IDE 7.0 RC1 (Build 201103280000)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
GUEST: opening a project that I had just closed and re-opened

GUEST: I was just launching netbeans IDE from the desktop icone on my VBox machine xubuntu 10.10

rptmaestro: Happened while starting up NetBeans

GUEST: I honestly dont know.  I am running a virtual machine, and it just quit working correctly - the virtual machine anyway.




Stacktrace: 
java.lang.ThreadDeath
   at java.lang.Thread.stop(Thread.java:758)
   at org.netbeans.core.CLIOptions2.eqStuck(CLIOptions2.java:135)
   at org.netbeans.core.CLIOptions2.run(CLIOptions2.java:107)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 rptmaestro 2011-04-05 14:18:53 UTC
Created attachment 107508 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2011-04-07 10:25:54 UTC
Jesse, related to your changes for issue 179597.
Comment 3 Jesse Glick 2011-04-07 13:45:53 UTC
Not a real bug as such; it means the event queue was frozen due to some real performance issue, the user attempted to contact the IDE via command line, and got no response. The Thread.stop attempts to restart the event queue so you can recover. Not sure why it is popping up in the exception reporter; that just needs to be disabled somehow.
Comment 4 Exceptions Reporter 2011-10-17 18:23:47 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=169629
Comment 5 Jesse Glick 2011-10-17 19:11:38 UTC
Not sure why this was made a P2. There was only a single report from 7.1 so far, and only a handful from 7.0.x.

Looks like a ThreadDeath somewhere inside WeakListenerImpl$ProxyListener.invoke is being rethrown as an InvocationTargetException; surprisingly, Method.invoke seems to wrap everything in an ITE, not just checked exceptions.
Comment 6 Jesse Glick 2011-10-17 19:22:46 UTC
core-main #5c3718022bbe
Comment 7 Quality Engineering 2011-10-18 14:16:54 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/5c3718022bbe
User: Jesse Glick <jglick@netbeans.org>
Log: #197441: ThreadDeath improperly wrapped by WeakListenerImpl