java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;

Jenkins JIRA | Andrea Barbieri | 2 years ago
  1. 0

    When evaluating the CI Game at the end of my build, I'm getting the following exception: [ci-game] evaluating rule: Build result [ci-game] scored: 1.0 [ci-game] evaluating rule: Increased number of passed tests ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49) at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70) at hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45) 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.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)

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

    the ci-game plugin is throwing the following exception: {noformat} Recording test results [ci-game] evaluating rule: Build result [ci-game] scored: 1.0 [ci-game] evaluating rule: Increased number of passed tests ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49) at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70) at hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45) 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.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) {noformat} if required I can dig into the historical logs to determine which version of Jenkins started to generate the above exception.

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

    When evaluating the CI Game at the end of my build, I'm getting the following exception: [ci-game] evaluating rule: Build result [ci-game] scored: 1.0 [ci-game] evaluating rule: Increased number of passed tests ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49) at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70) at hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45) 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.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)

    Jenkins JIRA | 2 years ago | Eric Masson
    java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    the ci-game plugin is throwing the following exception: {noformat} Recording test results [ci-game] evaluating rule: Build result [ci-game] scored: 1.0 [ci-game] evaluating rule: Increased number of passed tests ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49) at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70) at hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45) 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.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) {noformat} if required I can dig into the historical logs to determine which version of Jenkins started to generate the above exception.

    Jenkins JIRA | 2 years ago | Andrea Barbieri
    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.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;

      at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults()
    2. hudson.plugins.cigame
      GamePublisher.perform
      1. hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49)
      2. hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70)
      3. hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102)
      4. hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45)
      5. hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122)
      6. hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60)
      7. hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
      7 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      4. hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      5. hudson.model.Run.execute(Run.java:1786)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      7. hudson.model.ResourceController.execute(ResourceController.java:89)
      8. hudson.model.Executor.run(Executor.java:240)
      8 frames