com.solarmetric.kodo.runtime.DataStoreException: Type "4" is referenced in the database, but does not exist.

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

    Problem using

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.DataStoreException: Type "4" is referenced in the database, but does not exist.
  2. 0

    Problem using IntegerSubclassProvider

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.DataStoreException: Type "4" is referenced in the database, but does not exist.

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.DataStoreException

      Type "4" is referenced in the database, but does not exist.

      at com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider.getType()
    2. com.solarmetric.kodo
      LazyResultList.get
      1. com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider.getType(IntegerSubclassProvider.java:207)
      2. com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getType(SubclassProviderImpl.java:97)
      3. com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadPrimaryMappings(ClassMapping.java:1108)
      4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:334)
      5. com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.initialize(DataCacheStoreManager.java:523)
      6. com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:215)
      7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310)
      8. com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228)
      9. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:916)
      10. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1095)
      11. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:199)
      12. com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:142)
      12 frames
    3. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.next(AbstractList.java:421)
      1 frame
    4. com.solarmetric.kodo
      CacheAwareQuery.execute
      1. com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49)
      2. com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:107)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:1087)
      4. com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:126)
      5. com.solarmetric.kodo.query.QueryImpl$DatastoreQueryExecutor.executeQuery(QueryImpl.java:1554)
      6. com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:675)
      7. com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:540)
      8. com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:526)
      9. com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:496)
      10. com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAwareQuery.java:273)
      10 frames
    5. com.cloverworxs.impl
      SecuritySetup.main
      1. com.cloverworxs.impl.jdo.MutableModelManagerImpl.findByURI(MutableModelManagerImpl.java:147)
      2. com.cloverworxs.impl.as.security.SecuritySetup.setUp(SecuritySetup.java:96)
      3. com.cloverworxs.impl.as.security.SecuritySetup.main(SecuritySetup.java:81)
      3 frames