java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.ClassCastException: com.lehman.asp.common.dto.announcement.EAnnouncementSourceType at org.apache.openjpa.kernel.TransferFieldManager.fetchStringField(TransferFieldManager.java:76) at org.apache.openjpa.kernel.StateManagerImpl.fetchStringField(StateManagerImpl.java:2158) at org.apache.openjpa.kernel.StateManagerImpl.fetchString(StateManagerImpl.java:2145) at org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy.insert(StringFieldStrategy.java:100) at org.apache.openjpa.jdbc.meta.FieldMapping.insert(FieldMapping.java:554) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.insert(AbstractUpdateManager.java:203) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.insert(AbstractUpdateManager.java:195) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.populateRowManager(AbstractUpdateManager.java:145) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:85) at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72) at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:514) at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:509) at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1973) at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1871) at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1789) at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:80) at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1319) at kodo.kernel.KodoBroker.commit(KodoBroker.java:103) at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:866) at kodo.jdo.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:394) at org.springframework.orm.jdo.JdoTransactionManager.doCommit(JdoTransactionManager.java:401) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:319) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)
    No Bugmate found.