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

This widget could not be displayed.
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 

This widget could not be displayed.

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.

 

 

 

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

258 views 1 3
Join discussion

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