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.
Summary: | Deadlock on opening projects | ||
---|---|---|---|
Product: | javaee | Reporter: | markiewb |
Component: | Maven | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mkleint, pjiricka, tomzi, vriha |
Priority: | P2 | Keywords: | 7.4_HR_FIX |
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Threaddump |
mjanicek: any calls that don't modify the model, are to effectively use the RESOLVED model via NbMavenProject.getMavenProject(). your methods that use the ModelOperation+Utilities.performPOMModelOperations api are not only deadlocking (as in this issue) but are effectively returning WRONG results as the model for writing is not resolved, thus doens't include values from parents, doesn't include profiles and doesn't have expressions resolved! known to be affected, please check for more: MavenProjectSupport.readSettingsFromPom() WebModuleImpl.getProfileFromPOM() either candidate for fix in 7.4 FCS or for any upcoming patch release *** Bug 235854 has been marked as a duplicate of this bug. *** Fixed by changeset web-main #a8e9b9407478 Milosi could you please review the changes? the diff looks ok to me. Thanks! Vlado may I ask you for verification? (In reply to Martin Janicek from comment #3) > Fixed by changeset web-main #a8e9b9407478 verified by QE Thanks Stepane! I've send an email to reviwers.. If there will be no objections, I'm going to integrate into the release74 branch tomorrow. Integrated into 'main-silver', will be available in build *201309130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a8e9b9407478 User: Martin Janicek <mjanicek@netbeans.org> Log: #235858 - Deadlock on opening projects Transplanted in: releases #f4b79092a5a8 |
Created attachment 139967 [details] Threaddump I installed a new dev build of post-7.4 and started it via the same user dir. NetBeans tries to open my previously opened projects, but it stops at 70%. A deadlock? I attached a threaddump. Product Version: NetBeans IDE Dev (Build 201309120002) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b17 System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)