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

email notification can not send out whether the build is success or failed

      Email can not send out, error info as follows:
      Email was triggered for: Success
      Sending email for trigger: Success
      ERROR: Could not send email as a part of the post-build publishers.
      java.lang.NullPointerException

      or

      Email was triggered for: Success
      Sending email for trigger: Success
      ERROR: Could not send email as a part of the post-build publishers.
      java.lang.NullPointerException
      at java.util.regex.Matcher.quoteReplacement(Matcher.java:598)
      at hudson.plugins.emailext.plugins.ContentBuilder$Tokenizer.appendReplacement(ContentBuilder.java:195)
      at hudson.plugins.emailext.plugins.ContentBuilder.replaceTokensWithContent(ContentBuilder.java:96)
      at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:67)
      at hudson.plugins.emailext.ExtendedEmailPublisher.setContent(ExtendedEmailPublisher.java:369)
      at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:274)
      at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:220)
      at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:212)
      at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:174)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
      at hudson.model.Run.run(Run.java:1420)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)
      Finished: SUCCESS

          [JENKINS-13819] email notification can not send out whether the build is success or failed

          pangpang wanzi created issue -

          Jason Swager added a comment -

          I'm seeing this same behavior with Jenkins 1.464 and EmailExt 2.21

          Jason Swager added a comment - I'm seeing this same behavior with Jenkins 1.464 and EmailExt 2.21

          Alex Earl added a comment -

          Please post screenshots of config (global, project and triggers if you have them).

          Alex Earl added a comment - Please post screenshots of config (global, project and triggers if you have them).

          Alex Earl added a comment -

          Also a config.xml for the job would be useful.

          Alex Earl added a comment - Also a config.xml for the job would be useful.
          Alex Earl made changes -
          Assignee New: Alex Earl [ slide_o_mix ]

          email setting

          pangpang wanzi added a comment - email setting
          pangpang wanzi made changes -
          Attachment New: screenshot-1.jpg [ 21849 ]

          pangpang wanzi added a comment - - edited

          config file upload

          pangpang wanzi added a comment - - edited config file upload
          pangpang wanzi made changes -
          Attachment New: config.xml [ 21850 ]

          Alex Earl added a comment -

          What version of the plugin are you using?

          Alex Earl added a comment - What version of the plugin are you using?

            slide_o_mix Alex Earl
            pangpangwanzi pangpang wanzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: