kodo.util.UserException: An object with oid "416.0" already exists in this PersistenceManager; another cannot be persisted. FailedObject:com.lehman.clientseg.data.staticdata.Currency@27538

Oracle Community | 3004 | 1 decade ago
  1. 0

    Cannot attach detached object

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: An object with oid "416.0" already exists in this PersistenceManager; another cannot be persisted. FailedObject:com.lehman.clientseg.data.staticdata.Currency@27538
  2. 0

    New instances reacheable from detached instance are not persisted on attach

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: The given instance of type "peacetech.nci.cs.jdo.Modification" and id "0;0" is not managed by this PersistenceManager. FailedObject:Modification(contractId = 0, modificationId = 0)
  3. 0

    Query Exception

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: The given instance of type "trekwatch.core.config.Country" and id "null" is not managed by this PersistenceManager.[trekwatch.core.config.Country@c7345c]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem de-referencing empty LRSProxyCollection

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: This container was loaded in large result set field "pkg.A.c", but has been removed from its owning field. Therefore, it can no longer be used. At kodo.jdbc.meta.AbstractCollectionFieldMapping$LRSProxyCollection.assertOwner(AbstractCollectionFieldMapping.java:744)
  6. 0

    Wrong error message when two instances with the same PK are created commited

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION" to two different values: "ContractMilestone 2", "RFC/AP Approved" This usually occurs when you map different fields to the same column, but you do not keep the values of these fields in synch.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kodo.util.UserException

      An object with oid "416.0" already exists in this PersistenceManager; another cannot be persisted. FailedObject:com.lehman.clientseg.data.staticdata.Currency@27538

      at kodo.runtime.PersistenceManagerImpl.makePersistentInternal()
    2. kodo.runtime
      PersistenceManagerImpl.attach
      1. kodo.runtime.PersistenceManagerImpl.makePersistentInternal(PersistenceManagerImpl.java:1943)
      2. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1881)
      3. kodo.runtime.AttachManager.makePersistent(AttachManager.java:383)
      4. kodo.runtime.AttachManager.attach(AttachManager.java:250)
      5. kodo.runtime.AttachManager.attach(AttachManager.java:54)
      6. kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:3548)
      6 frames