java.lang.NullPointerException

continuum-users | takai | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE on multi-project buil

    continuum-users | 1 decade ago | takai
    java.lang.NullPointerException
  2. 0

    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)

    Sonatype JIRA | 1 decade ago | Scott Cytacki
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage()
    2. Maven
      DefaultMavenProjectBuilder.assembleLineage
      1. org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1078)
      1 frame