Re: Violations cause a java.lang.IllegalStateException: cannot change build result while in COMPLETED

2016-05-31 Thread Amedee Van Gasse
I also have this error in Jenkins 2.7

On Tuesday, October 14, 2014 at 7:05:57 PM UTC+2, llaumgui wrote:
>
> Hi,
>
> with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project 
> on Jenkins, I have a successfull build, but a IllegalStateException caused 
> by Violations plugins cause a fail:
> INFO: 
> 
> INFO: EXECUTION SUCCESS
> INFO: 
> 
> Total time: 25.044s
> Final Memory: 17M/621M
> INFO: 
> 
> ERROR: Processing failed due to a bug in the code. Please report this to 
> jenkinsci-users@googlegroups.com
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
> at hudson.model.Run.setResult(Run.java:453)
> at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
> at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
> at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
> at hudson.model.Run.execute(Run.java:1754)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:89)
> at hudson.model.Executor.run(Executor.java:240)
> project=hudson.maven.MavenModuleSet@20ef6b76[blabla.services.core]
> project.getModules()=[hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]]
> project.getRootModule()=hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]
> FATAL: cannot change build result while in COMPLETED
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
> at hudson.model.Run.setResult(Run.java:453)
> at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
> at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
> at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
> at hudson.model.Run.execute(Run.java:1754)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:89)
> at hudson.model.Executor.run(Executor.java:240)
>
> Have you some idea ?
>
> Thx.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/41078e45-eab9-40f5-a96b-e3fd67fa128d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Violations cause a java.lang.IllegalStateException: cannot change build result while in COMPLETED

2015-10-26 Thread Carolina Guillen
Hi,
I have Jenkins 1.617.
When I run a Job that throw sonar maven plugin to analize my java code, I'm 
getting a similar error:

INFO] [13:46:07.291] ANALYSIS SUCCESSFUL, you can browse 
*http://sonarServer:9000/sonar* 
[DEBUG] [13:46:07.291] Post-jobs : com.report.reportQA@5b0a28a5 -> 
org.sonar.plugins.core.batch.IndexProjectPostJob@77f29754 -> 
org.sonar.plugins.dbcleaner.ProjectPurgePostJob@57ad4951
[INFO] [13:46:07.291] Executing post-job class ...
[DEBUG] [13:46:10.645] To prevent a memory leak, the JDBC Driver 
[net.sourceforge.jtds.jdbc.Driver] has been forcibly deregistered
[DEBUG] [13:46:10.645] Delete temporary directory: ..
[DEBUG] [13:46:10.723] Delete temporary directory: ...
[INFO] 

[INFO] Reactor Summary:
[INFO] 
[INFO] PATHER PROJECT SUCCESS [1.342s]
[INFO] MODULE_A ...  FAILURE 
[1:52.679s]
[INFO] MODULE_B. SUCCESS 
[3.635s]
[INFO] MODULE_C. SUCCESS 
[6.287s]
[INFO] MODULE _D SUCCESS 
[4.196s]
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 2:15.143s
[INFO] Finished at: Fri Oct 23 13:46:10 CEST 2015
[INFO] Final Memory: 57M/472M
[INFO] 

Waiting for Jenkins to finish collecting data
[ERROR] Internal error: java.lang.IllegalStateException: cannot change 
build result while in COMPLETED -> [Help 1] 
org.apache.maven.InternalErrorException: 
Internal error: java.lang.IllegalStateException: cannot change build result 
while in COMPLETED
at 
org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:325)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: cannot change build result 
while in COMPLETED
at hudson.model.Run.setResult(Run.java:462)
at hudson.maven.MavenBuild$ProxyImpl.setResult(MavenBuild.java:494)
at hudson.maven.MavenBuild$ProxyImpl2.setResult(MavenBuild.java:547)
at sun.reflect.GeneratedMethodAccessor390.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at hudson.model.Executor$2.call(Executor.java:889)
at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
at com.sun.proxy.$Proxy62.setResult(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5188.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at 

Re: Violations cause a java.lang.IllegalStateException: cannot change build result while in COMPLETED

2015-10-26 Thread Victor Martinez
Open ticket: https://issues.jenkins-ci.org/browse/JENKINS-28880

On Tuesday, 14 October 2014 19:05:57 UTC+2, llaumgui wrote:
>
> Hi,
>
> with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project 
> on Jenkins, I have a successfull build, but a IllegalStateException caused 
> by Violations plugins cause a fail:
> INFO: 
> 
> INFO: EXECUTION SUCCESS
> INFO: 
> 
> Total time: 25.044s
> Final Memory: 17M/621M
> INFO: 
> 
> ERROR: Processing failed due to a bug in the code. Please report this to 
> jenkinsci-users@googlegroups.com
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
> at hudson.model.Run.setResult(Run.java:453)
> at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
> at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
> at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
> at hudson.model.Run.execute(Run.java:1754)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:89)
> at hudson.model.Executor.run(Executor.java:240)
> project=hudson.maven.MavenModuleSet@20ef6b76[blabla.services.core]
> project.getModules()=[hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]]
> project.getRootModule()=hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]
> FATAL: cannot change build result while in COMPLETED
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
> at hudson.model.Run.setResult(Run.java:453)
> at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
> at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
> at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
> at hudson.model.Run.execute(Run.java:1754)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
> at hudson.model.ResourceController.execute(ResourceController.java:89)
> at hudson.model.Executor.run(Executor.java:240)
>
> Have you some idea ?
>
> Thx.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/848edd88-a49c-445b-b57c-4520f6de2ae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Violations cause a java.lang.IllegalStateException: cannot change build result while in COMPLETED

2014-10-27 Thread Mateusz Pszczolka
I had simmilar problem with Jenkins1.586. Downgroad to 1.579 helped. 

W dniu wtorek, 14 października 2014 19:05:57 UTC+2 użytkownik llaumgui 
napisał:

 Hi,

 with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project 
 on Jenkins, I have a successfull build, but a IllegalStateException caused 
 by Violations plugins cause a fail:
 INFO: 
 
 INFO: EXECUTION SUCCESS
 INFO: 
 
 Total time: 25.044s
 Final Memory: 17M/621M
 INFO: 
 
 ERROR: Processing failed due to a bug in the code. Please report this to 
 jenkinsci-users@googlegroups.com
 java.lang.IllegalStateException: cannot change build result while in 
 COMPLETED
 at hudson.model.Run.setResult(Run.java:453)
 at hudson.plugins.violations.ViolationsReport.setBuildResult(
 ViolationsReport.java:542)
 at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
 ViolationsMavenReporter.java:100)
 at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
 )
 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
 (MavenModuleSetBuild.java:846)
 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
 .java:533)
 at hudson.model.Run.execute(Run.java:1754)
 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
 at hudson.model.ResourceController.execute(ResourceController.java:89)
 at hudson.model.Executor.run(Executor.java:240)
 project=hudson.maven.MavenModuleSet@20ef6b76[blabla.services.core]
 project.getModules()=[hudson.maven.MavenModule@3ae75e2d[blabla.services.
 core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
 blabla:services.core][relativePath:]]
 project.getRootModule()=hudson.maven.MavenModule@3ae75e2d[blabla.services.
 core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
 blabla:services.core][relativePath:]
 FATAL: cannot change build result while in COMPLETED
 java.lang.IllegalStateException: cannot change build result while in 
 COMPLETED
 at hudson.model.Run.setResult(Run.java:453)
 at hudson.plugins.violations.ViolationsReport.setBuildResult(
 ViolationsReport.java:542)
 at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
 ViolationsMavenReporter.java:100)
 at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
 )
 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
 (MavenModuleSetBuild.java:846)
 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
 .java:533)
 at hudson.model.Run.execute(Run.java:1754)
 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
 at hudson.model.ResourceController.execute(ResourceController.java:89)
 at hudson.model.Executor.run(Executor.java:240)

 Have you some idea ?

 Thx.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Violations cause a java.lang.IllegalStateException: cannot change build result while in COMPLETED

2014-10-14 Thread llaumgui
Hi,

with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project on 
Jenkins, I have a successfull build, but a IllegalStateException caused by 
Violations plugins cause a fail:
INFO: 

INFO: EXECUTION SUCCESS
INFO: 

Total time: 25.044s
Final Memory: 17M/621M
INFO: 

ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-users@googlegroups.com
java.lang.IllegalStateException: cannot change build result while in 
COMPLETED
at hudson.model.Run.setResult(Run.java:453)
at hudson.plugins.violations.ViolationsReport.setBuildResult(
ViolationsReport.java:542)
at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
ViolationsMavenReporter.java:100)
at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(
MavenModuleSetBuild.java:846)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.
java:533)
at hudson.model.Run.execute(Run.java:1754)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
project=hudson.maven.MavenModuleSet@20ef6b76[blabla.services.core]
project.getModules()=[hudson.maven.MavenModule@3ae75e2d[blabla.services.core
/com.blabla.blabla:services.core][blabla.services.core/com.blabla.blabla:
services.core][relativePath:]]
project.getRootModule()=hudson.maven.MavenModule@3ae75e2d[blabla.services.
core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.blabla
:services.core][relativePath:]
FATAL: cannot change build result while in COMPLETED
java.lang.IllegalStateException: cannot change build result while in 
COMPLETED
at hudson.model.Run.setResult(Run.java:453)
at hudson.plugins.violations.ViolationsReport.setBuildResult(
ViolationsReport.java:542)
at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
ViolationsMavenReporter.java:100)
at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(
MavenModuleSetBuild.java:846)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.
java:533)
at hudson.model.Run.execute(Run.java:1754)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Have you some idea ?

Thx.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


build.log
Description: Binary data