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]

Oracle Community | 666705 | 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

    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]

    Root Cause Analysis

    1. 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]

      at org.apache.openjpa.kernel.BrokerImpl.newFlushException()
    2. OpenJPA Aggregate Jar
      BrokerImpl.commit
      1. org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2078)
      2. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1928)
      3. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1826)
      4. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1757)
      5. org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:76)
      6. org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1314)
      6 frames
    3. kodo.kernel
      KodoBroker.commit
      1. kodo.kernel.KodoBroker.commit(KodoBroker.java:99)
      1 frame
    4. OpenJPA Aggregate Jar
      DelegatingBroker.commit
      1. org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
      1 frame
    5. kodo.jdo
      PersistenceManagerImpl.commit
      1. kodo.jdo.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:389)
      1 frame
    6. au.com.aig
      MemberUploadTest.testUploadAddressDetails
      1. au.com.aig.compass.upload.members.testdata.MemberUploadTest.testUploadAddressDetails(MemberUploadTest.java:42)
      1 frame
    7. 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
    8. 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
    9. 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