java.lang.IllegalStateException: cannot change build result <span class="code-keyword" style="color: #000091">while</span> in COMPLETED

Google Groups | mart...@java.net (JIRA) | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] [violations-plugin] (JENKINS-28880) Maven builds fail with "IllegalStateException: cannot change build result while in COMPLETED"

    Google Groups | 2 years ago | mart...@java.net (JIRA)
    java.lang.IllegalStateException: cannot change build result <span class="code-keyword" style="color: #000091">while</span> in COMPLETED
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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.IllegalStateException

      cannot change build result <span class="code-keyword" style="color: #000091">while</span> in COMPLETED

      at hudson.model.Run.setResult()
    2. Hudson
      Run.setResult
      1. hudson.model.Run.setResult(Run.java:462)
      1 frame
    3. hudson.plugins.violations
      ViolationsMavenReporter.end
      1. hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542)
      2. hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100)
      2 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104)
      2. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:865)
      2 frames
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      2. hudson.model.Run.execute(Run.java:1741)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:374)
      2 frames