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.
Current trunk builds are nearly unusable because of this problem - whenever a dialog is open, one of these is thrown every few seconds. Perhaps it has something to do with the secondary event queue pushing done when you show a modal dialog not having permission to play with threads? java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:893) at java.util.concurrent.ScheduledThreadPoolExecutor.shutdown(ScheduledThreadPoolExecutor.java:455) at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:594) at org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller.actionPerformed(SelfSamplerAction.java:193) at org.netbeans.core.TimableEventQueue.done(TimableEventQueue.java:154) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:119) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:515) at java.awt.Dialog.show(Dialog.java:536) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:985) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1019) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1007) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:115) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:992) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:495) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:362) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:139) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I have never seen anything like this. Can you provide more info or better debug your problem?
Simply build from source on windows XP and run and invoke any action that opens a dialog and you will see this thrown every second or so.
Imho this has to be some problem on your side. I am CCing guys who from time to time may do a build on Windows, but I have not heard a single complaint from them.
Created attachment 85739 [details] Log file
Appears to happen when running an nbsrc module from the run menu in the IDE, but not on the command line. ???