maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kuleshov (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNGECLIPSE-184) invalid relativePath references in pom causes an incorrectly handled NPE
Date Thu, 31 Aug 2006 00:20:49 GMT
     [ 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

        

Mime
View raw message