Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » null pointer exception when using custom archetype
null pointer exception when using custom archetype [message #734937] Mon, 10 October 2011 13:27
Madhav Bhargava is currently offline Madhav BhargavaFriend
Messages: 1
Registered: October 2011
Junior Member
Hi All,

We have created a custom maven archetype for creating a custom project structure. We are able to successfully use the archetype from the command line. When we try the same using m2e then it gives a couple of problems:

1. A null pointer exception(NPE) is thrown and we do not get any stack trace.
2. The project gets created in spite of the NPE, however an additional step "Update maven configuration" needs to be done. Is this necessary? Can this be avoided?
3. Since it nature of the project is java eclipse builder is invoked which creates the bin folder which again is not required. When doing from command line this is never created. Is there anyway to avoid this?

We have tried using maven 3.0.3 along with m2e and it still has the same problem. We have also looked at the bug ID 347602 but we have specified the version and the action properly.

Following is our plugin management snippet:

How do we change the log level for this plugin so that we can get a detailed stack trace? Any pointers would be greatly appreciated.

Best Regards,
Previous Topic:What Does Build Automatically Do?
Next Topic:Default jre
Goto Forum:

Current Time: Wed Apr 21 12:28:26 GMT 2021

Powered by FUDForum. Page generated in 0.01373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top