java.lang.ClassCastException: oracle.sql.TIMESTAMP

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807581, 1 year ago
java.lang.ClassCastException: oracle.sql.TIMESTAMP
at com.sun.jdo.spi.persistence.support.sqlstore.model.FieldDesc.convertValue(FieldDesc.java:463)
at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getConvertedObject(ResultDesc.java:399)
at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.setFields(ResultDesc.java:746)
at com.sun.jdo.spi.persistence.support.sqlstore.ResultDesc.getResult(ResultDesc.java:635)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.executeQuery(SQLStoreManager.java:648)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.retrieve(SQLStoreManager.java:500)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStoreManager.retrieve(SQLStoreManager.java:458)
at com.sun.jdo.spi.persistence.support.sqlstore.sql.RetrieveDescImpl.realizeFields(RetrieveDescImpl.java:755)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.realizeField(SQLStateManager.java:2155)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareGetField(SQLStateManager.java:1866)
at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareGetField(SQLStateManager.java:1819)
at br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_JDOState.getDataInicial(AgendamentoEJB449212383_JDOState.java:113)
at br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_ConcreteImpl.getDataInicial(AgendamentoEJB449212383_ConcreteImpl.java:132)
at br.com.inttegra.infra.bean.agenda.AgendamentoEJB449212383_ConcreteImpl_EJBLocalObjectImpl.getDataInicial(AgendamentoEJB449212383_ConcreteImpl_EJBLocalObjectImpl.java:376)
at br.com.inttegra.infra.bean.agenda.AgendamentoBizBean._loadHelperByReflection(AgendamentoBizBean.java:162)
at br.com.inttegra.infra.bean.agenda.AgendamentoBizBean.convertToData(AgendamentoBizBean.java:585)
at br.com.inttegra.infra.bean.agenda.AgendamentoBizBean_EJBLocalObjectImpl.convertToData(AgendamentoBizBean_EJBLocalObjectImpl.java:468)
at br.com.inttegra.infra.bean.pacote.PacoteBizBean.convertToData(PacoteBizBean.java:359)
at br.com.inttegra.infra.bean.pacote.PacoteBizBean.findAll(PacoteBizBean.java:167)
at br.com.inttegra.infra.bean.pacote.PacoteBizBean_EJBLocalObjectImpl.findAll(PacoteBizBean_EJBLocalObjectImpl.java:322)
at br.com.inttegra.infra.businesslayer.ejb.ControllerBean.findAll(ControllerBean.java:338)
at br.com.inttegra.infra.businesslayer.ejb.ControllerBean_EJBObjectImpl.findAll(ControllerBean_EJBObjectImpl.java:242)
at br.com.inttegra.infra.businesslayer.ejb._ControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.