kodo.jdo.OptimisticVerificationException: An optimistic lock violation was detected when flushing object instance "au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject: au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2

Oracle Community | 666705 | 1 decade ago
  1. 0

    OptimisticVerificationException

    Oracle Community | 1 decade ago | 666705
    kodo.jdo.OptimisticVerificationException: An optimistic lock violation was detected when flushing object instance "au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject: au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2
  2. 0

    OptimisticVerificationException

    Oracle Community | 1 decade ago | 666705
    kodo.jdo.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: [au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2]
  3. 0

    kodo.persistence.OptimisticLockException: An optimistic lock violation...

    Oracle Community | 1 decade ago | 666705
    kodo.jdo.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: [com.ottogroup.buying.b2b.assortmentprep.domain.object.style.impl.SupplierStyleImpl-com.ottogroup.buying.b2b.assortmentprep.domain.object.style.impl.SupplierStyleImpl-212926273]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kodo.jdo.OptimisticVerificationException

      An optimistic lock violation was detected when flushing object instance "au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2" to the data store. This indicates that the object was concurrently modified in another transaction. FailedObject: au.com.aig.compass.upload.members.jdo.services.Tmemaddr@5ab81c2

      at kodo.jdbc.kernel.BatchingPreparedStatementManager.checkUpdate()
    2. kodo.jdbc.kernel
      ConstraintUpdateManager.flush
      1. kodo.jdbc.kernel.BatchingPreparedStatementManager.checkUpdate(BatchingPreparedStatementManager.java:354)
      2. kodo.jdbc.kernel.BatchingPreparedStatementManager.flushInternal(BatchingPreparedStatementManager.java:208)
      3. kodo.jdbc.kernel.BatchingPreparedStatementManager.flushInternal(BatchingPreparedStatementManager.java:149)
      4. kodo.jdbc.kernel.BatchingPreparedStatementManager.flush(BatchingPreparedStatementManager.java:72)
      5. kodo.jdbc.kernel.AutoOrderUpdateManager.flush(AutoOrderUpdateManager.java:86)
      6. kodo.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:68)
      6 frames
    3. OpenJPA Aggregate Jar
      BrokerImpl.commit
      1. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:86)
      2. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:69)
      3. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:512)
      4. org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:127)
      5. org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:505)
      6. org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:127)
      7. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1928)
      8. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1826)
      9. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1757)
      10. org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:76)
      11. org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1314)
      11 frames
    4. kodo.kernel
      KodoBroker.commit
      1. kodo.kernel.KodoBroker.commit(KodoBroker.java:99)
      1 frame
    5. OpenJPA Aggregate Jar
      DelegatingBroker.commit
      1. org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
      1 frame
    6. kodo.jdo
      PersistenceManagerImpl.commit
      1. kodo.jdo.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:389)
      1 frame
    7. au.com.aig
      MemberUploadTest.testUploadAddressDetails
      1. au.com.aig.compass.upload.members.testdata.MemberUploadTest.testUploadAddressDetails(MemberUploadTest.java:42)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      3. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      5. java.lang.reflect.Method.invoke(Method.java:391)
      5 frames
    9. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      3 frames