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

Solutions on the web

via JBoss Issue Tracker by Robin Caldairou, 1 year ago
$Proxy179 cannot be cast to or acle.sql.CLOB) 11:44:35,269 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session: org.hibernate.exception. GenericJDBCException: could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl]
via JBoss Issue Tracker by Robin Caldairou, 1 year ago
$Proxy179 cannot be cast to or acle.sql.CLOB) 11:44:35,269 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session: org.hibernate.exception. GenericJDBCException: could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl]
java.lang.ClassCastException: $Proxy179 cannot be cast to oracle.sql.CLOB	at oracle.jdbc.driver.OraclePreparedStatement.setClob(OraclePreparedStatement.java:7066)	at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setClob(WrappedPreparedStatement.java:808)	at org.hibernate.type.descriptor.sql.ClobTypeDescriptor$1.doBind(ClobTypeDescriptor.java:60)	at org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:89)	at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:282)	at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:277)	at org.hibernate.type.AbstractSingleColumnStandardBasicType.nullSafeSet(AbstractSingleColumnStandardBasicType.java:85)	at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2166)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2856)	at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)	at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)	at org.hibernate.transaction.synchronization.CallbackCoordinator.beforeCompletion(CallbackCoordinator.java:117)	at org.hibernate.transaction.synchronization.HibernateSynchronizationImpl.beforeCompletion(HibernateSynchronizationImpl.java:51)	at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:97)	at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:274)	at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:94)	at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:159)	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1158)	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119)	at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)	at org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl.invoke(BPELEngineImpl.java:137)	at org.jboss.soa.dsp.ws.BaseWebServiceEndpoint.invoke(BaseWebServiceEndpoint.java:114)	at org.jboss.soa.dsp.ws.BaseWebServiceEndpoint.invoke(BaseWebServiceEndpoint.java:42)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.jboss.wsf.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:102)	at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:164)	at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:112)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)	at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)	at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172)	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57)	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:90)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)	at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)	at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)	at java.lang.Thread.run(Thread.java:662)