Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Edited

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 Leader Dec 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
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

983 views 7 42
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you