Viewing a page causes error message in Confluence

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.

    

Summary


Viewing a page shows the following error in logs.

2020-05-04 23:07:05,044 ERROR [http-nio-8080-exec-13] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
 -- url: /pages/viewpage.action | traceId: 1273a70858101de8 | userName: admin | referer: http://localhost:8090/login.action?os_destination=%2Fpages%2Fviewpage.action%3BRelease%2BNote%2BCreation%2BStandards%2Band%2BGuidelines&permissionViolation=true
java.lang.RuntimeException: Error rendering template for decorator root
	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)
	.
	Caused by: org.hibernate.HibernateException: Unable to resolve owner of loading collection [[com.atlassian.confluence.core.ContentEntityObject.contentProperties#152548091]] for second level caching
	at org.hibernate.engine.loading.internal.CollectionLoadContext.addCollectionToCache(CollectionLoadContext.java:321)

In some cases the error can happen on some other actions in Confluence as well. Though, as long as the cause of the error is the same we can proceed with the resolution here.

Cause


The actual error is unable to load an element of ID 152548091 from cache. This ID is seen in the logs.

Solution

Try clearing the cache of Confluence, to force a refresh.

  • General Configuration > Cache Management
  • Select Flush all at the bottom of the page

Other Notes

If the issue isn't resolved by flushing cache, then querying the database for the relevant ID or reindexing the system will be next steps.


Last modified on Jan 11, 2021

Was this helpful?

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