java.lang.ClassCastException: ru.runa.wf.logic.bot.DoTaskHandler cannot be cast to org.jbpm.delegation.ActionHandler

runawfe | nobody | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    help !!! please problem with a task handler

    runawfe | 10 years ago | nobody
    java.lang.ClassCastException: ru.runa.wf.logic.bot.DoTaskHandler cannot be cast to org.jbpm.delegation.ActionHandler
  2. 0

    subprocesses

    runawfe | 1 decade ago | bkaremba
    java.lang.ClassCastException: myruna.SubProcessInstanceAction

    Root Cause Analysis

    1. 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()
    2. org.jbpm.model
      TransitionImpl.acceptToken
      1. org.jbpm.model.definition.impl.ActionImpl.execute(ActionImpl.java:63)
      2. org.jbpm.model.definition.impl.ElementImpl.executeActions(ElementImpl.java:67)
      3. org.jbpm.model.definition.impl.StateImpl.acceptToken(StateImpl.java:39)
      4. org.jbpm.model.definition.impl.TransitionImpl.acceptToken(TransitionImpl.java:31)
      4 frames
    3. org.jbpm.impl
      ExecutionServiceImpl.startProcessInstance
      1. org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:86)
      2. org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:24)
      3. org.jbpm.impl.ExecutionServiceImpl.startProcessInstance(ExecutionServiceImpl.java:36)
      3 frames
    4. ru.runa.wf
      JbpmExecutionServiceBean.startProcessInstance
      1. ru.runa.wf.logic.JbpmExecutionLogic.startProcessInstanceInternal(JbpmExecutionLogic.java:726)
      2. ru.runa.wf.logic.JbpmExecutionLogic.startProcessInstance(JbpmExecutionLogic.java:681)
      3. ru.runa.wf.service.impl.ejb.JbpmExecutionServiceBean.startProcessInstance(JbpmExecutionServiceBean.java:65)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    7. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    8. JBoss Application Server Server
      StatelessSessionProxy.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      6. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      7. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      8. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      9. org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10. org.jboss.ejb.Container.invoke(Container.java:954)
      11. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      12. org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      12 frames
    9. Unknown
      $Proxy89.startProcessInstance
      1. $Proxy89.startProcessInstance(Unknown Source)
      1 frame
    10. ru.runa.wf
      SubmitStartProcessFormAction.execute
      1. ru.runa.wf.delegate.impl.ExecutionServiceDelegateLocalImpl.startProcessInstance(ExecutionServiceDelegateLocalImpl.java:95)
      2. ru.runa.wf.web.action.SubmitStartProcessFormAction.executeProcessFromAction(SubmitStartProcessFormAction.java:57)
      3. ru.runa.wf.web.action.BaseProcessFormAction.execute(BaseProcessFormAction.java:62)
      4. ru.runa.wf.web.action.SubmitStartProcessFormAction.execute(SubmitStartProcessFormAction.java:52)
      4 frames
    11. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
      2 frames
    12. ru.runa.common
      UTF8RequestProcessor.process
      1. ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:40)
      1 frame
    13. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      2 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2 frames
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    16. ru.runa.af
      NTLMFilter.doFilter
      1. ru.runa.af.web.filter.NTLMFilter.doFilter(NTLMFilter.java:60)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    18. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    19. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    20. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      4 frames
    22. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    23. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame