1 Reply Latest reply: Apr 20, 2012 8:58 AM by Shobhit Tyagi RSS

    Error stack trace while completing a task

    Shobhit Tyagi Master

      Hi,

       

      I get this error sometimes. And then it disappears by itself. Can anyone help me with this please. Below is the trace.

       

      org.jbpm.api.JbpmException: execution is not in a activity or in a transition

      org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:436)

      org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:416)

      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      java.lang.reflect.Method.invoke(Unknown Source)

      org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)

      org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_5.signal(ExecutionImpl_$$_javassist_5.java)

      org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:201)

      org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:188)

      org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:67)

      org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)

      org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)

      org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)

      org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)

      org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)

      org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)

      org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)

      org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:88)

      model.AllMethods.completeTask(AllMethods.java:106)

      controller.MainServlet.doGet(MainServlet.java:148)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

       

      Regards.