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 138546 - IllegalStateException: Can't overwrite cause
Summary: IllegalStateException: Can't overwrite cause
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on: 150969
Blocks:
  Show dependency tree
 
Reported: 2008-06-28 10:20 UTC by facilityderek
Modified: 2009-02-19 22:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 22062


Attachments
stacktrace (1.34 KB, text/plain)
2008-06-28 10:20 UTC, facilityderek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description facilityderek 2008-06-28 10:20:43 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows Vista, 6.0, x86

User Comments: 
Statring IDE
Comment 1 facilityderek 2008-06-28 10:20:53 UTC
Created attachment 63635 [details]
stacktrace
Comment 2 David Simonek 2008-06-30 12:51:42 UTC
Please attach steps to reproduce this issue, I can't reproduce. I guess this issue is random, unfortunately there is not
enough info to find the source of the problem and fix.

Please reopen if you have reproducible scenario, thank you.
Comment 3 Exceptions Reporter 2008-10-08 13:48:21 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810041417)
http://statistics.netbeans.org/exceptions/detail.do?id=124841
Comment 4 Peter Nabbefeld 2008-10-21 07:59:16 UTC
After updating auto update center plugins, I got about 70 more updates - one of them seems to make an invalid assignment
to an exeption's cause :(

Probably it is the Groovy & Grails plugin (I've already had problems with it, but that does not necessarily imply that
this bug is related to the module, of course).

The problem here is the missing stack trace because of the Runnable ...
Comment 5 Peter Nabbefeld 2008-10-21 11:14:56 UTC
While working with NB, I've noticed that the exception occurs while selecting text or moving the mouse (don't know, if
it matters: I'm currently editing xslt files).
Comment 6 Peter Nabbefeld 2008-10-21 11:49:33 UTC
Sorry for being so blind:
The bug is in openide.loaders (it has its own awt package). It happens because of a
ClassNotFoundException. This exception sets its Throwable cause to null; it cannot
be initialized then, as an uninitialized cause is signalled by t.getCause() = t

If this is fixed, the "correct" error message will help further.
Comment 7 Peter Nabbefeld 2008-10-23 08:16:46 UTC
This bug is popping up again and again, cannot say why (because of #150969), thus IDE looks instable. Having it in daily
buid 200810211401, so I cannot tell if it's in RC1, too. Otherwise, I would have set this bug to P1 (IDE shouldn't be
released with this bug!). Will test this with RC build only after #150969 has been fixed.
Comment 8 Lukas Hasik 2008-11-03 09:43:28 UTC
wasn't it fixed as part of 150969?
Comment 9 Petr Chytil 2008-11-21 08:36:53 UTC
Please epdv, could you verify, that the issue is fixed?
Comment 10 David Simonek 2008-12-02 15:15:11 UTC
150969 is now fixed and no newer reports here, so I assume problem was solved somehow. Please reopen with additional
info if bug strikes again - now when 150969 is fixed we should know better where the bug is.