09-26-2008 02:50 AM
org.alfresco.service.cmr.workflow.WorkflowException: Failed to signal
transition ‘endreview’ from workflow path ‘jbpm$5472-@’
at
org.alfresco.repo.workflow.jbpm.JBPMEngine.signal(JBPMEngine.java:876)
at
org.alfresco.repo.workflow.WorkflowServiceImpl.signal(WorkflowServiceImpl.java:317)
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:585)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at
org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at
org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at
org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)
at
org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy40.signal(Unknown Source)
at
org.alfresco.repo.workflow.WorkflowInterpreter.executeCommand(WorkflowInterpreter.java:1015)
at
org.alfresco.repo.workflow.WorkflowInterpreter.access$000(WorkflowInterpreter.java:83)
at
org.alfresco.repo.workflow.WorkflowInterpreter$1$1.execute(WorkflowInterpreter.java:291)
at
org.alfresco.repo.workflow.WorkflowInterpreter$1$1.execute(WorkflowInterpreter.java:289)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:236)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:166)
at
org.alfresco.repo.workflow.WorkflowInterpreter$1.doWork(WorkflowInterpreter.java:294)
at
org.alfresco.repo.workflow.WorkflowInterpreter$1.doWork(WorkflowInterpreter.java:285)
at
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:269)
at
org.alfresco.repo.workflow.WorkflowInterpreter.interpretCommand(WorkflowInterpreter.java:283)
at
com.queres.HR.web.bean.workflow.WorkFlowConsoleBeanExtension.interpretCommand(WorkFlowConsoleBeanExtension.java:174)
at
com.queres.HR.web.bean.workflow.WorkFlowConsoleBeanExtension.submitCommand(WorkFlowConsoleBeanExtension.java:139)
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:585)
at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.alfresco.web.app.servlet.AdminAuthenticationFilter.doFilter(AdminAuthenticationFilter.java:80)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jbpm.JbpmException: this token is locked by token[5472]
at org.jbpm.graph.exe.Token.signal(Token.java:184)
at org.jbpm.graph.exe.Token.signal(Token.java:157)
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:585)
at
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
at
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$268f55ce.signal(<generated>)
at
org.alfresco.repo.workflow.jbpm.JBPMEngine$17.doInJbpm(JBPMEngine.java:862)
at
org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
at
org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)
at
org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:333)
at
org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
at
org.alfresco.repo.workflow.jbpm.JBPMEngine.signal(JBPMEngine.java:842)
… 64 more
10-22-2009 10:46 AM
Caused by: org.jbpm.JbpmException: this token is locked by token[137]
at org.jbpm.graph.exe.Token.signal(Token.java:185)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.alfresco.repo.workflow.jbpm.JBPMEngine$18.doInJbpm(JBPMEngine.java:976)
at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:338)
at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
at org.alfresco.repo.workflow.jbpm.JBPMEngine.signal(JBPMEngine.java:965)
… 83 more
public class JustSignalItTaskActionHandler extends AbstractAlfrescoNodeActionHandler {
@Override
public void execute(ExecutionContext ctx) throws Exception {
// initialize the current pats and tasks
super.execute(ctx);
for (WorkflowPath wfPath : this.currentPaths) {
this.workflowService.signal(wfPath.id, null);
}
}
@Override
protected void initialiseHandler(BeanFactory factory) {
this.workflowService = (WorkflowService) factory.getBean("WorkflowService");
}
}
<task-node name="task-node1" async="true">
<event type="node-enter">
<action class="de.ipeq.iqweb.business.workflow.handlers.JustSignalItTaskActionHandler" config-type="bean"></action>
</event>
<transition to="next step" name="go-forward"></transition>
</task-node>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.