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

Summary: IllegalStateException: WindowsAPI is required to be called from AWT
Product: javaee Reporter: Jiri Prox <jiriprox>
Component: CodeAssignee: Erno Mononen <emononen>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

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