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.

  • using Custom ResultObjectProvider
    via by 3004,
  • ClassCastException with Query
    via by 3004,
  • ClassCastException in JBOSS
    via by 3004,
    • java.lang.ClassCastException at com.solarmetric.kodo.runtime.PCData.load(PCData.java:213) at com.solarmetric.kodo.runtime.PCData.load(PCData.java:154) at com.solarmetric.kodo.runtime.objectprovider.CustomResultObjectProviderImpl.initialize(CustomResultObjectProviderImpl.java:63) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:231) at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:174) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1023) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:942) at com.solarmetric.kodo.runtime.objectprovider.CustomResultObjectProvider$ResultObjectProviderAdapter.getResultObject(CustomResultObjectProvider.java:173) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:177) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:123) at java.util.AbstractList$Itr.next(AbstractList.java:416) at com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49) at com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:91) at com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:103) at com.solarmetric.kodo.impl.jdbc.runtime.CustomResultSetResultObjectProvider.getResultList(CustomResultSetResultObjectProvider.java:128) at com.cyclonecommerce.txm.ormapping.SQLExtQuery.getNextObjectList(SQLExtQuery.java:150) at txmtests.unittests.sptest.ResultSetAdaptorTestCase.testDocumentAdaptor(ResultSetAdaptorTestCase.java:54) at txmtests.unittests.sptest.ResultSetAdaptorTestCase.main(ResultSetAdaptorTestCase.java:85)
    No Bugmate found.