javax.persistence.EntityNotFoundException: deleted entity passed to persist:

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

Solutions on the web

via openxava by dsulkes
, 1 year ago
deleted entity passed to persist:
via Stack Overflow by nag
, 2 years ago
deleted entity passed to persist: [com.manam.mobee.persist.entity.CustomerRegion#<null>]
via Coderanch by David Balažic, 1 year ago
deleted entity passed to persist: [com.acme.Foo#<null>]
via Stack Overflow by Kevin
, 2 years ago
deleted entity passed to persist: [net.wazari.dao.entity.TagPhoto#&lt;null&gt;]
via Coderanch by Laura Barroso, 1 year ago
deleted entity passed to persist: [org.desoft.dcp.ag.entity.Block#<null>]
via Coderanch by Damien Fergusson, 1 year ago
deleted entity passed to persist: [com.cmb.businessengine.apps.fileimport.core.domain.FileImportStatistics#<null>]
javax.persistence.EntityNotFoundException: deleted entity passed to persist:
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:598)
at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:307)
at org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:69)
at org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:72)
at org.openxava.model.impl.MapFacadeBean.removeCollectionElement(MapFacadeBean.java:411)
at org.openxava.model.MapFacade.removeCollectionElement(MapFacade.java:733)
at org.openxava.actions.RemoveSelectedInCollectionAction.removeElement(RemoveSelectedInCollectionAction.java:50)
at org.openxava.actions.RemoveSelectedInCollectionAction.execute(RemoveSelectedInCollectionAction.java:26)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:310)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:195)

Users with the same issue

You are the first who have seen this exception.

Write tip

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