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

NPE from MailSender.createEmptyMail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • mailer-plugin
    • None
    • Centos 6.4/Tomcat 7.42

      Hello,

      When I create a maven build it does not save the email recipients. I do not have any email plugins installed.

      At the end of the build it does a npe:

      FATAL: null
      java.lang.NullPointerException
      at java.util.StringTokenizer.<init>(StringTokenizer.java:199)
      at java.util.StringTokenizer.<init>(StringTokenizer.java:236)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:326)
      at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:175)
      at hudson.tasks.MailSender.getMail(MailSender.java:166)
      at hudson.tasks.MailSender.execute(MailSender.java:100)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1038)
      at hudson.model.Run.execute(Run.java:1723)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)

            Unassigned Unassigned
            gregh3269 Greg Huber
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: