1 Reply Latest reply: Oct 12, 2009 3:46 PM by Sebastian Schneider RSS

How to unlock a token locked by a job

Prabhabati Moharana Newbie

Hi, We are working in JBPM JPDL3.2.2. While signalling the handler class (ActionHandler/DecisionHandler) we are getting the following error. ERROR [STDERR] org.jbpm.JbpmException: 'token[613]' can't unlock token '613' because it was already locked by 'job[645]' 17:42:46,124 ERROR [STDERR] at org.jbpm.graph.exe.Token.unlock(Token.java:660) 17:42:46,124 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:42:46,124 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 17:42:46,124 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 17:42:46,124 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 17:42:46,124 ERROR [STDERR] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) 17:42:46,124 ERROR [STDERR] at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$ebef92e3.unlock() 17:42:46,125 ERROR [STDERR] at com.tcs.cdr.process.JBPMUtil.signalProcess(JBPMUtil.java:479) Any help would be appreciated. Thanks