Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8525

NPE during in parsing POMs for Multi Module Build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Debian Linux, Hudson 1.394, LANG=de_DE.UTF-8

      After update from 1.393 to 1394 to following NullPointerException appears in the log:

      Gestartet durch Benutzer hudson
      [patterntesting-check] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      [patterntesting-check-ct] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      [patterntesting-check-rt] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      [patterntesting-concurrent] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      ? hs_err_pid25523.log
      [patterntesting-exception] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      [patterntesting-libs] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      [patterntesting-rt] $ cvs -q -z3 update -PdC -D "Monday, January 17, 2011 10:54:47 AM UTC"
      $ no changes detected
      Found mavenVersion 2.2.1 from file jar:file:/usr/local/maven-2/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
      Parsing POMs
      ERROR: Processing failed due to a bug in the code. Please report this to hudson-users@googlegroups.com
      java.lang.NullPointerException
      at hudson.FilePath.isAbsolute(FilePath.java:224)
      at hudson.FilePath.<init>(FilePath.java:212)
      at hudson.FilePath.child(FilePath.java:894)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:554)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      at hudson.model.Run.run(Run.java:1362)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      project=hudson.maven.MavenModuleSet@7dab2e5f[10-patterntesting-libs-site]
      project.getModules()=[hudson.maven.MavenModule@69beea90[10-patterntesting-libs-site/org.patterntesting:patterntesting-check][10-patterntesting-libs-site/org.patterntesting:patterntesting-check][relativePath:null], hudson.maven.MavenModule@7519ca2c[10-patterntesting-libs-site/org.patterntesting:patterntesting-check-ct][10-patterntesting-libs-site/org.patterntesting:patterntesting-check-ct][relativePath:null], hudson.maven.MavenModule@70284ac3[10-patterntesting-libs-site/org.patterntesting:patterntesting-check-rt][10-patterntesting-libs-site/org.patterntesting:patterntesting-check-rt][relativePath:null], hudson.maven.MavenModule@654481bb[10-patterntesting-libs-site/org.patterntesting:patterntesting-concurrent][10-patterntesting-libs-site/org.patterntesting:patterntesting-concurrent][relativePath:null], hudson.maven.MavenModule@74a14fed[10-patterntesting-libs-site/org.patterntesting:patterntesting-exception][10-patterntesting-libs-site/org.patterntesting:patterntesting-exception][relativePath:null], hudson.maven.MavenModule@a868c6d[10-patterntesting-libs-site/org.patterntesting:patterntesting-libs][10-patterntesting-libs-site/org.patterntesting:patterntesting-libs][relativePath:], hudson.maven.MavenModule@76d4d81[10-patterntesting-libs-site/org.patterntesting:patterntesting-rt][10-patterntesting-libs-site/org.patterntesting:patterntesting-rt][relativePath:null]]
      project.getRootModule()=hudson.maven.MavenModule@a868c6d[10-patterntesting-libs-site/org.patterntesting:patterntesting-libs][10-patterntesting-libs-site/org.patterntesting:patterntesting-libs][relativePath:]
      FATAL: null
      java.lang.NullPointerException
      at hudson.FilePath.isAbsolute(FilePath.java:224)
      at hudson.FilePath.<init>(FilePath.java:212)
      at hudson.FilePath.child(FilePath.java:894)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:554)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      at hudson.model.Run.run(Run.java:1362)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

      The same error messages appears if Maven-3 is used for this project.

            olamy Olivier Lamy
            oli_b oli_b
            Votes:
            13 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: