Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341257

Summary: Archetype Project Creation Fails with NPE
Product: z_Archived Reporter: brian smith <unobriani>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: mkleint
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description brian smith CLA 2011-03-29 13:01:04 EDT
Build Identifier: 20100917-0705

When trying to create a new project from archetype using m2Eclipse 0.12.1.20110112-1712, I get a a null pointer exception from the wizard.  The project is still created but it only contains a project skeleton (pom.xml + src/main/resources)  I tried this same operation using version 0.10 on OS X and it appears to work ok.  I can create the archetype from the command line using mvn archetype:create just fine


archetypes that have failed so far

mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-service-assembly

or 

mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-service-unit

Reproducible: Always
Comment 1 Milos Kleint CLA 2011-07-01 08:51:03 EDT
I cannot reproduce using the 1.0.0 release, the project gets created for me (with errors because of missing lifecycle mappings). I didn't get any apparent NPE.

closing as worksforme, please reopen with the NPE stacktrace from 1.0.0 version. Thanks.
Comment 2 Denis Roy CLA 2021-04-19 13:24:29 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/