Unable to edit or delete pages due to ObjectNotFoundException: No row with the given identifier exists
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Unable to edit or delete specific pages. The following error message is shown in the UI and in confluence-atlassian.log
2019-06-25 12:01:29,112 ERROR [http-nio-8090-exec-2] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
-- referer: https://mycompany.com/pages/editpage.action?pageId=7799588 | url: /pages/editpage.action | traceId: d7d198cf000006a5 | userName: admin
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.atlassian.confluence.content.ContentProperty#7910212]
at org.hibernate.boot.internal.StandardEntityNotFoundDelegate.handleEntityNotFound(StandardEntityNotFoundDelegate.java:28)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:262)
at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(DefaultLoadEventListener.java:121)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:89)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1230)
...
Possible Causes
- A page was moved/copied from elsewhere as was missing content
- A space or site was imported and was missing content
- Broken index
Be mindful that it doesn't necessarily mean that you are missing some important data, that contentproperty could've been a broken macro, a broken attachment property, etc.
Resolution
Rebuild content indexes from scratch by following the documentation below: