Test Results Emailer jobs stop working (NoSuchMethodError)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Environment:

      Emailer tasks stopped working after installing Jenkins 2.361

      Error:

      java.lang.NoSuchMethodError: 'jenkins.plugins.mailer.tasks.MimeMessageBuilder

       

      Background:  We've used the Test Aggregator Plugin email for many months to inform the development teams and managers on testing results.  With the install of 2.361 and the recommended SSH security plugin updates, the emailer jobs failed.

       

      Troubleshooting we've tried (all failed):

      Confirmed working

      • Email "Test Connection" from Manage Jenkins > Configure

      Plugin versions:

       

      Console Log Error:

      ERROR: Step 'Aggregate Test Results' aborted due to exception: 
      java.lang.NoSuchMethodError: 'jenkins.plugins.mailer.tasks.MimeMessageBuilder jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(java.lang.String, javax.mail.Message$RecipientType)'
          at com.jenkins.testresultsaggregator.reporter.MailNotification.send(MailNotification.java:79)
          at com.jenkins.testresultsaggregator.reporter.Reporter.publishResuts(Reporter.java:92)
          at com.jenkins.testresultsaggregator.TestResultsAggregator.perform(TestResultsAggregator.java:221)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
          at hudson.model.Build$BuildExecution.post2(Build.java:179)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:709)
          at hudson.model.Run.execute(Run.java:1924)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
          at hudson.model.ResourceController.execute(ResourceController.java:107)
          at hudson.model.Executor.run(Executor.java:449)
      Finished: FAILURE

            Assignee:
            Adrien Lecharpentier
            Reporter:
            Bruce Schneider
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: