Community
Participate
Working Groups
I receive the following exception when trying to import the "opennms-webapp" project: ---(snip!)--- eclipse.buildId=M20110210-1200 java.version=1.6.0_24 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/ranger/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/ranger/.eclipse_keyring -showlocation Error Thu Apr 21 12:28:30 EDT 2011 An internal error occurred during: "Updating Maven Configuration". java.lang.NullPointerException at org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent.create(VirtualComponent.java:364) at org.maven.ide.eclipse.wtp.WebProjectConfiguratorDelegate.configure(WebProjectConfiguratorDelegate.java:93) at org.maven.ide.eclipse.wtp.AbstractProjectConfiguratorDelegate.configureProject(AbstractProjectConfiguratorDelegate.java:75) at org.maven.ide.eclipse.wtp.WTPProjectConfigurator.configure(WTPProjectConfigurator.java:44) at org.maven.ide.eclipse.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:57) at org.maven.ide.eclipse.internal.project.GenericLifecycleMapping.configure(GenericLifecycleMapping.java:48) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:306) at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:292) at org.maven.ide.eclipse.actions.UpdateSourcesAction$1.runInWorkspace(UpdateSourcesAction.java:92) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) ---(snip!)--- Steps to reproduce: 1. git clone git://opennms.git.sourceforge.net/gitroot/opennms/opennms 2. cd opennms 3. ./compile.pl 4. open Eclipse 5. File -> Import -> Existing Maven Projects 6. Right-click on project -> m2Eclipse -> Update Project Configuration
Version is the latest one in the public eclipse repository, it wasn't in the "version" pull-down: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 Maven Integration for WTP (Optional) 0.11.1.20101108-1810
m2e/wtp bugs should be reported to https://issues.sonatype.org/browse/MECLIPSEWTP
Ah, OK. I originally went to https://issues.sonatype.org/browse/MNGECLIPSE and it said that it was read-only. Didn't occur to me that sub-projects are not read-only, but the main one one is. Kinda confusing.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/