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 - Deadlock between MavenFileOwnerQueryImpl and DefaultProjectBuildingHelper
Summary: Deadlock between MavenFileOwnerQueryImpl and DefaultProjectBuildingHelper
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: THREAD
: 235383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-03 14:50 UTC by Jesse Glick
Modified: 2013-09-02 08:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (30.19 KB, text/plain)
2011-10-03 14:50 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***