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.

Bug 146700

Summary: Deadlock in JavaFreeformFileBuiltQuery vs. ProjectManager.mutex
Product: java Reporter: Jesse Glick <jglick>
Component: FreeformAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM, THREAD
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump
proposed patch

Description Jesse Glick 2008-09-09 21:11:26 UTC
080908; was switching project groups to one including nbbuild, and IDE froze.
Comment 1 Jesse Glick 2008-09-09 21:12:21 UTC
Created attachment 69455 [details]
Thread dump
Comment 2 Milan Kubec 2008-09-10 09:13:41 UTC
Created attachment 69504 [details]
proposed patch
Comment 3 Milan Kubec 2008-09-10 10:38:36 UTC
Fixed, getStatus() will first acquire a project mutex.

http://hg.netbeans.org/main/rev/2da520b9964f
Comment 4 Quality Engineering 2008-09-10 17:11:12 UTC
Integrated into 'main-golden', will be available in build *200809101401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2da520b9964f
User: Milan Kubec <mkubec@netbeans.org>
Log: #146700: possible deadlock; getStatus will first aquire a project mutex