JBPM流程异常(业务数据已插入表,流程未推进)

hhlwork 2015-03-23
项目中采用jbpm4,系统操作时业务数据已插入到表中但是流程未推进。这种情况时不时出现而且测试环境无法复现,不知大侠们有没有遇到过这种问题

异常信息:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.task.TaskImpl#515066353]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
at org.hibernate.event.def.DefaultLoadEventListener.returnNarrowedProxy(DefaultLoadEventListener.java:258)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:215)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
at org.jbpm.pvm.internal.hibernate.DbSessionImpl.get(DbSessionImpl.java:73)
at org.jbpm.pvm.internal.cmd.GetTaskCmd.execute(GetTaskCmd.java:48)
at org.jbpm.pvm.internal.cmd.GetTaskCmd.execute(GetTaskCmd.java:33)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:49)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
at org.jbpm.pvm.internal.svc.TaskServiceImpl.getTask(TaskServiceImpl.java:68)
at com.sunshine.group.framework.workflow.BpmHandler$3.judgeTaskAudit(BpmHandler.java:1663)
at com.sunshine.group.framework.workflow.BpmHandler.auditTask(BpmHandler.java:1705)
at com.sunshine.group.app.pc.view.reconsideration.ReconsiderApprovePR.processApprove(ReconsiderApprovePR.java:568)
at com.sunshine.group.app.pc.view.reconsideration.ReconsiderApprovePR$$FastClassByCGLIB$$b0ac1f92.invoke(<generated>)
Global site tag (gtag.js) - Google Analytics