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 205658 - NbArtifactFixer can trigger nested project loading
Summary: NbArtifactFixer can trigger nested project loading
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal with 2 votes (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
: 203588 205730 207588 207848 207849 208108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-29 15:36 UTC by Jesse Glick
Modified: 2012-02-14 18:24 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace after multi-minute hang, probably on GF sources (27.55 KB, text/plain)
2011-11-29 15:36 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-11-29 15:36:55 UTC
Created attachment 113624 [details]
Stack trace after multi-minute hang, probably on GF sources

NbArtifactFixer loads the actual Project represented by an artifact owner, only to return the location of its pom.xml. This is wasteful. The only purpose is to ensure that the POM version matches the artifact; that could usually be determined more cheaply, as ProjectOpenedHookImpl.registerWithSubmodules does for groupId/artifactId.
Comment 1 Jesse Glick 2011-11-29 20:30:42 UTC
core-main #eaa7ea5f63fc
Comment 2 Quality Engineering 2011-12-01 12:09:18 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/eaa7ea5f63fc
User: Jesse Glick <jglick@netbeans.org>
Log: #205658: NbArtifactFixer can trigger nested project loading
Comment 3 Jesse Glick 2011-12-01 15:03:13 UTC
*** Bug 205730 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2011-12-01 17:22:14 UTC
Dupe reported on XP.
Comment 5 Jesse Glick 2012-01-23 21:44:28 UTC
*** Bug 207588 has been marked as a duplicate of this bug. ***
Comment 6 Jesse Glick 2012-01-27 22:07:50 UTC
*** Bug 207848 has been marked as a duplicate of this bug. ***
Comment 7 Jesse Glick 2012-01-27 22:08:03 UTC
*** Bug 207849 has been marked as a duplicate of this bug. ***
Comment 8 Jesse Glick 2012-02-08 16:49:02 UTC
Need verification before this could be offered in patch 1. Definitely desirable as the symptoms are serious. Not sure if there was a reproducible test case; people encountering this problem in 7.1 are urged to try a 7.2 development build and report on the result ASAP.
Comment 9 Winston Prakash 2012-02-08 16:59:47 UTC
When I first upgraded to 7.1, it was happening all the time, literally 7.1 was useless for me. I went back to older version. I wanted to give 7.1 one more chance. So I backed up my Netbeans userdir and started 7.1 with a blank Netbeans userdir. It is almost 2 weeks now and I haven't seen the issue.
Comment 10 Jesse Glick 2012-02-09 18:22:44 UTC
Unfortunately I am unsure how to reproduce; tried to do so with 7.1 on Glassfish sources but nothing like this happened. I (think I) know at a low level what is happening, but not what scenarios trigger the problem.
Comment 11 Jesse Glick 2012-02-13 15:40:10 UTC
releases #5ab6c84d7001 and also releases #406bb6cc8bfc and releases #20ddfca71bd0
Comment 12 Quality Engineering 2012-02-14 02:32:06 UTC
Integrated into 'releases', will be available in build *201202132200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/5ab6c84d7001
User: Jesse Glick <jglick@netbeans.org>
Log: #205658: NbArtifactFixer can trigger nested project loading
Comment 13 Jesse Glick 2012-02-14 18:09:21 UTC
*** Bug 208108 has been marked as a duplicate of this bug. ***
Comment 14 Jesse Glick 2012-02-14 18:24:01 UTC
*** Bug 203588 has been marked as a duplicate of this bug. ***