java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After creating a plan the initial build remains in "building state", although the current activity tab says that the build has passed - {quote} 28-Mar-2008 12:14:25 Running pre-build action: VCS Version Collector 28-Mar-2008 12:14:25 Building started with CustomCommandBuilder 28-Mar-2008 12:14:25 Starting to build 'Test - sdf' ... running command line: /bin/bash a.bash ... in : /Users/asridhar/Bamboo/homes/trunk/xml-data/build-dir/TST-DDDD ... using java: null ... using environment variables: 28-Mar-2008 12:14:25 a 28-Mar-2008 12:14:25 Build process for 'Test - sdf' returned with return code = 0 28-Mar-2008 12:14:25 Failed to execute build: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null 28-Mar-2008 12:14:25 Finalising the build... 28-Mar-2008 12:14:25 Stopping timer. 28-Mar-2008 12:14:25 Build TST-DDDD-1 completed. 28-Mar-2008 12:14:25 Running post build plugin on server 'Clover Delta Calculator' {quote} Where as on the dashboard I get the exception below - {quote} Build Test - sdf 1 : Failed to execute build 'com.atlassian.bamboo.v2.build.CurrentBuildResultImpl@9ebca3' (java.lang.IllegalStateException : @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null)java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null at com.atlassian.bamboo.v2.build.CurrentBuildResultImpl.getBuildState(CurrentBuildResultImpl.java) at com.atlassian.bamboo.builder.AbstractBuilder.determineBuildStatus(AbstractBuilder.java:400) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:361) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy42.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:86) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:613) {quote}
    via by Ajay Sridhar [Atlassian],
  • After creating a plan the initial build remains in "building state", although the current activity tab says that the build has passed - {quote} 28-Mar-2008 12:14:25 Running pre-build action: VCS Version Collector 28-Mar-2008 12:14:25 Building started with CustomCommandBuilder 28-Mar-2008 12:14:25 Starting to build 'Test - sdf' ... running command line: /bin/bash a.bash ... in : /Users/asridhar/Bamboo/homes/trunk/xml-data/build-dir/TST-DDDD ... using java: null ... using environment variables: 28-Mar-2008 12:14:25 a 28-Mar-2008 12:14:25 Build process for 'Test - sdf' returned with return code = 0 28-Mar-2008 12:14:25 Failed to execute build: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null 28-Mar-2008 12:14:25 Finalising the build... 28-Mar-2008 12:14:25 Stopping timer. 28-Mar-2008 12:14:25 Build TST-DDDD-1 completed. 28-Mar-2008 12:14:25 Running post build plugin on server 'Clover Delta Calculator' {quote} Where as on the dashboard I get the exception below - {quote} Build Test - sdf 1 : Failed to execute build 'com.atlassian.bamboo.v2.build.CurrentBuildResultImpl@9ebca3' (java.lang.IllegalStateException : @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null)java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null at com.atlassian.bamboo.v2.build.CurrentBuildResultImpl.getBuildState(CurrentBuildResultImpl.java) at com.atlassian.bamboo.builder.AbstractBuilder.determineBuildStatus(AbstractBuilder.java:400) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:361) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy42.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:86) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:613) {quote}
    via by Ajay Sridhar [Atlassian],
    • java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null at com.atlassian.bamboo.v2.build.CurrentBuildResultImpl.getBuildState(CurrentBuildResultImpl.java) at com.atlassian.bamboo.builder.AbstractBuilder.determineBuildStatus(AbstractBuilder.java:400) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:361) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy42.call(Unknown Source) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:86) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:613)
    No Bugmate found.