java.lang.ClassCastException

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

    Integer auto-increment fields

    Oracle Community | 1 decade ago | 3004
    java.lang.ClassCastException

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at com.correlat.intranet.projectmanagement.Portfolio.jdoReplaceField()
    2. com.correlat.intranet
      Portfolio.jdoReplaceField
      1. com.correlat.intranet.projectmanagement.Portfolio.jdoReplaceField(Portfolio.java)
      1 frame
    3. kodo.runtime
      StateManagerImpl.storeObject
      1. kodo.runtime.StateManagerImpl.replaceField(StateManagerImpl.java:2771)
      2. kodo.runtime.StateManagerImpl.storeObjectField(StateManagerImpl.java:2272)
      3. kodo.runtime.StateManagerImpl.storeObject(StateManagerImpl.java:2252)
      3 frames
    4. kodo.jdbc.meta
      ClassMapping.setAutoIncrementValue
      1. kodo.jdbc.meta.ValueFieldMapping.setAutoIncrementValue(ValueFieldMapping.java:346)
      2. kodo.jdbc.meta.ClassMapping.setAutoIncrementValue(ClassMapping.java:381)
      2 frames
    5. kodo.jdbc.runtime
      JDBCStoreManager.flush
      1. kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:137)
      2. kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:357)
      3. kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:153)
      4. kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:72)
      5. kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:507)
      5 frames
    6. kodo.runtime
      DelegatingStoreManager.flush
      1. kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:158)
      1 frame
    7. kodo.datacache
      DataCacheStoreManager.flush
      1. kodo.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:412)
      1 frame
    8. kodo.runtime
      PersistenceManagerImpl.flush
      1. kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:794)
      2. kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:550)
      2 frames
    9. com.correlat.intranet
      PortfolioTest.testFlush
      1. com.correlat.intranet.projectmanagement.PortfolioTest.testFlush(PortfolioTest.java:393)
      1 frame
    10. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25)
      3 frames
    11. com.intellij.rt
      JUnitStarter.main
      1. com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
      1 frame
    12. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25)
      3 frames
    13. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(Unknown Source)
      1 frame