Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336748 - Importing an existing Maven project with a parent and a maven-bundle-plugin gives a NullPointerException in DefaultPluginDescriptorCache
Summary: Importing an existing Maven project with a parent and a maven-bundle-plugin g...
Status: CLOSED FIXED
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-02-09 14:03 EST by Edward Sargisson CLA
Modified: 2021-04-19 13:25 EDT (History)
1 user (show)

See Also:


Attachments
Stacktrace (2.31 KB, application/octet-stream)
2011-02-09 14:05 EST, Edward Sargisson CLA
no flags Details
Reproduction archive (762 bytes, application/x-gzip)
2011-02-09 14:07 EST, Edward Sargisson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Sargisson CLA 2011-02-09 14:03:38 EST
Build Identifier: 20100218-1602

Expected result:
The project should import without error and should contain the Maven Dependencies classpath container.

Actual Result:
NullPointerException and no Maven Dependencies classpath container.

Workaround:
Use m2eclipse 0.10.

Reproducible: Always

Steps to Reproduce:
1. In com.example run 'mvn install'. The 'The JAR is empty' error is expected.
2. In Eclipse, with m2eclipse 0.12.1, import an Existing Maven Project.
3. Select com.example/com.example.configuration.bus
Comment 1 Edward Sargisson CLA 2011-02-09 14:05:39 EST
Created attachment 188614 [details]
Stacktrace
Comment 2 Edward Sargisson CLA 2011-02-09 14:07:26 EST
Created attachment 188615 [details]
Reproduction archive
Comment 3 Edward Sargisson CLA 2011-02-09 14:08:44 EST
To help Google find this defect:
The NullPointerException is at:
org.apache.maven.plugin.DefaultPluginDescriptorCache$CacheKey.<init>(DefaultPluginDescriptorCache.java:165)
Comment 4 Igor Fedorenko CLA 2011-02-09 15:13:07 EST
This is a duplicate of https://issues.sonatype.org/browse/MNGECLIPSE-2555 and has been fixed in 0.13.0 already. Feel free to reopen this bugreport if you still see the problem with recent m2e 0.13.0 builds
Comment 5 Denis Roy CLA 2021-04-19 13:25:02 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/