Hibernate exception occurs while rendering Page

Hi Community,

I am having problems with the rendering of some pages.
The cause of it originates from a custom macro, but I have trouble solving it.

Attaching a screenshot and the full log from the page. Server logs contains the same.


log.txt - Google Drive (log.txt, I could not attach it, not even in PDF form)

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#12978624]] for second level caching at /decorators/components/comments.vmd[line 184, column 38]

Caused by: org.hibernate.HibernateException: Unable to resolve owner of loading collection [[com.atlassian.confluence.core.ContentEntityObject.contentProperties#12978624]] for second level caching

I suppose these are the cause of the error. Does anyone know how to solve this, or what is the reason this occurs?

Thanks for any help.
Cheers,
Krisz

Is this a user macro or a plugin? Could you provide the macro code?

Did you manage to resolve this, I am getting the same error for random pages when trying to call pageManager.saveNewVersion(…)

Any help would be appreciated.