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
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

    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]

    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