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 Dev (Build nbms-and-javadoc-1698-on-20140521) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Linux User Comments: GUEST: Not sure what happened, left to get a coffee and came back to netbeans frozen anton.vodyanoy: ????? GUEST: <Please provide a description of the problem or the steps to reproduce> The interface was frozen and had to kill -9 hup: Deadlock GUEST: reboot necessary GUEST: error on start-up, don't know why GUEST: just startet a server app Stacktrace: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: AWT-XAWT at java.awt.datatransfer.SystemFlavorMap.getFlavorsForNative(SystemFlavorMap.java:796) at sun.awt.datatransfer.DataTransferer.getFlavorsForFormatsAsSet(DataTransferer.java:886) at sun.awt.datatransfer.SunClipboard.formatArrayAsDataFlavorSet(SunClipboard.java:349) at sun.awt.datatransfer.SunClipboard.checkChange(SunClipboard.java:426) at sun.awt.X11.XClipboard.checkChange(XClipboard.java:284) at sun.awt.X11.XClipboard.access$600(XClipboard.java:45)
Created attachment 147507 [details] stacktrace
NbClipboard calls getContents() sun.awt.X11.XClipboard.getContents(XClipboard.java:108) at org.netbeans.NbClipboard$GetContents.run(NbClipboard.java:437) from non-AWT EDT. Not sure whether this is ok or not but it causes deadlock in java.awt.datatransfer.SystemFlavorMap.getFlavorsForNative(SystemFlavorMap.java:796) vs AWT lock. Re-assigning to the platform component to evaluate.
Why assigned to me? Btw. yesterday I saw a change in OpenJDK bugs related to clipboard, but I have not taken closer look and now I can't find the bug anymore
Created attachment 147985 [details] stacktrace nb ide has frozed during previous startup... The UI was unresponsive... Attaching the thread dump taken during last time
Possibly related JDK issue: https://bugs.openjdk.java.net/browse/JDK-7155963
Created attachment 149402 [details] stacktrace in the previous run of netbeans ide, the window has totally frozen.
This is a JDK bug (manifests on Linux OS only), see https://bugs.openjdk.java.net/browse/JDK-7155963 A possible workaround could be running NetBeans with -J-Dnetbeans.slow.system.clipboard.hack=false command line switch.