org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [de.datingcafe.payment.Transaction#4036272]

Terracotta | cjenkel | 6 years 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

    Re:java.lang.IllegalStateException: This session is invalid

    Terracotta | 6 years ago | cjenkel
    org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [de.datingcafe.payment.Transaction#4036272]

    Root Cause Analysis

    1. org.hibernate.StaleObjectStateException

      Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [de.datingcafe.payment.Transaction#4036272]

      at de.datingcafe.payment.TransactionService$_setTransactionToPaid_closure2.doCall()
    2. de.datingcafe.payment
      TransactionService$_setTransactionToPaid_closure2.doCall
      1. de.datingcafe.payment.TransactionService$_setTransactionToPaid_closure2.doCall(TransactionService.groovy:194)
      1 frame
    3. Unknown
      $Proxy22.doInTransaction
      1. $Proxy22.doInTransaction(Unknown Source)
      1 frame
    4. de.datingcafe.payment
      TransactionService$$FastClassByCGLIB$$f17917f8.invoke
      1. de.datingcafe.payment.TransactionService.setTransactionToPaid(TransactionService.groovy:131)
      2. de.datingcafe.payment.TransactionService.this$2$setTransactionToPaid(TransactionService.groovy)
      3. de.datingcafe.payment.TransactionService$this$2$setTransactionToPaid.callCurrent(Unknown Source)
      4. de.datingcafe.payment.TransactionService.changeTransactionStatus(TransactionService.groovy:64)
      5. de.datingcafe.payment.TransactionService$$FastClassByCGLIB$$f17917f8.invoke(<generated>)
      5 frames
    5. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    6. de.datingcafe.payment
      PaymentService$_closure1.doCall
      1. de.datingcafe.payment.TransactionService$$EnhancerByCGLIB$$d49fddbd.changeTransactionStatus(<generated>)
      2. de.datingcafe.payment.TransactionService$changeTransactionStatus.call(Unknown Source)
      3. de.datingcafe.payment.PaymentService$_closure1.doCall(PaymentService.groovy:329)
      3 frames
    7. de.datingcafe.website
      PaymentController$_closure1.doCall
      1. de.datingcafe.website.payment.PaymentController$_closure1.doCall(PaymentController.groovy:33)
      2. de.datingcafe.website.payment.PaymentController$_closure1.doCall(PaymentController.groovy)
      2 frames
    8. com.terracotta.session
      TerracottaDispatcher.forward
      1. com.terracotta.session.TerracottaDispatcher.forward(TerracottaDispatcher.java:28)
      1 frame
    9. de.datingcafe.authentication
      EMailPasswordAuthenticationFilter.doFilter
      1. de.datingcafe.authentication.EMailPasswordAuthenticationFilter.super$5$doFilter(EMailPasswordAuthenticationFilter.groovy)
      2. de.datingcafe.authentication.EMailPasswordAuthenticationFilter.doFilter(EMailPasswordAuthenticationFilter.groovy:66)
      2 frames
    10. org.terracotta.modules
      SessionValve55.invoke
      1. org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.tcInvoke(SessionValve55.java:99)
      2. org.terracotta.modules.tomcat.tomcat_5_5.SessionValve55.invoke(SessionValve55.java:86)
      2 frames
    11. org.terracotta.session
      ModernTomcatSessionValve.invoke
      1. org.terracotta.session.ModernTomcatSessionValve.invoke(ModernTomcatSessionValve.java:66)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame