maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Cytacki (JIRA)" <>
Subject [jira] Created: (MNGECLIPSE-184) invalid relativePath references in pom causes an incorrectly handled NPE
Date Fri, 18 Aug 2006 16:03:48 GMT
invalid relativePath references in pom causes an incorrectly handled NPE

                 Key: MNGECLIPSE-184
             Project: Maven 2.x Extension for Eclipse
          Issue Type: Bug
            Reporter: Scott Cytacki
         Assigned To: Eugene Kuleshov

If the project.parent.relativePath is not valid the following NPE is thrown.  The m2eclispe
plugin currently handles this by displaying an error on the pom with a descrption of NullPointerException.
  It seems this is a bug in the maven embedder, but in the meantime the m2eclipse plugin could
at least log the exception better. 

	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(
	at org.apache.maven.embedder.MavenEmbedder.readProjectWithDependencies(
	at org.maven.ide.eclipse.Maven2Plugin$
	at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(
	at org.maven.ide.eclipse.Maven2Plugin.resolveClasspathEntries(
	at org.maven.ide.eclipse.Maven2Plugin.resolveClasspathEntries(
	at org.maven.ide.eclipse.container.Maven2ClasspathContainerInitializer$

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message