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 91051 - exception after opening Options dialog window
Summary: exception after opening Options dialog window
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Roman Strobl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 09:12 UTC by martineez
Modified: 2011-11-07 09:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martineez 2006-12-14 09:12:43 UTC
java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be
called from AWT thread only, see http://core.netbeans.org/proposals/threading/
	at
org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:1373)
	at
org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:217)
	at
org.netbeans.modules.nbplayer.module.PlayerWindowTopComponent.findInstance(PlayerWindowTopComponent.java:506)
	at
org.netbeans.modules.nbplayer.module.Mp3ToolbarPanel.<init>(Mp3ToolbarPanel.java:33)
	at
org.netbeans.modules.nbplayer.module.MP3PlayerToolbarAction.<init>(MP3PlayerToolbarAction.java:8)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.openide.util.SharedClassObject.createInstancePrivileged(SharedClassObject.java:619)
	at
org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObject.java:979)
	at
org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObject.java:971)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:493)
	at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:194)
	at
org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1191)
	at
org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:694)
	at
org.netbeans.modules.options.keymap.LayersBridge.createAction(LayersBridge.java:334)
	at
org.netbeans.modules.options.keymap.LayersBridge.initActions(LayersBridge.java:128)
	at
org.netbeans.modules.options.keymap.LayersBridge.initActions(LayersBridge.java:92)
	at
org.netbeans.modules.options.keymap.LayersBridge.getActions(LayersBridge.java:73)
	at
org.netbeans.modules.options.keymap.KeymapModel.getActionCategories(KeymapModel.java:48)
	at org.netbeans.modules.options.keymap.KeymapModel.<init>(KeymapModel.java:253)
	at
org.netbeans.modules.options.keymap.KeymapViewModel.<init>(KeymapViewModel.java:61)
	at org.netbeans.modules.options.keymap.KeymapPanel.getModel(KeymapPanel.java:332)
	at
org.netbeans.modules.options.keymap.KeymapPanelController.getLookup(KeymapPanelController.java:63)
	at
org.netbeans.modules.options.CategoryModel$Category.getLookup(CategoryModel.java:382)
	at
org.netbeans.modules.options.CategoryModel$Category.access$000(CategoryModel.java:271)
	at org.netbeans.modules.options.CategoryModel$1.run(CategoryModel.java:65)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 David Simonek 2006-12-14 09:41:33 UTC
Module nbplayer is guilty, exception says it all - window system must be called
from EQ thread. Passing to proper owner - please change category, I don't know
where nbplayer belongs.