Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341257 - Archetype Project Creation Fails with NPE
Summary: Archetype Project Creation Fails with NPE
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 13:01 EDT by brian smith CLA
Modified: 2021-04-19 13:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/