[JIRA] [core] (JENKINS-25406) Some post step build result in IllegalStateException

2014-11-02 Thread step...@blackbuild.com (JIRA)














































Stephan Pauxberger
 created  JENKINS-25406


Some post step build result in IllegalStateException















Issue Type:


Bug



Assignee:


Sonar Team



Components:


core, sonar, violations-plugin



Created:


02/Nov/14 9:57 PM



Description:


This one seems to be rather tricky.

After upgrade to 1.587, I saw this exception during the the run of the sonar plugin in a post step:


20:19:33 Warte bis Jenkins die Datensammlung abgeschlossen hat
20:19:33 [ERROR] Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED - [Help 1]
20:19:33 org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED
20:19:33 	at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
20:19:33 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
20:19:33 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
20:19:33 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
20:19:33 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
20:19:33 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
20:19:33 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
20:19:33 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
20:19:33 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:19:33 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:19:33 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:19:33 	at java.lang.reflect.Method.invoke(Method.java:597)
20:19:33 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
20:19:33 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
20:19:33 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
20:19:33 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:19:33 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
20:19:33 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
20:19:33 	at java.lang.reflect.Method.invoke(Method.java:597)
20:19:33 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
20:19:33 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
20:19:33 	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
20:19:33 	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
20:19:33 	at hudson.remoting.Request$2.run(Request.java:324)
20:19:33 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
20:19:33 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
20:19:33 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
20:19:33 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
20:19:33 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
20:19:33 	at java.lang.Thread.run(Thread.java:662)
20:19:33 Caused by: java.lang.IllegalStateException: cannot change build result while in COMPLETED
20:19:33 	at hudson.model.Run.setResult(Run.java:458)
20:19:33 	at hudson.maven.MavenBuild$ProxyImpl.setResult(MavenBuild.java:494)
20:19:33 	at hudson.maven.MavenBuild$ProxyImpl2.setResult(MavenBuild.java:547)
20:19:33 	at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source)
20:19:33 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:19:33 	at java.lang.reflect.Method.invoke(Method.java:483)
20:19:33 	at hudson.model.Executor$1.call(Executor.java:579)
20:19:33 	at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
20:19:33 	at com.sun.proxy.$Proxy91.setResult(Unknown Source)
20:19:33 	at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source)

[JIRA] [core] (JENKINS-25406) Some post step build result in IllegalStateException

2014-11-02 Thread step...@blackbuild.com (JIRA)














































Stephan Pauxberger
 updated  JENKINS-25406


Some post step build result in IllegalStateException
















Change By:


Stephan Pauxberger
(02/Nov/14 9:57 PM)




Priority:


Minor
Critical



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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