org.springframework.transaction.HeuristicCompletionException: Heuristic completion: outcome state is mixed; nested exception is org.springframework.orm.hibernate4.HibernateOptimisticLockingFailureException: Object of class [cinnamon.ObjectSystemData] with identifier [8723400]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [cinnamon.ObjectSystemData#8723400]

GitHub | dewarim | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    StaleObjectException in LuceneFilter can break further indexing.

    GitHub | 9 months ago | dewarim
    org.springframework.transaction.HeuristicCompletionException: Heuristic completion: outcome state is mixed; nested exception is org.springframework.orm.hibernate4.HibernateOptimisticLockingFailureException: Object of class [cinnamon.ObjectSystemData] with identifier [8723400]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [cinnamon.ObjectSystemData#8723400]
  2. 0

    Optimistic Locking failure error in Grails GORM

    Stack Overflow | 6 years ago | Alan McCloud
    org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [zen37.User] with identifier [8]: optimistic locking failed; nested exception is org.hibernate.StaleObjec tStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [zen37.User#8]

    Root Cause Analysis

    1. org.hibernate.StaleObjectStateException

      Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [cinnamon.ObjectSystemData#8723400]

      at org.grails.datastore.gorm.GormStaticApi.withTransaction()
    2. Grails GORM
      GormStaticApi.withNewTransaction
      1. org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:815)
      2. org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:767)
      3. org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:728)
      3 frames
    3. cinnamon.filters
      LuceneFilters$_closure1$_closure2$_closure5.doCall
      1. cinnamon.filters.LuceneFilters$_closure1$_closure2$_closure5.doCall(LuceneFilters.groovy:28)
      1 frame
    4. grails.plugin.springsecurity
      RequestHolderAuthenticationFilter.doFilter
      1. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
      2. grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:53)
      2 frames
    5. cinnamon
      RequestTicketAuthenticationFilter.doFilter
      1. cinnamon.RequestTicketAuthenticationFilter.doFilter(RequestTicketAuthenticationFilter.groovy:102)
      1 frame
    6. grails.plugin.springsecurity
      MutableLogoutFilter.doFilter
      1. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
      1 frame
    7. cinnamon.servlet
      ResponseFilter.doFilter
      1. cinnamon.servlet.ResponseFilter.doFilter(ResponseFilter.java:43)
      1 frame
    8. com.brandseye.cors
      CorsFilter.doFilter
      1. com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames