kodo.util.UserException: This operation failed for some instances. See the nested exceptions array for details.

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

    detach-on-close behaviour with deleted objects

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: This operation failed for some instances. See the nested exceptions array for details.
  2. 0

    UserException

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: This operation cannot be performed while a Transaction is active.

    Root Cause Analysis

    1. kodo.util.UserException

      This operation failed for some instances. See the nested exceptions array for details.

      at kodo.runtime.DetachManager.detachAll()
    2. kodo.runtime
      PersistenceManagerImpl.close
      1. kodo.runtime.DetachManager.detachAll(DetachManager.java:244)
      2. kodo.runtime.PersistenceManagerImpl.free(PersistenceManagerImpl.java:1776)
      3. kodo.runtime.PersistenceManagerImpl.close(PersistenceManagerImpl.java:1746)
      3 frames
    3. vc.xsys
      JDOOptimisticLockingTest.testOptimisticNotThrown
      1. vc.xsys.JDOOptimisticLockingTest.testOptimisticNotThrown(JDOOptimisticLockingTest.java:112)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames