org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]

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 Atlassian JIRA by Nathan Burrell [Atlassian], 1 year ago
deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]
via Stack Overflow by CodeMed
, 2 years ago
detached entity passed to persist: org.springframework.samples.knowledgemanager.model.Provider; nested exception is org.hibernate.PersistentObjectException: detached entity passed to persist: org.springframework.samples.knowledgemanager.model.Provider
via Stack Overflow by Mahmoud Saleh
, 1 year ago
deleted object would be re-saved by cascade (remove deleted object from associations): [com.xeno.advertisingsuite.web.domain.PlaylistadMap#6]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.xeno.advertisingsuite.web.domain.PlaylistadMap#6]
via csdn.net by Unknown author, 2 years ago
The given object has a null identifier: xml.dao.info.InfoRebate; nested exception is org.hibernate.TransientObjectException: The given object has a null identifier: xml.dao.info.InfoRebate
via xuebuyuan.com by Unknown author, 2 years ago
The given object has a null identifier: xml.dao.info.InfoRebate; nested exception is org.hibernate.TransientObjectException: The given object has a null identifier: xml.dao.info.InfoRebate
via csdn.net by Unknown author, 2 years ago
The given object has a null identifier: xml.dao.info.InfoRebate; nested exception is org.hibernate.TransientObjectException: The given object has a null identifier: xml.dao.info.InfoRebate
org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [com.atlassian.bamboo.plan.artifact.ConsumedSubscriptionImpl#33456779]
at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1230)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:188)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:117)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:685)
at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:252)
at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:392)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:335)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:204)
at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:425)
at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:362)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:338)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:204)
at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:154)
at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:145)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:88)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:58)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1185)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1709)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
at com.atlassian.bamboo.plan.PlanHibernateDao$1.doInHibernate(PlanHibernateDao.java:81)

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.