ED2 KC- Server: Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists
Reset the application cache via Data Admin app > Maintenance > Clear Application Cache
In some cases, restarting Tomcat could help in that it also forces a reset of the application cache.
This can happen on different piece of metadata i.e.: sJul 13 19:21:45 8d96e90f server: Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.hisp.dhis.user.User#6557361]
This problem manifests itself in a manner that looks like the user interface is requesting something to be deleted that doesn’t exist in the database. Or rather, there is an apparent mix up in UID & Serial ID or something.
Here are some historic examples from the Community of Practice:
https://community.dhis2.org/t/error-occured-when-accessing-the-webapi-of-data-elements/19240
https://community.dhis2.org/t/problem-assignment-data-sets-to-organisation-units/1312/3