kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList]

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    OptimisticLocking

    Oracle Community | 1 decade ago | 3004
    kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList]
  2. 0

    3.0.0RC2 Optimistic Locking Errors

    Oracle Community | 1 decade ago | 3004
    kodo.util.OptimisticVerificationException: An optimistic lock violation was detected when flushing object "com.fluencyfinancial. newFactory.data.ledger.OrdinaryLedger@283b68" with id "com. fluencyfinancial.newFactory.data.ledger.Ledger-133784" to the data store. This indicates that the object was concurrently modified in another transaction. [junit] FailedObject:com.fluencyfinancial.newFactory.data.ledger. OrdinaryLedger@283b68 [junit]

    Root Cause Analysis

    1. kodo.util.OptimisticVerificationException

      Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [model.WfMessageQueue@1b2b10a] [java.util.ArrayList]

      at kodo.runtime.PersistenceManagerImpl.throwFlushException()
    2. kodo.runtime
      PersistenceManagerImpl.commit
      1. kodo.runtime.PersistenceManagerImpl.throwFlushException(PersistenceManagerImpl.java:1290)
      2. kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1155)
      3. kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1038)
      4. kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:965)
      5. kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69)
      6. kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:625)
      6 frames
    3. model
      WfMessageService.pushMessageLater
      1. model.AbstractUseCase.execute(WfMessageService.java:327)
      2. model.WfMessageService.reallyPushMessage(WfMessageService.java:110)
      3. model.WfMessageService.access$0(WfMessageService.java:108)
      4. model.WfMessageService$1.run(WfMessageService.java:102)
      5. model.WfMessageService.pushMessageLater(WfMessageService.java:105)
      5 frames