It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
  • 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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

307 views 2 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you