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

Fatal error with coming Jenkins ver. 1.577




      I updated to the RC build of Jenkins: Jenkins ver. 1.577-SNAPSHOT (rc-08/21/2014 13:41 GMT-jenkins)

      The problem with the email-ext plugin here is the following fatal error on sending e-mail after failed build:

      Build step 'Invoke Ant' marked build as failure
      [description-setter] Description set: Java: 64bit/jdk1.7.0_67 -XX:-UseCompressedOops -XX:+UseParallelGC
      Archiving artifacts
      Recording test results
      Email was triggered for: Failure - Any
      Sending email for trigger: Failure - Any
      ERROR: Publisher hudson.plugins.emailext.ExtendedEmailPublisher aborted due to exception
      java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
      	at hudson.plugins.emailext.plugins.content.FailedTestsContent.evaluate(FailedTestsContent.java:47)
      	at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:189)
      	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182)
      	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
      	at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:71)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:597)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:476)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:290)
      	at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:281)
      	at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:233)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      	at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      	at hudson.model.Run.execute(Run.java:1786)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
      Finished: FAILURE

      This is caused by a signature change of the return type of this method in this commit to Jenkins core:


      I am not sure how to fix this, reflection might be an option. Another option is to build a new version of this plugin.


        Issue Links


            thetaphi Uwe Schindler created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Assignee Alex Earl [ slide_o_mix ] Jesse Glick [ jglick ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-24413 [ JENKINS-24413 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-24478 [ JENKINS-24478 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-24507 [ JENKINS-24507 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 157318 ] JNJira + In-Review [ 195681 ]


              jglick Jesse Glick
              thetaphi Uwe Schindler
              0 Vote for this issue
              8 Start watching this issue