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 246749 - Deadlock on project scan
Summary: Deadlock on project scan
Status: RESOLVED DUPLICATE of bug 246672
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 10:22 UTC by Petr Hejl
Modified: 2014-08-31 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (37.68 KB, text/plain)
2014-08-28 10:22 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2014-08-28 10:22:37 UTC
Created attachment 148934 [details]
thread dump

Attaching thread dump.
Comment 1 Svata Dedic 2014-08-29 14:36:25 UTC
The deadlock is actually between XMLDataObject creating its DataNode and FolderRecognizer that wants "just" to place a PropertyChangeListener on the DObj, I believe. 

I would recommend that separate lock object is used for "primitive" operations like listener collection, modified flag etc and Node creation. 

Fixing in OpenIDE seems more appropriate to me; if you feel otherwise, please suggest a suitable approach for XMLDataObject. Thanks.
Comment 2 Jaroslav Havlin 2014-08-31 08:37:20 UTC
Seems to be duplicate of bug 246672.
Thank you.

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