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

Publisher hudson.tasks.Mailer aborted due to exception

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.352, Perforce plugin 1.0.24
    • Similar Issues:

      Description

      In a couple of recent builds, I received messages like this:

      ERROR: Publisher hudson.tasks.Mailer aborted due to exception

      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:41)
      at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97)
      at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:465)
      at hudson.tasks.MailSender.buildCulpritList(MailSender.java:357)
      at hudson.tasks.MailSender.createEmptyMail(MailSender.java:338)
      at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:156)
      at hudson.tasks.MailSender.getMail(MailSender.java:147)
      at hudson.tasks.MailSender.execute(MailSender.java:81)
      at hudson.tasks.Mailer.perform(Mailer.java:101)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1263)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

      The projects it happened for were new (in Hudson) and had rather many changes in the depot (because they're old). Some of the users involved might not exist anymore (didn't check, but it's plausible given the age of the projects).
      Feel free to make the summary more accurately reflect what causes the problem (number of changes / users not existing).

        Attachments

          Activity

          torbent torbent created issue -
          torbent torbent made changes -
          Field Original Value New Value
          Description In a couple of recent builds, I received messages like this:


          ERROR: Publisher hudson.tasks.Mailer aborted due to exception

          java.lang.NullPointerException

          at hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:41)

          at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97)

          at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:465)

          at hudson.tasks.MailSender.buildCulpritList(MailSender.java:357)

          at hudson.tasks.MailSender.createEmptyMail(MailSender.java:338)

          at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:156)

          at hudson.tasks.MailSender.getMail(MailSender.java:147)

          at hudson.tasks.MailSender.execute(MailSender.java:81)

          at hudson.tasks.Mailer.perform(Mailer.java:101)

          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)

          at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)

          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)

          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)

          at hudson.model.Build$RunnerImpl.post2(Build.java:152)

          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)

          at hudson.model.Run.run(Run.java:1263)

          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)

          at hudson.model.ResourceController.execute(ResourceController.java:88)

          at hudson.model.Executor.run(Executor.java:122)



          The projects it happened for were new (in Hudson) and had rather many changes in the depot (because they're old). Some of the users involved might not exist anymore (didn't check, but it's plausible given the age of the projects).
          Feel free to make the summary more accurately reflect what causes the problem (number of changes / users not existing).
          In a couple of recent builds, I received messages like this:


          ERROR: Publisher hudson.tasks.Mailer aborted due to exception

          java.lang.NullPointerException
          at hudson.plugins.perforce.PerforceMailResolver.findMailAddressFor(PerforceMailResolver.java:41)
          at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:97)
          at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:465)
          at hudson.tasks.MailSender.buildCulpritList(MailSender.java:357)
          at hudson.tasks.MailSender.createEmptyMail(MailSender.java:338)
          at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:156)
          at hudson.tasks.MailSender.getMail(MailSender.java:147)
          at hudson.tasks.MailSender.execute(MailSender.java:81)
          at hudson.tasks.Mailer.perform(Mailer.java:101)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
          at hudson.model.Build$RunnerImpl.post2(Build.java:152)
          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
          at hudson.model.Run.run(Run.java:1263)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:122)

          The projects it happened for were new (in Hudson) and had rather many changes in the depot (because they're old). Some of the users involved might not exist anymore (didn't check, but it's plausible given the age of the projects).
          Feel free to make the summary more accurately reflect what causes the problem (number of changes / users not existing).
          rpetti Rob Petti made changes -
          Assignee rpetti [ rpetti ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rpetti Rob Petti made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          torbent torbent made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136172 ] JNJira + In-Review [ 203886 ]

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              torbent torbent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: