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.
Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18 OS: Windows 7 User Comments: wjdhamilton: I had used the psf macro to generate a private static final variable whilst running an app in the background GUEST: querying a large table, and then canceling the query due to it taking too long to show the results Stacktrace: java.lang.InterruptedException at java.lang.Object.wait(Object.java:0) at java.lang.Object.wait(Object.java:502) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1301) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1282) at org.openide.util.Mutex.doEventAccess(Mutex.java:1409) at org.openide.util.Mutex.writeAccess(Mutex.java:387)
Created attachment 152280 [details] stacktrace
Thank you for your report! I could not reproduce the problem, but the analysis is clear - the sequence: - A DB query is running - The data is fetched - To visualize the data it is passed to a swing component, that needs to be done on the EDT - The fetching task waits for access to the EDT And while waiting for access it gets interrupted. Here lies the problem in that the coding does not expect that interrupt. A fix was committed as: http://hg.netbeans.org/core-main/rev/d6aadf637433 If possible please check if you can verify this fix when the corresponding nightly is produced.
Integrated into 'main-silver', will be available in build *201503110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d6aadf637433 User: Matthias Blaesing <matthias42@netbeans.org> Log: #250769: Unify/check Mutex.Event usage and use SwingUtilities.invokeLater where interrupts are expected