com.solarmetric.kodo.runtime.UserException: The instance "com.everwhere.idiomatica.app.security.User" of id "com.everwhere.idiomatica.app.security.User-0" is not managed by this PersistenceManager. FailedObject:User: admin

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Design pattern suggestion for multiple PersistenceManagers?

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: The instance "com.everwhere.idiomatica.app.security.User" of id "com.everwhere.idiomatica.app.security.User-0" is not managed by this PersistenceManager. FailedObject:User: admin

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.UserException

      The instance "com.everwhere.idiomatica.app.security.User" of id "com.everwhere.idiomatica.app.security.User-0" is not managed by this PersistenceManager. FailedObject:User: admin

      at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter()
    2. com.solarmetric.kodo
      StateManagerImpl.providedObjectField
      1. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1402)
      2. com.solarmetric.kodo.runtime.PersistFCOFieldManager.storeFirstClassObject(PersistFCOFieldManager.java:109)
      3. com.solarmetric.kodo.runtime.PersistFCOFieldManager.storeObjectField(PersistFCOFieldManager.java:78)
      4. com.solarmetric.kodo.runtime.StateManagerImpl.providedObjectField(StateManagerImpl.java:1354)
      4 frames
    3. com.everwhere.idiomatica
      TranslationRequest.jdoProvideField
      1. com.everwhere.idiomatica.app.etc.request.TranslationRequest.jdoProvideField(TranslationRequest.java)
      1 frame
    4. com.solarmetric.kodo
      PersistenceManagerImpl.commit
      1. com.solarmetric.kodo.runtime.StateManagerImpl.provideFields(StateManagerImpl.java:2360)
      2. com.solarmetric.kodo.runtime.StateManagerImpl.preFlush(StateManagerImpl.java:2037)
      3. com.solarmetric.kodo.runtime.PNewState.beforeCommit(PNewState.java:39)
      4. com.solarmetric.kodo.runtime.StateManagerImpl.beforeCommit(StateManagerImpl.java:597)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.preCommitCallbacks(PersistenceManagerImpl.java:650)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:454)
      6 frames
    5. com.everwhere.idiomatica
      KodoDatabase.insertDirectlyIntoDB
      1. com.everwhere.idiomatica.db.KodoDatabase.insertDirectlyIntoDB(KodoDatabase.java:45)
      1 frame