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.
Created attachment 162644 [details] stacktrace of netbeans IDE freezes after saving a java document. JVisualvm shows a perfect deadlock: Short summary of the stack trace (see attachment): Thread "Module-Actions" locks the NbDocument to save, but also tries to update the org.netbeans.api.editor.StickyWindowSupport that needs the awt tree lock for setLocation. But EDT is waiting for the NbDocument lock.
Thank you for your report. Yes, save actions is not called in EDT so NB got deadlock. I fixed it here: http://hg.netbeans.org/jet-main/rev/7a7819654f2c
> EventQueue.invokeLater(new Runnable() { > @Override > public void run() { > component.setLocation(p); > } > }); Why don't you use lambda if NB 8.2 requires Java 8?
The netbeans module editor.libs2 has still javac.source set to 1.7 so I used java 7 syntax.
Integrated into 'main-silver', will be available in build *201611040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7a7819654f2c User: Milutin Kristofic <mkristofic@netbeans.org> Log: #268688 - EDT Deadlock on save due to StickyWindowSupport
*** Bug 269082 has been marked as a duplicate of this bug. ***