Manage Caches interface is blank

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

Problem

When viewing the Repository caches in Administration >> Overview >> Repository settings, the Manage Caches page returns blank and the following appears in the atlassian-bamboo.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2017-06-22 10:09:19,358 ERROR [http-8085-exec-11] [runtime] Error executing FreeMarker template FreeMarker template error: An error has occurred when reading existing sub-variable "cacheDescriptions"; see cause exception! The type of the containing value was: extended_hash+string (com.atlassian.bamboo.plugins.git.GitRepository wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: #list cacheProvider.cacheDescriptions... [in template "admin/repositorySettings.ftl" in macro "manageCachesTab" at line 78, column 17] - Reached through: @ww.form action="repositorySettingsDe... [in template "admin/repositorySettings.ftl" in macro "manageCachesTab" at line 39, column 9] - Reached through: @manageCachesTab [in template "admin/repositorySettings.ftl" at line 19, column 9] ~ Reached through: #nested [in template "lib/dojo.ftl" in macro "contentPane" at line 98, column 5] ~ Reached through: @dj.contentPane labelKey="manageCache... [in template "admin/repositorySettings.ftl" at line 18, column 5] ~ Reached through: #nested [in template "lib/dojo.ftl" in macro "tabContainer" at line 66, column 5] ~ Reached through: @dj.tabContainer headingKeys=["manage... [in template "admin/repositorySettings.ftl" at line 17, column 1] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] ... Caused by: java.lang.reflect.InvocationTargetException ... Caused by: io.atlassian.util.concurrent.LazyReference$InitializationException: java.util.NoSuchElementException: 'repository.bitbucket.git.useRemoteAgentCache' doesn't map to an existing object ... Caused by: java.util.NoSuchElementException: 'repository.bitbucket.git.useRemoteAgentCache' doesn't map to an existing object

Diagnosis

Environment

  • Git repository hosted on Bitbucket Cloud

  • Recently upgraded to Bamboo 5.15.0.1 or higher

Diagnostic Steps

  • Please run the following SQL query to see if your database is missing the parameter repository.bitbucket.git.useRemoteAgentCache:

    1 2 3 4 SELECT * FROM vcs_location WHERE plugin_key LIKE '%bbCloud' AND XML_DEFINITION_DATA NOT LIKE '%repository.bitbucket.git.useRemoteAgentCache%' AND XML_DEFINITION_DATA NOT LIKE '%HG%';
  • If the XML_DEFINITION_DATA is not only the string <repository/>, these suggest these are the cause of the blank page.

Cause

The repository.bitbucket.git.useRemoteAgentCache parameter is required by the Freemarker template that generates the data for that page.

Solution

Resolution

Please save the configuration of each repository that you found in the Diagnostic step. This will update the configuration to add the missing parameter

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.