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]

Oracle Community | 3004 | 1 decade ago
  1. 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]
  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

    Problem with detach?

    Oracle Community | 1 decade ago | 3004
    kodo.util.UserException: The given instance of type "OurClass" and id "A" is not managed by this PersistenceManager.[OurClass$Identity-A]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)
  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

      The given instance of type "trekwatch.core.config.Country" and id "null" is not managed by this PersistenceManager.[trekwatch.core.config.Country@c7345c]

      at kodo.runtime.PersistenceManagerImpl.assertManaged()
    2. kodo.runtime
      PersistenceManagerImpl.detachAll
      1. kodo.runtime.PersistenceManagerImpl.assertManaged(PersistenceManagerImpl.java:4070)
      2. kodo.runtime.DetachManager.assertManaged(DetachManager.java:311)
      3. kodo.runtime.DetachManager.detach(DetachManager.java:275)
      4. kodo.runtime.DetachManager.detachAll(DetachManager.java:220)
      5. kodo.runtime.PersistenceManagerImpl.detachAll(PersistenceManagerImpl.java:3940)
      5 frames
    3. trekwatch.gis
      JdoGisDao.getCountries
      1. trekwatch.gis.JdoGisDao.getCountries(JdoGisDao.java:90)
      1 frame