• Community
  • Products
  • Bamboo
  • Questions
  • Strange Bamboo error: startBuildingOnAgent cannot be called on a terminated build or before 'currently building' has been set.

Strange Bamboo error: startBuildingOnAgent cannot be called on a terminated build or before 'currently building' has been set.

why do these errors occur and what can be done to fix them?

System Error Details
Build QA Brio - 5.9.0 QA Falcon Brio (Start just BRIO) - Build and Deploy 32 : Unknown error occurred on 'Agent 6' when building BRIOQA-QA590BRIOR-BLDDPLY-32. Agent will attempt process the build result...
(java.lang.IllegalStateException : startBuildingOnAgent cannot be called on a terminated build or before 'currently building' has been set. Called for BRIOQA-QA590BRIOR-BLDDPLY-32 on agent 3899394)

Occurred: 31 Aug 2012, 10:04:39 AM
Agent: Agent 6
java.lang.IllegalStateException: startBuildingOnAgent cannot be called on a terminated build or before 'currently building' has been set. Called for BRIOQA-QA590BRIOR-BLDDPLY-32 on agent 3899394
at com.atlassian.bamboo.build.CurrentlyBuildingContainer.startBuildingOnAgent(CurrentlyBuildingContainer.java:107)
at com.atlassian.bamboo.build.DefaultBuildExecutionManager.setBuildRunningOnAgent(DefaultBuildExecutionManager.java:209)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:82)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
at java.lang.Thread.run(Thread.java:662)

2 answers

1 accepted

Hi Roy,

I believe this issue requires some indepth investigation. Can you please raise a support ticket with us at https://support.atlassian.com. Once you have created the ticket, attach your Bamboo server and agent logs as explained here: http://confluence.atlassian.com/display/BAMBOO/Logging+in+Bamboo.

Just to update everyone, I still have this issue even after trying to work with support. The recommendation was to update to 5.x - and we are now on 5.2 and still experiencing it.

Anyone else???

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,821 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you