• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • maven-plugin
    • None
    • Hudson 1.392 on Windows server 2008

      Maven job build that runs on master ends with NPE while sending mails??

      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 262 minutes 52 seconds
      [INFO] Finished at: Thu Jan 06 04:47:20 IST 2011
      [INFO] Final Memory: 308M/930M
      [INFO] ------------------------------------------------------------------------
      Waiting for Hudson to finish collecting data
      Sending e-mails to: xxx@yyy.com jjj@yyy.com
      channel stopped
      FATAL: null
      java.lang.NullPointerException
      at java.lang.String.startsWith(String.java:1421)
      at java.lang.String.startsWith(String.java:1450)
      at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:213)
      at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:182)
      at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:176)
      at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:51)
      at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:164)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:316)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1274)
      at hudson.model.User.getProjects(User.java:381)
      at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:496)
      at hudson.tasks.MailSender.buildCulpritList(MailSender.java:383)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:345)
      at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:169)
      at hudson.tasks.MailSender.getMail(MailSender.java:160)
      at hudson.tasks.MailSender.execute(MailSender.java:94)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:772)
      at hudson.model.Run.run(Run.java:1405)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

          [JENKINS-8436] Successful build ends with NPE

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/core/cc0113dafdd1e1c0048d9230eb91ab2b15fe0588
          Log:
          JENKINS-8436 Successful build ends with NPE
          Submitted by Marco Rothe

          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/cc0113dafdd1e1c0048d9230eb91ab2b15fe0588 Log: JENKINS-8436 Successful build ends with NPE Submitted by Marco Rothe

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/core/cc0113dafdd1e1c0048d9230eb91ab2b15fe0588
          Log:
          JENKINS-8436 Successful build ends with NPE
          Submitted by Marco Rothe

          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/cc0113dafdd1e1c0048d9230eb91ab2b15fe0588 Log: JENKINS-8436 Successful build ends with NPE Submitted by Marco Rothe

          Olivier Lamy added a comment -

          patch pushed.
          Thanks !

          Olivier Lamy added a comment - patch pushed. Thanks !

          dogfood added a comment -

          Integrated in jenkins_main_trunk #569
          JENKINS-8436 Successful build ends with NPE

          Olivier Lamy : cc0113dafdd1e1c0048d9230eb91ab2b15fe0588
          Files :

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

          dogfood added a comment - Integrated in jenkins_main_trunk #569 JENKINS-8436 Successful build ends with NPE Olivier Lamy : cc0113dafdd1e1c0048d9230eb91ab2b15fe0588 Files : maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java

          Marco Rothe added a comment -

          @Liya Katz: Can you check with the latest master (checkout from git) if your kind of huge multi-module maven project build completely successful with the new patch applied?

          With the release of 1.402 it will become public.

          Marco Rothe added a comment - @Liya Katz: Can you check with the latest master (checkout from git ) if your kind of huge multi-module maven project build completely successful with the new patch applied? With the release of 1.402 it will become public.

          Olivier Lamy added a comment -

          for testing I have pushed a war here : http://people.apache.org/~olamy/jenkins/

          Olivier Lamy added a comment - for testing I have pushed a war here : http://people.apache.org/~olamy/jenkins/

          Liya Katz added a comment -

          Seems like the test war does the job! Thanks for the patch. I will run more tests with different jobs.
          When will be released officially?

          Liya Katz added a comment - Seems like the test war does the job! Thanks for the patch. I will run more tests with different jobs. When will be released officially?

          Olivier Lamy added a comment -

          in 1.402

          Olivier Lamy added a comment - in 1.402

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/jenkins/c0643de268125c766e79b96087a0df357bc49576
          Log:
          JENKINS-8436 Successful build ends with NPE
          Submitted by Marco Rothe

          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/jenkins/c0643de268125c766e79b96087a0df357bc49576 Log: JENKINS-8436 Successful build ends with NPE Submitted by Marco Rothe

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/MavenModuleSetBuild.java
          http://jenkins-ci.org/commit/maven-plugin/a5ec140e4a03eb1d48fd98b5b41e1fbab6a355a4
          Log:
          JENKINS-8436 Successful build ends with NPE
          Submitted by Marco Rothe

          Originally-Committed-As: cc0113dafdd1e1c0048d9230eb91ab2b15fe0588

          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/a5ec140e4a03eb1d48fd98b5b41e1fbab6a355a4 Log: JENKINS-8436 Successful build ends with NPE Submitted by Marco Rothe Originally-Committed-As: cc0113dafdd1e1c0048d9230eb91ab2b15fe0588

            olamy Olivier Lamy
            liyatikal liyatikal
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: