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

send email fails with NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • maven-plugin
    • None
    • linux client-slave setup with
       - hudson 1.380
       - email-ext 2.9
       - svn-plugin 1.17

      I get following Exception after a successfull build.

      This seems to occure since i changed the SVN Plugin from polling to push via a post-commit script. It looks like it's doing something with the ChangeLogs. The Changes are displayed correctly, but don't know if the internal repesentation has chaned thru the push strategy.

      Any other Ideas for a workaround? ( Beside deactivation )
      LOG:
      [...]
      Sending email for trigger: Still Unstable
      ERROR: Could not send email as a part of the post-build publishers.
      java.lang.NullPointerException
      at java.lang.String.startsWith(String.java:1433)
      at java.lang.String.startsWith(String.java:1462)
      at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:178)
      at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:147)
      at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:141)
      at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:51)
      at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:161)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315)
      at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1232)
      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.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:278)
      at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:212)
      at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:204)
      at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:165)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:625)
      at hudson.model.Run.run(Run.java:1322)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:140)

            kutzi kutzi
            rainerweinhold rainerweinhold
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: