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 Netbeans Application wizard in FoD has wrong dependencies | ||
---|---|---|---|
Product: | projects | Reporter: | Jaroslav Pospisil <jpospisil> |
Component: | Maven | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | anebuzelsky, jglick, johnjullion, jtulach, martinhavle, mmocnak, pcw, pjiricka |
Priority: | P2 | Keywords: | ERGONOMICS, RANDOM |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 170038 |
Description
Jaroslav Pospisil
2010-05-24 13:05:54 UTC
Issue is reproducible only from clean IDE - if I create any other project previously (Maven Quickstart Project,for example),nothing bad happens. This issue has also the same exception log as issue 170039,already fixed. Tried the last mentioned steps:
> Started IDE with clean userdir and invoked new Maven Netbeans
> App - NPE occured during initial activation of components.
but it works for me in 201005202201 RC build, no NPE.
BTW the correct number of the other issue issue is issue 170309.
This is an excerpt from messages.log file attached to: http://statistics.netbeans.org/exceptions/exception.do?id=392892 WARNING [org.openide.filesystems.Ordering]: Found same position 400 for both Templates/Project/Samples/Enterprise and Templates/Project/Samples/J2ME_MIDP INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.netbeans.modules.apisupport.harness [1.22 201005181742] org.netbeans.modules.apisupport.crudsample [1.2 201005181742] org.netbeans.modules.apisupport.tc.cobertura [1.3 201005181742] org.netbeans.modules.apisupport.ant [2.39 201005181742] org.netbeans.modules.timers/1 [1.10 201005181742] org.netbeans.libs.nbi.engine [1.1 201005181742] org.netbeans.modules.apisupport.project/1 [1.42 201005181742] org.netbeans.modules.apisupport.feedreader/1 [1.13 201005181742] org.netbeans.modules.apisupport.paintapp [1.10 201005181742] org.netbeans.libs.nbi.ant [1.2 201005181742] org.netbeans.modules.apisupport.installer [1.2 201005181742] org.netbeans.modules.apisupport.osgidemo [1.2 201005181742] org.netbeans.modules.apisupport.kit [1.9 201005181742] org.netbeans.modules.apisupport.refactoring [1.13 201005181742] WARNING [org.openide.filesystems.Ordering]: Found same position 400 for both Templates/Project/Samples/Enterprise and Templates/Project/Samples/J2ME_MIDP WARNING [org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep]: There is still wrong interator org.netbeans.modules.ide.ergonomics.newproject.FeatureOnDemandWizardIterator for file object MultiFileObject@10c0ef9[Templates/Project/Maven2/NbApp] INFO [org.netbeans.modules.ide.ergonomics.fod]: java enabled 3 disabled 5 INFO [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.form.kit INFO [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.hibernate INFO [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.j2ee.persistence.kit INFO [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.maven.kit INFO [org.netbeans.modules.ide.ergonomics.fod]: - org.netbeans.modules.spring.beans INFO [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.ant.kit INFO [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.debugger.jpda.ui INFO [org.netbeans.modules.ide.ergonomics.fod]: + org.netbeans.modules.java.kit The problem seems to be that, when enabling apisupport, associated maven support is not enabled. In case Maven is essential part of apisupport, the apisupport.kit shall have proper dependencies on it. Or at least it shall recommend maven... $ hg diff diff -r eb7fb3108e48 apisupport.kit/manifest.mf --- a/apisupport.kit/manifest.mf Fri May 21 21:16:29 2010 +0200 +++ b/apisupport.kit/manifest.mf Mon May 24 16:21:11 2010 +0200 @@ -2,4 +2,4 @@ OpenIDE-Module: org.netbeans.modules.apisupport.kit OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/kit/Bundle.properties OpenIDE-Module-Specification-Version: 1.10 - +OpenIDE-Module-Recommends: org.netbeans.modules.maven.apisupport $ While apisupport.kit could recommend maven.apisupport, there is no hard dependency that I know of. Looks like a bug in ergonomics to me. I'm not able to reproduce. Anyway reassigning... Dafe, if you cannot reproduce, then the proper resolution is "worksforme", as far as I know. Not reproducible with latest build,so I agree. |