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: | Maven OSGi: cannot load parent POM in editor | ||
---|---|---|---|
Product: | projects | Reporter: | puce <puce> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
puce
2012-03-28 13:01:49 UTC
Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 2.6.38-13-generic-pae running on i386; UTF-8; de_CH (nb) I cannot reproduce locally. All poms get opened for me fine. How frequent is sometimes? Are your sources and the local repository on the same drive? one explanation for different behaviour could be that the source are on shared drive, not local drive by any chance do you access central repository (or any repositories) through a mirror or proxy? (In reply to comment #3) Yes, everything goes through Nexus. (In reply to comment #2) The only thing I noted last time was that there was a duplicated </project> at the end of the POM. again I've looked over the code involved in opening the pom editor from navigator and there's nothing special in the maven codebase, no downloading that could stall, no IO is performed. Only minor exception is DependencyGraphTopComponent.forPOM which looks up the project. Under some conditions that could take some time however even in extreme conditions that should not extend more than a few seconds. The maven support code just delegates to dataobject/editor apis to open the file in question. I'm resolving the issue as incomplete. Once the problem occurs to you again, please create a thread dump of the IDE and reopen the issue. That way we should learn if a deadlock or race condition is at the root of the neverending loading problem. |