While I was *possibly* working with Subversion, NetBeans froze completely. Inspecting with JConsole revealed the AWT
Thread blocked on a lock. The thread owning the lock in turn is waiting for another lock.
The application is frozen since 10 minutes now, and I have to kill it.
Created attachment 84542 [details]
editor lock is blocking AWT thread ->reassigning to editor
Missing build number. For now I will check 6.7 FCS sources.
Yes, it was 6.7 FCS.
I will attach proposed patch. Fix takes ProjectManager.mutex lock before CodeStylePreferences internal lock to avoid
Created attachment 84658 [details]
Use ProjectManager.mutex().readAccess before internal CodeStylePreferences lock to fix deadlock.
Integrated into 'main-golden', will be available in build *200907150249* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Marek Slama <email@example.com>
Log: #168334: Use ProjectManager.mutex().readAccess before internal CodeStylePreferences lock to fix deadlock.