java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null

Atlassian JIRA | Adrian Hempel [Atlassian] | 9 years ago
  1. 0

    We need to fix this to maintain backward compatibility for plug-ins expecting VCS metadata in custom build info. Also, log states that "Building will abort...", but building continues. (Tracked as BAM-2122). {noformat:title:Remote Agent Log} 2008-01-22 17:12:06,715 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildAgentControllerImpl] Agent 'Remote Agent on scharers.sydney.atlassian.com' ready to take build from queue... 2008-01-22 17:12:06,716 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [JmsSelectorUtils] allowableSelector: allowableAgents LIKE '%[491521]%' 2008-01-22 17:13:40,636 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AgentQueueAccessorImpl] TEST-DEF-16 taken from queue. 2008-01-22 17:13:41,064 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildAgentControllerImpl] Build TEST-DEF-16 started building on agent Remote Agent on scharers.sydney.atlassian.com 2008-01-22 17:13:41,064 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild 2008-01-22 17:13:41,174 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [CheckoutUpdateForBuild] Updating source code to revision: 51905 2008-01-22 17:13:41,187 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [SvnRepository] Source found at '/Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF'. Updating source... 2008-01-22 17:13:46,927 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [UpdateEventHandler] 2008-01-22 17:13:47,009 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [UpdateEventHandler] At revision 51905 2008-01-22 17:13:48,108 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [CheckoutUpdateForBuild] Updated source code to revision: 51905 2008-01-22 17:13:48,108 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask 2008-01-22 17:13:48,251 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Executing build TEST-DEF-16 2008-01-22 17:13:48,414 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Runnning pre-build action: com.atlassian.bamboo.vcsversion.VCSVersionReader@d6cc5e 2008-01-22 17:13:48,481 WARN [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Exception occurred while executing custom pre-build action 'com.atlassian.bamboo.vcsversion.VCSVersionReader@d6cc5e'. Building will abort... java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null at com.atlassian.bamboo.vcsversion.VCSVersionReader.call(VCSVersionReader.java) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:53) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:144) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.performBuild(BuildAgentControllerImpl.java:63) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:85) 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) 2008-01-22 17:13:48,482 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask 2008-01-22 17:13:48,701 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AbstractBuilder] Starting to build 'Test - Default'<br /> ... running command line: /opt/maven-2/bin/mvn clean test clover:instrument clover:clover<br /> ... in : /Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF<br /> ... using java: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home<br /> ... using environment variables: 2008-01-22 17:13:52,724 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Clover Version 1.3.14, built on August 01 2007 2008-01-22 17:13:52,731 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] loaded from: /Users/ahempel/.m2/repository/com/cenqua/clover/clover/1.3.14/clover-1.3.14.jar 2008-01-22 17:13:52,750 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] 30 Seat Team License registered to mike@atlassian.com, Atlassian 2008-01-22 17:13:52,757 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] No coverage database '/Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF/target/clover/clover.db' found. Creating a fresh one. 2008-01-22 17:13:52,765 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Processing files at 1.4 source level. 2008-01-22 17:13:52,855 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Instrumented 1 source files. 2008-01-22 17:13:55,300 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AbstractBuilder] Build process for 'Test - Default' returned with return code = 0 2008-01-22 17:13:56,062 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [ExecuteBuildTask] Running post build plugin 'Clover Results Collector' 2008-01-22 17:13:56,562 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [ExecuteBuildTask] Running post build plugin 'Artifact Copier' 2008-01-22 17:13:56,643 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildArtifactPostProcessor] Copying the build artifacts for build:TEST-DEF-16 2008-01-22 17:15:01,029 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [RemoteBuildResultProcessor] Build TEST-DEF-16 completed on Bamboo agent. Sending results to server. {noformat}

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null
  2. 0

    We need to fix this to maintain backward compatibility for plug-ins expecting VCS metadata in custom build info. Also, log states that "Building will abort...", but building continues. (Tracked as BAM-2122). {noformat:title:Remote Agent Log} 2008-01-22 17:12:06,715 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildAgentControllerImpl] Agent 'Remote Agent on scharers.sydney.atlassian.com' ready to take build from queue... 2008-01-22 17:12:06,716 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [JmsSelectorUtils] allowableSelector: allowableAgents LIKE '%[491521]%' 2008-01-22 17:13:40,636 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AgentQueueAccessorImpl] TEST-DEF-16 taken from queue. 2008-01-22 17:13:41,064 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildAgentControllerImpl] Build TEST-DEF-16 started building on agent Remote Agent on scharers.sydney.atlassian.com 2008-01-22 17:13:41,064 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild 2008-01-22 17:13:41,174 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [CheckoutUpdateForBuild] Updating source code to revision: 51905 2008-01-22 17:13:41,187 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [SvnRepository] Source found at '/Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF'. Updating source... 2008-01-22 17:13:46,927 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [UpdateEventHandler] 2008-01-22 17:13:47,009 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [UpdateEventHandler] At revision 51905 2008-01-22 17:13:48,108 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [CheckoutUpdateForBuild] Updated source code to revision: 51905 2008-01-22 17:13:48,108 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask 2008-01-22 17:13:48,251 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Executing build TEST-DEF-16 2008-01-22 17:13:48,414 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Runnning pre-build action: com.atlassian.bamboo.vcsversion.VCSVersionReader@d6cc5e 2008-01-22 17:13:48,481 WARN [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [PrepareBuildTask] Exception occurred while executing custom pre-build action 'com.atlassian.bamboo.vcsversion.VCSVersionReader@d6cc5e'. Building will abort... java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null at com.atlassian.bamboo.vcsversion.VCSVersionReader.call(VCSVersionReader.java) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:53) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:144) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.performBuild(BuildAgentControllerImpl.java:63) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:85) 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) 2008-01-22 17:13:48,482 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [DefaultBuildAgent] Running build task: com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask 2008-01-22 17:13:48,701 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AbstractBuilder] Starting to build 'Test - Default'<br /> ... running command line: /opt/maven-2/bin/mvn clean test clover:instrument clover:clover<br /> ... in : /Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF<br /> ... using java: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home<br /> ... using environment variables: 2008-01-22 17:13:52,724 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Clover Version 1.3.14, built on August 01 2007 2008-01-22 17:13:52,731 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] loaded from: /Users/ahempel/.m2/repository/com/cenqua/clover/clover/1.3.14/clover-1.3.14.jar 2008-01-22 17:13:52,750 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] 30 Seat Team License registered to mike@atlassian.com, Atlassian 2008-01-22 17:13:52,757 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] No coverage database '/Users/ahempel/bamboo-homes/agent/xml-data/build-dir/TEST-DEF/target/clover/clover.db' found. Creating a fresh one. 2008-01-22 17:13:52,765 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Processing files at 1.4 source level. 2008-01-22 17:13:52,855 INFO [TEST-DEF:Error Pump] [ErrorStreamToLogsPumper] Instrumented 1 source files. 2008-01-22 17:13:55,300 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [AbstractBuilder] Build process for 'Test - Default' returned with return code = 0 2008-01-22 17:13:56,062 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [ExecuteBuildTask] Running post build plugin 'Clover Results Collector' 2008-01-22 17:13:56,562 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [ExecuteBuildTask] Running post build plugin 'Artifact Copier' 2008-01-22 17:13:56,643 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [BuildArtifactPostProcessor] Copying the build artifacts for build:TEST-DEF-16 2008-01-22 17:15:01,029 INFO [BAM::Remote Agent on scharers.sydney.atlassian.com::Agent] [RemoteBuildResultProcessor] Build TEST-DEF-16 completed on Bamboo agent. Sending results to server. {noformat}

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null
  3. 0

    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}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I created a maven1 builder, but after I restarted Bamboo (inside IDEA) I got the following error - {code} 2008-04-02 15:55:27,591 FATAL [main] [UpgradeLauncher] Failed to initialise Bamboo container java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) 2008-04-02 15:55:27.129::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1d1b16{/,/Users/asridhar/Bamboo/code/trunk_new/bamboo-web-app/src/main/webapp} java.lang.RuntimeException: Failed to upgrade at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:138) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/builder/MavenBuilder.getPath must not return null at com.atlassian.bamboo.builder.MavenBuilder.getPath(MavenBuilder.java) at com.atlassian.bamboo.builder.AbstractBuilder.validate(AbstractBuilder.java:691) at com.atlassian.bamboo.container.BambooContainer.reportBuilderConfigurationProblems(BambooContainer.java:345) at com.atlassian.bamboo.container.BambooContainer.reportBuildConfigurationProblems(BambooContainer.java:337) at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:229) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:123) ... 11 more {code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.RuntimeException: Failed to upgrade
  6. 0

    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}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.IllegalStateException: @NotNull method com/atlassian/bamboo/v2/build/CurrentBuildResultImpl.getBuildState must not return null

    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

      @NotNull method com/atlassian/bamboo/vcsversion/VCSVersionReader.call must not return null

      at com.atlassian.bamboo.vcsversion.VCSVersionReader.call()
    2. com.atlassian.bamboo
      NamedThreadFactory$1.run
      1. com.atlassian.bamboo.vcsversion.VCSVersionReader.call(VCSVersionReader.java)
      2. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:53)
      3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:144)
      4. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.performBuild(BuildAgentControllerImpl.java:63)
      5. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:85)
      6. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)
      6 frames
    3. Backport of JSR 166
      ThreadHelpers$1.run
      1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:613)
      1 frame