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 68374 - IllegalStateException: WindowsAPI is required to be called from AWT
Summary: IllegalStateException: WindowsAPI is required to be called from AWT
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 13:00 UTC by Jiri Prox
Modified: 2006-09-04 17:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (25.05 KB, text/plain)
2005-11-09 13:00 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2005-11-09 13:00:32 UTC
NB 5.0 200511081900
JDK 1.5.0_05

Several informational IllegalStateException are thrown to the console when new
servlet is created in the webapp.

Steps to reproduce:
1) open webapp
2) open web.xml on servlets
3) create new servlet (File -> New File ...)
File is correctly created and added to web.xml, but in the console there are
several ISEs

java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be
called from AWT thread only, see
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/threading.html
	at
org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:1136)
	at
org.netbeans.core.windows.WindowManagerImpl.topComponentID(WindowManagerImpl.java:1078)
Comment 1 Jiri Prox 2005-11-09 13:00:58 UTC
Created attachment 26759 [details]
messages.log
Comment 2 Erno Mononen 2006-08-25 09:57:10 UTC
Seems to be fixed in release55 branch.
Comment 3 Jiri Prox 2006-09-04 17:16:45 UTC
verified