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

NPE during in parsing POMs for Multi Module Build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Debian Linux, Hudson 1.394, LANG=de_DE.UTF-8
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            marco_rothe 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.

            Show
            marco_rothe 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.
            Hide
            ndg ndg added a comment -

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

            Show
            ndg ndg added a comment - Still occurs in version 1.399 -> please release this in next version...
            Hide
            marco_rothe 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"

            Show
            marco_rothe 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"
            Hide
            ndg 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!

            Show
            ndg 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!
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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

              People

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

                Dates

                Created:
                Updated:
                Resolved: