Error viewing migrated space

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

Problem

You recently upgraded Confluence and are now encountering a stack trace when accessing any page in a given space. Accessing other spaces works as expected.

The following appears in the onscreen stack trace:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 caused by: java.lang.RuntimeException: Error rendering template for decorator sharedcomments at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:186) caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/decorators/components/sharedcomments.vmd' at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:401) Stack Trace:[hide] java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:186) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) ... Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/decorators/components/<something>.vmd'

Cause

The space(s) in question were created using an older template. Some of the content of these legacy templates are no longer available.

Workaround

  • Navigate to <confluence-base_url>/spaces/choosetheme.action?key=<space_key>

  • This should present an interface for accessing the properties assigned to the given space

  • Click the Themes tab

  • Select "Default" (this will remove the custom theme and allow the space to render normally)

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.