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 runawfe by nobody
, 1 year ago
ru.runa.wf.logic.bot.DoTaskHandler cannot be cast to org.jbpm.delegation.ActionHandler
java.lang.ClassCastException: ru.runa.wf.logic.bot.DoTaskHandler cannot be cast to org.jbpm.delegation.ActionHandler	at org.jbpm.model.definition.impl.ActionImpl.execute(ActionImpl.java:63)	at org.jbpm.model.definition.impl.ElementImpl.executeActions(ElementImpl.java:67)	at org.jbpm.model.definition.impl.StateImpl.acceptToken(StateImpl.java:39)	at org.jbpm.model.definition.impl.TransitionImpl.acceptToken(TransitionImpl.java:31)	at org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:86)	at org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:24)	at org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:36)	at ru.runa.wf.logic.JbpmExecutionLogic.startProcessInstanceInternal(JbpmExecutionLogic.java:726)	at ru.runa.wf.logic.JbpmExecutionLogic.startProcessInstance(JbpmExecutionLogic.java:681)	at ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.startProcessInstance(JbpmExecutionServiceBean.java:65)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.jboss.invocation.Invocation.performCall(Invocation.java:359)	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)	at org.jboss.ejb.Container.invoke(Container.java:954)	at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)	at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)	at undefined.$Proxy89.startProcessInstance(Unknown Source)	at ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.startProcessInstance(ExecutionServiceDelegateLocalImpl.java:95)	at ru.runa.wf.web.action.SubmitStartProcessFormAction.executeProcessFromAction(SubmitStartProcessFormAction.java:57)	at ru.runa.wf.web.action.BaseProcessFormAction.execute(BaseProcessFormAction.java:62)	at ru.runa.wf.web.action.SubmitStartProcessFormAction.execute(SubmitStartProcessFormAction.java:52)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)	at ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:40)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at ru.runa.af.web.filter.NTLMFilter.doFilter(NTLMFilter.java:60)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Unknown Source)