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 235486

Summary: IllegalStateException: Too many org.netbeans.modules.masterfs.suspend.PauseAction$1C (2) in shared RequestProcessor; create your own
Product: contrib Reporter: J Bachorik <yardus>
Component: CodeAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203558
Attachments: stacktrace

Description J Bachorik 2013-09-04 08:31:52 UTC
Build: NetBeans IDE Dev (Build 201308152300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
yardus: Paused the scanning on file change and started a JDK build. Got this exception after some time.




Stacktrace: 
java.lang.IllegalStateException: Too many org.netbeans.modules.masterfs.suspend.PauseAction$1C (2) in shared RequestProcessor; create your own
   at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1473)
   at org.netbeans.modules.masterfs.suspend.PauseAction$1C.run(PauseAction.java:124)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
Comment 1 J Bachorik 2013-09-04 08:31:56 UTC
Created attachment 139643 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2013-09-04 08:34:14 UTC
Not sure who's the owner of PauseAction, please reassign as appropriate, thanks.
Comment 3 Jaroslav Havlin 2013-09-04 12:39:22 UTC
The bug is in module masterfs.suspend. Reassigning, please evaluate.
Feel free to assign the bug back to me if I can fix it simply by creating
a private instance of RequestProcessor. Thanks.
Comment 4 Jaroslav Tulach 2013-11-26 13:34:53 UTC
Fixed and published new version of the module (1.1): http://hg.netbeans.org/main/contrib/rev/fb056b0cce52