Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Some pages return error java.lang.RuntimeException: Error rendering template for decorator xxx

Jens December 4, 2020

Hello,

Recently after the upgrade of Confluence to version 7.8.1, one or two pages sometimes return to some users the system error shown in the screenshot. Not always and never for me as the Administrator, and when I visit the page, then it is OK for all other users. I guess it is because of the Comment as the "com.atlassian.confluence.core.ContentEntityObject.contentProperties#131525433" points to the only Comment, but what exactly might be wrong ?

I've tried to look for a possible cause and solution, but nothing what I've found was useful.

Thank you in advance for any help. JJ.

image.png

Cause
java.lang.RuntimeException: Error rendering template for decorator root
    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)

caused by: java.lang.RuntimeException: Error rendering template for decorator page
    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)

caused by: java.lang.RuntimeException: Error rendering template for decorator root
    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)

caused by: java.lang.RuntimeException: Error rendering template for decorator comments
    at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPageLevelComments' in class com.atlassian.confluence.pages.Page threw exception org.hibernate.HibernateException: Unable to resolve owner of loading collection [[com.atlassian.confluence.core.ContentEntityObject.contentProperties#131525433]] for second level caching at /decorators/components/comments.vmd[line 182, column 38]
    at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:228)

caused by: org.hibernate.HibernateException: Unable to resolve owner of loading collection [[com.atlassian.confluence.core.ContentEntityObject.contentProperties#131525433]] for second level caching
    at org.hibernate.engine.loading.internal.CollectionLoadContext.addCollectionToCache(CollectionLoadContext.java:355)

1 answer

0 votes
Fabian Lim
Community Champion
December 23, 2021

Hi @Jan,

If you are still experiencing this issue, check the following workaround outline in this KB article: 217743738

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.8.1
TAGS
AUG Leaders

Atlassian Community Events