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.
While working on issue 166192 and opening a webmaven project from command line I have noticed a deadlock.
Created attachment 83914 [details] Thread dump
The "AWT-EventQueue-1" thread acquires the AWTTreeLock and then tries to acquire the LockView's PriorityMutex and ends up waiting. The "FoD Warm Up" thread first acquires the PriorityMutext in JavaEditorWarmUpTask and then tries to acquire the AWTTreeLock, which obviously leads to a deadlock. IMO we should somehow fix the JavaEditorWarmUpTask.
http://hg.netbeans.org/jet-main/rev/768ba6b2684c
Integrated into 'main-golden', will be available in build *200906240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/768ba6b2684c User: Miloslav Metelka <mmetelka@netbeans.org> Log: #167518 - Deadlock between lib.editor and AWT tree lock.
Jardo, would you verify the fix in the latest trunk build? Thanks. We will include the fix in patch1.
Verified in 200907070200
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/7b39373256c0
v in 6.5.1