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 46959 - ISE: This must happen in the event thread! from Actions class
Summary: ISE: This must happen in the event thread! from Actions class
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 44282
  Show dependency tree
 
Reported: 2004-08-06 09:42 UTC by Jiri Skrivanek
Modified: 2008-12-22 20:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Entire stack trace (7.95 KB, text/plain)
2004-08-06 09:42 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-08-06 09:42:33 UTC
The following exception is thrown when you delete
a class from files view:

java.lang.IllegalStateException: This must happen
in the event thread! at
org.openide.awt.Actions$Bridge.propertyChange(Actions.java:348)

To reproduce:

- create a java project
- compile a java class
- go to the files view and navigate to class file
(build/classes/...)
- delete class by context menu => exception is thrown.

Build 20040806-0802, JDK1.5.0-b59, WindowsXP.
Comment 1 Jiri Skrivanek 2004-08-06 09:42:57 UTC
Created attachment 16670 [details]
Entire stack trace
Comment 2 Jiri Rechtacek 2004-08-26 15:45:56 UTC
I cannot reproduce on 1.4.2 nor 1.5 on 040826. Please, assure if it
fails still? Thanks
Comment 3 Jiri Skrivanek 2004-08-27 08:19:06 UTC
Yes, I am able to reproduce it manually in build 20040826-0215 and it
happens also in automated tests.
Comment 4 Jiri Rechtacek 2004-09-06 15:49:17 UTC
Still unreproducible for me on Dev (Build 040906), Linux,
jdk1.5.0-rc-b63. Seems as depends on OS. I'll investigate on winXP.
Comment 5 Jaroslav Tulach 2004-09-07 09:48:29 UTC
I'll do something.
Comment 6 Jaroslav Tulach 2004-09-07 09:55:40 UTC
Replaning setEnabled to awt thread

Checking in src/org/openide/explorer/ExplorerActionsImpl.java;
/cvs/openide/src/org/openide/explorer/ExplorerActionsImpl.java,v  <--
 ExplorerActionsImpl.java
new revision: 1.7
Comment 7 Jiri Skrivanek 2004-09-14 08:52:48 UTC
Verified.