java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NPE on multi-project buil
    via by takai,
  • 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)
    via by Scott Cytacki,
    • java.lang.NullPointerException at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1078)
    No Bugmate found.