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

NPE during in parsing POMs for Multi Module Build

    • 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.

          [JENKINS-8525] NPE during in parsing POMs for Multi Module Build

          Marco Rothe added a comment - - edited

          Seams to be the same problem as http://issues.jenkins-ci.org/browse/JENKINS-8602. Maybe introduced by the refactoring of the toPomInfo method because of the maven3 stuff

          Marco Rothe added a comment - - edited Seams to be the same problem as http://issues.jenkins-ci.org/browse/JENKINS-8602 . Maybe introduced by the refactoring of the toPomInfo method because of the maven3 stuff

          ibruell added a comment -

          I upgraded to jenkins 1.397 and the problem still exists.

          ibruell added a comment - I upgraded to jenkins 1.397 and the problem still exists.

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/core/be09ca67a6237cd176dd9e8562ae86adb85a38f0
          Log:
          [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/core/be09ca67a6237cd176dd9e8562ae86adb85a38f0 Log: [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/core/14161627eacfaea2f994411d073b9ec32ab96d47
          Log:
          changelog for JENKINS-8525

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/core/14161627eacfaea2f994411d073b9ec32ab96d47 Log: changelog for JENKINS-8525

          dogfood added a comment -

          Integrated in jenkins_main_trunk #525
          [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build
          changelog for JENKINS-8525

          Olivier Lamy :
          Files :

          • maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java

          Olivier Lamy :
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #525 [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build changelog for JENKINS-8525 Olivier Lamy : Files : maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java Olivier Lamy : Files : changelog.html

          Marco Rothe added a comment -

          Works for me now (build starts with sucess with 1.400-SNAPSHOT), but some of the related bugs are still open.

          Marco Rothe added a comment - Works for me now (build starts with sucess with 1.400-SNAPSHOT), but some of the related bugs are still open.

          ndg added a comment -

          Still occurs in version 1.399 -> please release this in next version...

          ndg added a comment - Still occurs in version 1.399 -> please release this in next version...

          Marco Rothe added a comment -

          The patch (see JENKINS-7684) was applied to the master 1.400-SNAPSHOT => so with the release of 1.400 it will become "public"

          Marco Rothe added a comment - The patch (see JENKINS-7684 ) was applied to the master 1.400-SNAPSHOT => so with the release of 1.400 it will become "public"

          ndg added a comment -

          Ok. I was just looking when this would occur as I did not see a Fix Version nor a roadmap version v1.400 with a due date.

          Thnx for the efforts!

          ndg added a comment - Ok. I was just looking when this would occur as I did not see a Fix Version nor a roadmap version v1.400 with a due date. Thnx for the efforts!

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/maven-plugin/337b8729636310ff725964025f9cbda7583dfa81
          Log:
          [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build

          Originally-Committed-As: be09ca67a6237cd176dd9e8562ae86adb85a38f0

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/MavenModuleSetBuild.java http://jenkins-ci.org/commit/maven-plugin/337b8729636310ff725964025f9cbda7583dfa81 Log: [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build Originally-Committed-As: be09ca67a6237cd176dd9e8562ae86adb85a38f0

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

              Created:
              Updated:
              Resolved: