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
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.
Has this been resolved ? I am running into the exact same issue right now.
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.
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?
Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...
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!
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