Cannot load repository. Plugins may have been disabled.

When running build I sometimes receive the following error message. Re-running the incomplete jobs fixes the problem.

Running Bamboo 5.9.1 / Windows

 

 

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
	at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
	at com.atlassian.bamboo.repository.RepositoryDataImpl.getRepository(RepositoryDataImpl.java:130)
	at com.atlassian.bamboo.v2.build.BuildContextHelper.rewire(BuildContextHelper.java:43)
	at com.atlassian.bamboo.v2.build.CommonContextHelper.rewire(CommonContextHelper.java:21)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.setContextToBuild(DefaultBuildAgent.java:382)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:97)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Cannot load repository. Plugins may have been disabled.
	at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:47)
	at com.atlassian.bamboo.repository.RepositoryReference.create(RepositoryReference.java:11)
	at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)
	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)
	... 12 more

3 answers

0 votes
Marcin Oles Atlassian Team Aug 17, 2015

Hello,

this seems like a good candidate to open a bug ticket for Bamboo development under https://jira.atlassian.com/browse/BAM, or create a support request under https://support.atlassian.com/.

But just to gain more info - are you using local or remote agent? Can you access agent logs (or server logs if it's a local agent)?

You can look into the logs and look for one of these lines which can help identify the problem:

  • "Could not find repository plugin with key"

  • "Key passed was null. A null being returned for repository"

Neither of them seem probable to happen by accident, but they could potentially narrow the scope of bug for developers that will investigate. But still I'd recommend creating a bug and/or support ticket for that.

Cheers,
Marcin 

Has this been resolved ?  I am running into the exact same issue right now.

 

Agent log:

logs/atlassian-bamboo.log:2016-01-25 10:44:55,187 ERROR [0-BAM::ld-dbn-trcbr002.citadelgroup.com (2)::Agent:pool-3-thread-1] [DefaultRepositoryManager] Could not find repository plugin with key 'com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:git'. This build will be unable to build.

 

Of course, I have other GIT repositories that successfully build.

 

 

 

Hello,

I am facing the same problem, Bamboo 5.12.02 / Ubuntu 14.04 , it was working good and one fine day it started showing up the same exception. No plug-in installed/deleted/disabled. Not sure what's the source of the problem.

Is there any bug ticket logged for this issue?

Thanks,

Chris

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
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,064 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot