Error viewing migrated space

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.

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:

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)

Last modified on Mar 30, 2016

Was this helpful?

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