Error rendering template for decorator root in dashboard due to custom welcome message

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

When trying to access the Dashboard, the following error appears:

 java.lang.RuntimeException: Error rendering template for decorator root

    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:186)

caused by: java.lang.RuntimeException: Error rendering template for decorator global

    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:186)

caused by: org.apache.velocity.exception.MethodInvocationException: 
Invocation of method 'getWelcomeMessage' in class 
com.atlassian.confluence.dashboard.actions.DashboardAction threw 
exception [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </p>. at [row,col 

{unknown-source}]: [2,133] at /decorators/global.vmd[line 30, column 33]

    at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)

 

In addition to that, the following appears in the atlassian-confluence.log after performing upgrade:

2013-11-13 15:31:20,986 ERROR [http-8090-2] [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/dashboard/dashboard.vm'
 -- action: dashboard
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)

...
Caused by: java.lang.RuntimeException: Error rendering template for decorator global
	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:186)
	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
...
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getWelcomeMessage' in  class com.atlassian.confluence.dashboard.actions.DashboardAction threw exception [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </p>.
 at [row,col {unknown-source}]: [2,133] at /decorators/global.vmd[line 30, column 33]
	at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
...
Caused by: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </p>.
 at [row,col {unknown-source}]: [2,133]
	at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45)
	at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72)
...
Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </xml>; expected </p>.
 at [row,col {unknown-source}]: [2,133]
	at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630)
	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
...

Cause

Confluence Default Welcome Message is customized and contains inappropriate content that breaks the dashboard rendering process.

Resolution

Reset the Custom Welcome Message to default in Confluence Admin >> Global Templates.

Last modified on Mar 30, 2016

Was this helpful?

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