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 204172

Summary: Deadlock between XDMModel.getDocument and XDMModel.flushDocument
Product: projects Reporter: Jesse Glick <jglick>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sdedic, tboudreau
Priority: P3 Keywords: THREAD
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Trimmed thread dump

Description Jesse Glick 2011-10-24 17:13:10 UTC
Created attachment 112380 [details]
Trimmed thread dump

Not obvious to me from thread dump what is at fault. Something presumably has the read lock on the document (AnnotationView?). Does a caller need to manually acquire a document write lock before calling AbstractModel.endTransaction? Threading assumptions of XAM/XDM are not clearly documented that I know of.
Comment 1 Milos Kleint 2012-05-02 06:55:34 UTC
*** Bug 211928 has been marked as a duplicate of this bug. ***
Comment 2 Milos Kleint 2012-05-03 08:24:26 UTC
appears to be a duplicate of 202352 (in the sense that the fix for that bug fixed this one, not that they are the same problem)

*** This bug has been marked as a duplicate of bug 202352 ***