java.lang.NoSuchMethodError: hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;

Jenkins JIRA | John Wynne | 1 year ago
  1. 0

    I installed the Lotus Connections plugin successfully. I could add it to a job config as a post build task, but when I saved the config I got the following stacktrace: {{javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.model.Project#publishers for class hudson.model.FreeStyleProject at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)}} See full stack trace in AddLotusConnectionsPluginStackTrace.txt. But the post build task remains and you are able to run the job. Running the job with the plugin added produces the following in the console output: {{Performing Lotus Connections Magic url = https://w3-connections.ibm.com/ user = [USER_EMAIL] ERROR: Publisher 'Lotus Connections Notifications' aborted due to exception: java.lang.NoSuchMethodError: hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction; at com.ibm.ConnectionsPlugin.createForumTitle(ConnectionsPlugin.java:136) at com.ibm.ConnectionsPlugin.perform(ConnectionsPlugin.java:94) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381)}} Finally, when you enter the config, delete the Lotus Connections post build task and try to save the config you get a similar but not identical stack trace to when you add the plugin to a job: see RemoveLotusConnectionsPlugStackTrace

    Jenkins JIRA | 1 year ago | John Wynne
    java.lang.NoSuchMethodError: hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;
  2. 0

    I installed the Lotus Connections plugin successfully. I could add it to a job config as a post build task, but when I saved the config I got the following stacktrace: {{javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.model.Project#publishers for class hudson.model.FreeStyleProject at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)}} See full stack trace in AddLotusConnectionsPluginStackTrace.txt. But the post build task remains and you are able to run the job. Running the job with the plugin added produces the following in the console output: {{Performing Lotus Connections Magic url = https://w3-connections.ibm.com/ user = [USER_EMAIL] ERROR: Publisher 'Lotus Connections Notifications' aborted due to exception: java.lang.NoSuchMethodError: hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction; at com.ibm.ConnectionsPlugin.createForumTitle(ConnectionsPlugin.java:136) at com.ibm.ConnectionsPlugin.perform(ConnectionsPlugin.java:94) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381)}} Finally, when you enter the config, delete the Lotus Connections post build task and try to save the config you get a similar but not identical stack trace to when you add the plugin to a job: see RemoveLotusConnectionsPlugStackTrace

    Jenkins JIRA | 1 year ago | John Wynne
    java.lang.NoSuchMethodError: hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;
  3. 0

    [JIRA] (JENKINS-39980) Exception error while run Job with HP ALM Quality Center plugin

    Google Groups | 2 weeks ago | lalt...@gmail.com (JIRA)
    java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;<br>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build-status notifiers fail with the same exception: WARNING: Publisher hudson.plugins.jabber.im.transport.JabberPublisher aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at hudson.plugins.im.build_notify.PrintFailingTestsBuildToChatNotifier.getFailedTestsReport(PrintFailingTestsBuildToChatNotifier.java:68) at hudson.plugins.im.build_notify.PrintFailingTestsBuildToChatNotifier.buildCompletionMessage(PrintFailingTestsBuildToChatNotifier.java:37) at hudson.plugins.im.IMPublisher.notifyChatsOnBuildEnd(IMPublisher.java:577) at hudson.plugins.im.IMPublisher.notifyOnBuildEnd(IMPublisher.java:304) at hudson.plugins.im.IMPublisher.perform(IMPublisher.java:291) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) OR WARNING: 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)

    Jenkins JIRA | 2 years ago | Riccardo Gorza
    java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
  6. 0

    Not able to trigger JiraTestResultReporter plugin on Post Build Action in Jenkins

    Stack Overflow | 1 year ago | AdityaK
    java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      hudson/model/AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;

      at com.ibm.ConnectionsPlugin.createForumTitle()
    2. com.ibm
      ConnectionsPlugin.perform
      1. com.ibm.ConnectionsPlugin.createForumTitle(ConnectionsPlugin.java:136)
      2. com.ibm.ConnectionsPlugin.perform(ConnectionsPlugin.java:94)
      2 frames
    3. Hudson
      ResourceController.execute
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      8 frames