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

Test Results Emailer jobs stop working (NoSuchMethodError)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major

      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

            alecharp Adrien Lecharpentier
            bschne15 Bruce Schneider
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: