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 216545

Summary: Deadlock renaming Maven project
Product: projects Reporter: Jesse Glick <jglick>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal Keywords: THREAD
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump
Thread dump

Description Jesse Glick 2012-08-08 15:53:50 UTC
Created attachment 122880 [details]
Thread dump

f983cd24d560, JDK 7. See thread dump.
Comment 1 Jesse Glick 2012-08-08 17:55:15 UTC
Created attachment 122883 [details]
Thread dump

Adding a dependency this time, similar hang.
Comment 2 Milos Kleint 2012-09-12 11:30:12 UTC
http://hg.netbeans.org/core-main/rev/dad5c2621a49

the main idea is similar to deadlocks + broken models in navigator.. keep a private instance of the model and only sync it at explicit points, not relying on the automatic synchronization in the managed models. so yes, we keep more memory around but at the same time hopefully successfully workaround the broken xam multithreading model.
Comment 3 Quality Engineering 2012-09-13 02:10:14 UTC
Integrated into 'main-golden', will be available in build *201209130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dad5c2621a49
User: Milos Kleint <mkleint@netbeans.org>
Log: #216545 use a fresh private model for the status provider, only synced at well defined times.