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

Bug 346700

Summary: Elaborate recipe to get internal error from m2e
Product: z_Archived Reporter: benson margulies <bimargulies>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description benson margulies CLA 2011-05-20 10:54:27 EDT
Build Identifier: 20110519-1049

In the process of trying to set up a repro for another problem altogether, I accidently hit:

 An internal error occurred during: "Updating Maven Configuration".
org.eclipse.m2e.jdt.IClasspathEntryDescriptor.getClasspathEntry()Lorg/eclipse/jdt/core/IClasspathEntry; 

I'm pasting the whole repro even though it is probably non-minimal.


Reproducible: Always

Steps to Reproduce:
1. install eclipse-java-indigo-M7-macosx-cocoa-x86_64.tar.gz

  20110519-1049

2. run updates from Help

3. Created tag m2e-bugzilla-snapshot on github.com:bimargulies/m2e-code-quality.git so you can see
where this all comes from.

4. Install http://eclipse-cs.sf.net/update/
5. Install ttp://pmd.sourceforge.net/eclipse

6. installed from com.basistech.m2e.code.quality.site-0.13.0-SNAPSHOT-site.zip
  (this takes a rather a long time 'calculating requirements' and such)
7. clone http://github.com/apache/mahout (out at command level)
8. In eclipse, import/maven/existing projects for the mahout tree
9. leave all projects selected
10. 'next'
   I see 
     Packaging war (resolve later) (selected install wtp)
     maven-antrun (resolve later) (selected Do Not Execute) add to parent
     maven-jar (install mavenarchiver pomproperties)
11. Finish
12. Confirm on install mavenarchiver and WTP
13. restart
14. An internal error occurred during: "Updating Maven Configuration".
org.eclipse.m2e.jdt.IClasspathEntryDescriptor.getClasspathEntry()Lorg/eclipse/jdt/core/IClasspathEntry;
15. Now two errors:
  Description	Resource	Path	Location	Type
maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.	pom.xml	/mahout-examples
    line 54	Maven Project Build Lifecycle Mapping Problem
maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.	pom.xml	/mahout-utils
    line 82	Maven Project Build Lifecycle Mapping Problem

No quick fixes for exclusions.

and a warning:

 Description	Resource	Path	Location	Type
Project configuration is not up-to-date with pom.xml. Run project configuration update	mahout-taste-webapp		line 1	Maven Configuration Problem

even though I haven't edited anything.

Updating that project yields:

An internal error occurred during: "Updating Maven Configuration".
org.eclipse.m2e.jdt.IClasspathEntryDescriptor.getClasspathEntry()Lorg/eclipse/jdt/core/IClasspathEntry;
Comment 1 Igor Fedorenko CLA 2011-05-20 12:02:18 EDT
I believe this is closed in m2e-wtp already but I am not sure if there is a new build compatible with m2e rc1.

*** This bug has been marked as a duplicate of bug 344823 ***
Comment 2 Denis Roy CLA 2021-04-19 13:25:09 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/