DefaultMergeEventListener.onMerge() has thrown a StaleObjectStateException

org.hibernate.StaleObjectStateException
Javadoc
A specialized StaleStateException that carries information about the particular entity instance that was the source of the failure. @author Gavin King
at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached
(source)
at org.hibernate.event.def.DefaultMergeEventListener.onMerge
(source)

Typical Exception Messages

  1. Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [WebOrganizer.classes.types.StringType#174]
  2. Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.company.domain.MyObj#B00000004485252]
  3. Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): ch.logobject.test.model.TestResource#<null>
  4. com.liferay.portal.verify.VerifyException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=0, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=Wed Feb 19 15:00:31 UTC 2014, modifiedDate=Wed Feb 19 15:00:31 UTC 2014, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales= -locale= ><Description language-id= >All users who belong to an organization have role within that organization.</Description></root>, type=3, subtype=} is stale in comparison to {mvccVersion=1, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=2014-02-19 15:00:31.0, modifiedDate=2014-02-19 15:00:31.0, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales= -locale= ><Description language-id= >All users who belong to an organization have role within that organization.</Description></root>, type=3, subtype=}
  5. Error calling action method of component with id bidForm:_id64
  6. com.liferay.portal.verify.VerifyException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=0, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=Wed Feb 19 15:00:31 UTC 2014, modifiedDate=Wed Feb 19 15:00:31 UTC 2014, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">All users who belong to an organization have this role within that organization.</Description></root>, type=3, subtype=} is stale in comparison to {mvccVersion=1, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=2014-02-19 15:00:31.0, modifiedDate=2014-02-19 15:00:31.0, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">All users who belong to an organization have this role within that organization.</Description></root>, type=3, subtype=}
  7. <No message>
  8. com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=32, uuid=b55f68b9-a8cf-450f-864d-74d995cd97c7, userId=10169, companyId=10132, createDate=Sat Aug 02 02:39:59 GMT 2014, modifiedDate=Mon Jul 18 09:14:06 GMT 2016, defaultUser=false, contactId=10170, password={PBKDF2WITHHMACSHA1}AAAAoAAB9AAoh/XMhUmC2WQIVvEjYwlToZZ/5DanpHujj7z4, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon Mar 30 22:27:10 GMT 2015, digest=9fb74f6670edea433b2e566023b587da,107d8aa0a8d49b1b205aa23283bdb172,94bec501880b2c81f219d6d3d47296ec, reminderQueryQuestion=myname, reminderQueryAnswer=test, graceLoginCount=0, screenName=test, emailAddress=test@liferay.com, facebookId=0, googleUserId=, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=Asia/Kolkata, greeting=Welcome Test Test!, comments=, firstName=Test, middleName=, lastName=Test, jobTitle=, loginDate=Thu May 26 14:49:08 GMT 2016, loginIP=183.82.113.143, lastLoginDate=Tue May 24 15:54:34 GMT 2016, lastLoginIP=183.82.113.143, lastFailedLoginDate=Mon Jul 18 06:57:36 GMT 2016, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=true, emailAddressVerified=true, status=0} is stale in comparison to {mvccVersion=33, uuid=b55f68b9-a8cf-450f-864d-74d995cd97c7, userId=10169, companyId=10132, createDate=Sat Aug 02 02:39:59 GMT 2014, modifiedDate=Mon Jul 18 09:14:06 GMT 2016, defaultUser=false, contactId=10170, password={PBKDF2WITHHMACSHA1}AAAAoAAB9AAoh/XMhUmC2WQIVvEjYwlToZZ/5DanpHujj7z4, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon Mar 30 22:27:10 GMT 2015, digest=9fb74f6670edea433b2e566023b587da,107d8aa0a8d49b1b205aa23283bdb172,94bec501880b2c81f219d6d3d47296ec, reminderQueryQuestion=myname, reminderQueryAnswer=test, graceLoginCount=0, screenName=test, emailAddress=test@liferay.com, facebookId=0, googleUserId=, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=Asia/Kolkata, greeting=Welcome Test Test!, comments=, firstName=Test, middleName=, lastName=Test, jobTitle=, loginDate=Thu May 26 14:49:08 GMT 2016, loginIP=183.82.113.143, lastLoginDate=Tue May 24 15:54:34 GMT 2016, lastLoginIP=183.82.113.143, lastFailedLoginDate=Mon Jul 18 06:57:36 GMT 2016, failedLoginAttempts=30, lockout=false, lockoutDate=null, agreedToTermsOfUse=true, emailAddressVerified=true, status=0}
  9. org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.core.statement.entity.Statement#1ada2bb6-ee85-448f-8ff3-0ff8a6f02b97]
  10. javax.persistence.OptimisticLockException

Specific cases

External results for this pattern (11)

  1. Vilmos Pappvia Liferay Issues5 months ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.model.impl.UserImpl#10533]
    Show stack trace
  2. Brian Wulbernvia Liferay Issues5 months ago
    com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, uuid=c11604f6-a943-1732-7995-582a8f08f3c9, plid=30409, groupId=30404, companyId=20116, userId=20164, userName=Test Test, createDate=Fri Jun 10 15:53:46 GMT 2016, modifiedDate=Fri Jun 10 15:54:55 GMT 2016, privateLayout=false, layoutId=1, parentLayoutId=0, name=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Name language-id="en_US">page2</Name></root>, title=, description=, keywords=, robots=, type=portlet, typeSettings=layout-template-id=2_columns_ii_, hidden=false, friendlyURL=/page2, iconImageId=0, themeId=, colorSchemeId=, css=, priority=0, layoutPrototypeUuid=, layoutPrototypeLinkEnabled=false, sourcePrototypeLayoutUuid=, lastPublishDate=null} is stale in comparison to {mvccVersion=9, uuid=c11604f6-a943-1732-7995-582a8f08f3c9, plid=30409, groupId=30404, companyId=20116, userId=20164, userName=Test Test, createDate=2016-06-10 15:53:46.845, modifiedDate=2016-06-10 15:54:55.37, privateLayout=false, layoutId=1, parentLayoutId=0, name=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Name language-id="en_US">page2</Name></root>, title=, description=, keywords=, robots=, type=portlet, typeSettings=column-2=com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_sc7LAOh4nQxo_layout-template-id=2_columns_ii_, hidden=false, friendlyURL=/page2, iconImageId=0, themeId=, colorSchemeId=, css=, priority=0, layoutPrototypeUuid=, layoutPrototypeLinkEnabled=false, sourcePrototypeLayoutUuid=, lastPublishDate=null} [Sanitized]
    Show stack trace
  3. George Lindholmvia Kuali JIRA5 months ago
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.core.statement.entity.Statement#1ada2bb6-ee85-448f-8ff3-0ff8a6f02b97]
    Show stack trace
  4. Unknown authorvia jboss.org5 months ago
    Error calling action method of component with id bidForm:_id64
    Show stack trace
  5. oglueckvia JBoss Issue Tracker5 months ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [ch.logobject.test.model.TestResource#<null>]
    Show stack trace
  6. Serena Songvia Liferay Issues2 years ago
    com.liferay.portal.verify.VerifyException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=0, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=Wed Feb 19 15:00:31 UTC 2014, modifiedDate=Wed Feb 19 15:00:31 UTC 2014, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">All users who belong to an organization have this role within that organization.</Description></root>, type=3, subtype=} is stale in comparison to {mvccVersion=1, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=2014-02-19 15:00:31.0, modifiedDate=2014-02-19 15:00:31.0, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Description language-id="en_US">All users who belong to an organization have this role within that organization.</Description></root>, type=3, subtype=}
    Show stack trace
  7. Unknown authorvia liferay.com2 years ago
    com.liferay.portal.verify.VerifyException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=0, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=Wed Feb 19 15:00:31 UTC 2014, modifiedDate=Wed Feb 19 15:00:31 UTC 2014, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales= -locale= ><Description language-id= >All users who belong to an organization have role within that organization.</Description></root>, type=3, subtype=} is stale in comparison to {mvccVersion=1, uuid=6930d34f-7046-4a2b-b909-4cb21addff80, roleId=10170, companyId=10156, userId=10160, userName=, createDate=2014-02-19 15:00:31.0, modifiedDate=2014-02-19 15:00:31.0, classNameId=10004, classPK=10170, name=Organization User, title=, description=<?xml version='1.0' encoding='UTF-8'?><root available-locales= -locale= ><Description language-id= >All users who belong to an organization have role within that organization.</Description></root>, type=3, subtype=}
    Show stack trace
  8. Unknown authorvia jboss.org3 years ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): ch.logobject.test.model.TestResource#<null>
    Show stack trace
  9. Unknown authorvia Stack Overflow3 years ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [WebOrganizer.classes.types.StringType#174]
    Show stack trace