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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.