java.lang.ClassCastException: com.lehman.asp.common.dto.announcement.EAnnouncementSourceType

Oracle Community | 666705 | 9 years 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

    DBDictionary throws ClassCastException after upgrade to 4.1.4

    Oracle Community | 9 years ago | 666705
    java.lang.ClassCastException: com.lehman.asp.common.dto.announcement.EAnnouncementSourceType

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.lehman.asp.common.dto.announcement.EAnnouncementSourceType

      at org.apache.openjpa.kernel.TransferFieldManager.fetchStringField()
    2. OpenJPA Aggregate Jar
      BrokerImpl.commit
      1. org.apache.openjpa.kernel.TransferFieldManager.fetchStringField(TransferFieldManager.java:76)
      2. org.apache.openjpa.kernel.StateManagerImpl.fetchStringField(StateManagerImpl.java:2158)
      3. org.apache.openjpa.kernel.StateManagerImpl.fetchString(StateManagerImpl.java:2145)
      4. org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy.insert(StringFieldStrategy.java:100)
      5. org.apache.openjpa.jdbc.meta.FieldMapping.insert(FieldMapping.java:554)
      6. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.insert(AbstractUpdateManager.java:203)
      7. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.insert(AbstractUpdateManager.java:195)
      8. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.populateRowManager(AbstractUpdateManager.java:145)
      9. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:85)
      10. org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)
      11. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:514)
      12. org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
      13. org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:509)
      14. org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
      15. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1973)
      16. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1871)
      17. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1789)
      18. org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:80)
      19. org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1319)
      19 frames
    3. kodo.kernel
      KodoBroker.commit
      1. kodo.kernel.KodoBroker.commit(KodoBroker.java:103)
      1 frame
    4. OpenJPA Aggregate Jar
      DelegatingBroker.commit
      1. org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:866)
      1 frame
    5. kodo.jdo
      PersistenceManagerImpl.commit
      1. kodo.jdo.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:394)
      1 frame
    6. Spring ORM
      JdoTransactionManager.doCommit
      1. org.springframework.orm.jdo.JdoTransactionManager.doCommit(JdoTransactionManager.java:401)
      1 frame
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:319)
      4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)
      4 frames