org.hibernate.HibernateException: this instance does not yet exist as a row in the database

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by bradmac
, 1 year ago
this instance does not yet exist as a row in the database
org.hibernate.HibernateException: this instance does not yet exist as a row in the database
at org.hibernate.event.internal.DefaultRefreshEventListener.onRefresh(DefaultRefreshEventListener.java:113)
at org.hibernate.event.internal.DefaultRefreshEventListener.onRefresh(DefaultRefreshEventListener.java:63)
at org.hibernate.internal.SessionImpl.fireRefresh(SessionImpl.java:1063)
at org.hibernate.internal.SessionImpl.refresh(SessionImpl.java:1040)
at io.milton.cloud.server.manager.SearchManager.checkRefresh(SearchManager.java:882)
at io.milton.cloud.server.manager.SearchManager.lambda$applyDeferredOps$9(SearchManager.java:864)
at io.milton.cloud.server.search.DefaultElasticSearchManager.bulk(DefaultElasticSearchManager.java:731)
at io.milton.cloud.server.manager.SearchManager.applyDeferredOps(SearchManager.java:857)
at io.milton.cloud.server.manager.SearchManager.lambda$new$1(SearchManager.java:101)
at io.milton.event.EventManagerImpl.fireEvent(EventManagerImpl.java:42)
at io.milton.cloud.util.EventUtils.fireQuietly(EventUtils.java:21)
at co.kademi.server.stream.audit.KademiAuditService.afterTransactionCompletion(KademiAuditService.java:113)
at io.milton.vfs.db.utils.KademiInterceptor.afterTransactionCompletion(KademiInterceptor.java:140)
at org.hibernate.internal.SessionImpl.afterTransactionCompletion(SessionImpl.java:508)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.