Hibernate exception occurs while rendering Page


#1

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.


https://drive.google.com/open?id=1mdRYnIFGQnkuPJwApopc2yZTv4XJghQn (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


#2

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