Repositories missing from the Linked repositories page inside Bamboo

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


Repositories suddenly missing from the Linked repositories page ($BAMBOO_BASE_URL/admin/configureLinkedRepositories!doDefault.action) inside Bamboo even though they still exist inside the database. The Linked repositories page shows up empty with a "No repository configured" message.


If the list of repositories inside the Linked repositories page is empty look for the presence of NullPointerException in the <Bamboo server home directory>/logs/atlassian-bamboo.log files, such as the following:

2021-05-24 06:22:34,783 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-54] [AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.stash.plugin.remote.event.StashBranchChangedRemoteEvent@68b719d6[branchName=master,reposito
ryProject=CSS,repositorySlug=c-029-trigger-repo,committer=fktd7id,sourceId=3817a292-a5ca-3d31-8e6c-78ce507f0da4,sourceUrl=]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.bamboo.plugins.stash.e
java.lang.RuntimeException: Listener: event: com.atlassian.stash.plugin.remote.event.StashBranchChangedRemoteEvent
        at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(
        at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at com.atlassian.bamboo.utils.BambooRunnables$
Caused by: java.lang.NullPointerException


The repository cache used by Bamboo to display the list of repositories inside the Linked Repositories page might be corrupted causing the NullPointerException as well as the missing repositories/ empty page.


The solution, in this case, would be to restart Bamboo. A restart of the application will flush the repository cache.  This should be enough to bring the repositories back inside the Linked Repositories page.

Last modified on Nov 24, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.