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 202987

Summary: Deadlock between MavenFileOwnerQueryImpl and DefaultProjectBuildingHelper
Product: projects Reporter: Jesse Glick <jglick>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal CC: exceptions_reporter
Priority: P3 Keywords: THREAD
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Jesse Glick 2011-10-03 14:50:27 UTC
Created attachment 111426 [details]
Thread dump

20110929-99f6dbaa0c84. Created NB Platform App project and IDE hung during opening.
Comment 1 Milos Kleint 2012-02-15 12:06:56 UTC
hmmm, the problem is that NbArtifactFixer will only only attempt to resolve project dependencies but also extensions and projects with extensions.
Comment 2 Milos Kleint 2012-02-15 15:30:17 UTC
http://hg.netbeans.org/core-main/rev/3786a0540b23

created a component inheriting from the DefaultPluginDependenciesResolver that mutes the WorkspaceReader and associated ArtifactFixer instances for the duration of plugin dependencies resolution.

That should resolve the problem with the deadlock, unfortunately I didn't find a way to reproduce the deadlock to verify the hypothesis.
Comment 3 Milos Kleint 2013-09-02 08:16:40 UTC
*** Bug 235383 has been marked as a duplicate of this bug. ***