You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org> on 2006/08/31 02:20:49 UTC
[jira] Updated: (MNGECLIPSE-184) invalid relativePath references in
pom causes an incorrectly handled NPE
[ http://jira.codehaus.org/browse/MNGECLIPSE-184?page=all ]
Eugene Kuleshov updated MNGECLIPSE-184:
---------------------------------------
Assignee: (was: Eugene Kuleshov)
> invalid relativePath references in pom causes an incorrectly handled NPE
> ------------------------------------------------------------------------
>
> Key: MNGECLIPSE-184
> URL: http://jira.codehaus.org/browse/MNGECLIPSE-184
> Project: Maven 2.x Extension for Eclipse
> Issue Type: Bug
> Reporter: Scott Cytacki
>
> 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.
> java.lang.NullPointerException
> at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1075)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:676)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:418)
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:194)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:305)
> at org.apache.maven.embedder.MavenEmbedder.readProjectWithDependencies(MavenEmbedder.java:330)
> at org.maven.ide.eclipse.Maven2Plugin$ReadProjectTask.run(Maven2Plugin.java:577)
> at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:185)
> at org.maven.ide.eclipse.Maven2Plugin.resolveClasspathEntries(Maven2Plugin.java:388)
> at org.maven.ide.eclipse.Maven2Plugin.resolveClasspathEntries(Maven2Plugin.java:461)
> at org.maven.ide.eclipse.container.Maven2ClasspathContainerInitializer$1.run(Maven2ClasspathContainerInitializer.java:83)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira