activiti工作流中,运行taskservice.complete(taskId)报错

activiti工作流中,运行taskservice.complete(taskId)报错
部署流程引入的是通过java代码创建的xml文件,文件保存在D盘下,可以开始流程,就是到完成节点任务的时候就报错:
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: 前言中不允许有内容。

这个报错上网查了有说是xml的编码格式问题,但是我用记事本打开另存为的时候编码格式改成ansi,再运行还是不行。

求大神帮帮忙 我已经要爆炸了。。。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
activiti的taskService.complete方法报错, 会签功能,不能删除ACT_RU_EXECUTION表中的数据

2020-03-05 17:25:21,008 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:21,008 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:04.781(Timestamp), 2020-03-05 17:25:04.781(Timestamp), 2(Integer), 1(Integer) 2020-03-05 17:25:21,037 DEBUG [impl.persistence.entity.TaskEntity.selectTask] - ==> Preparing: select * from ACT_RU_TASK where ID_ = ? 2020-03-05 17:25:21,051 DEBUG [impl.persistence.entity.TaskEntity.selectTask] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:21,101 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - <== Total: 0 2020-03-05 17:25:21,321 DEBUG [impl.persistence.entity.TaskEntity.selectTask] - <== Total: 1 2020-03-05 17:25:21,337 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Preparing: select * from ACT_RU_EXECUTION where ID_ = ? 2020-03-05 17:25:21,349 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:21,598 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - <== Total: 1 2020-03-05 17:25:21,618 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Preparing: select * from ACT_RU_VARIABLE where EXECUTION_ID_ = ? and TASK_ID_ is null 2020-03-05 17:25:21,632 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:21,875 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - <== Total: 2 2020-03-05 17:25:21,893 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Preparing: select * from ACT_RU_EXECUTION where ID_ = ? 2020-03-05 17:25:21,906 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:22,152 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - <== Total: 1 2020-03-05 17:25:22,172 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Preparing: select * from ACT_RU_VARIABLE where EXECUTION_ID_ = ? and TASK_ID_ is null 2020-03-05 17:25:22,186 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:22,478 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - <== Total: 3 2020-03-05 17:25:22,496 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Preparing: select * from ACT_RU_EXECUTION where ID_ = ? 2020-03-05 17:25:22,508 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - ==> Parameters: b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:22,814 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecution] - <== Total: 1 2020-03-05 17:25:22,833 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Preparing: select * from ACT_RU_VARIABLE where EXECUTION_ID_ = ? and TASK_ID_ is null 2020-03-05 17:25:22,846 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Parameters: b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:23,506 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - <== Total: 13 2020-03-05 17:25:23,608 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_HI_ACTINST RES WHERE RES.EXECUTION_ID_ = ? and RES.ACT_ID_ = ? and RES.END_TIME_ is null order by RES.ID_ asc ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:23,633 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String), jhbmsh(String), 2(Integer), 1(Integer) 2020-03-05 17:25:23,870 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - <== Total: 0 2020-03-05 17:25:23,936 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_HI_ACTINST RES WHERE RES.EXECUTION_ID_ = ? and RES.ACT_ID_ = ? and RES.END_TIME_ is null order by RES.ID_ asc ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:23,959 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String), jhbmsh(String), 2(Integer), 1(Integer) 2020-03-05 17:25:24,536 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - <== Total: 1 2020-03-05 17:25:24,557 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:24,572 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: ca712ffb55ed4eaebd637337c36e402e(String) 2020-03-05 17:25:24,813 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:24,834 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Preparing: select * from ACT_RU_IDENTITYLINK where PROC_INST_ID_ = ? 2020-03-05 17:25:24,847 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Parameters: b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:24,874 WARN [org.springframework.scheduling.quartz.LocalDataSourceJobStore] - This scheduler instance (SC-2018112819301583393050864) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior. 2020-03-05 17:25:25,075 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - <== Total: 3 2020-03-05 17:25:25,097 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByParentTaskId] - ==> Preparing: select * from ACT_RU_TASK where PARENT_TASK_ID_ = ? 2020-03-05 17:25:25,110 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByParentTaskId] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:25,324 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByParentTaskId] - <== Total: 0 2020-03-05 17:25:25,341 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask] - ==> Preparing: select * from ACT_RU_IDENTITYLINK where TASK_ID_ = ? 2020-03-05 17:25:25,354 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:25,510 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByTask] - <== Total: 0 2020-03-05 17:25:25,527 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId] - ==> Preparing: select * from ACT_RU_VARIABLE where TASK_ID_ = ? 2020-03-05 17:25:25,542 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:25,718 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByTaskId] - <== Total: 0 2020-03-05 17:25:25,734 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance] - ==> Preparing: select * from ACT_HI_TASKINST where ID_ = ? 2020-03-05 17:25:25,747 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:26,030 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.selectHistoricTaskInstance] - <== Total: 1 2020-03-05 17:25:26,051 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ? 2020-03-05 17:25:26,063 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:26,149 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:26,149 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:26.149(Timestamp), 2020-03-05 17:25:26.149(Timestamp), 2(Integer), 1(Integer) 2020-03-05 17:25:26,225 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - <== Total: 0 2020-03-05 17:25:26,347 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - <== Total: 1 2020-03-05 17:25:26,409 DEBUG [impl.persistence.entity.ByteArrayEntity.selectByteArray] - ==> Preparing: select * from ACT_GE_BYTEARRAY where ID_ = ? 2020-03-05 17:25:26,421 DEBUG [impl.persistence.entity.ByteArrayEntity.selectByteArray] - ==> Parameters: 0b5bf947cc4f4b39a3cbe4f92361c92d(String) 2020-03-05 17:25:26,679 DEBUG [impl.persistence.entity.ByteArrayEntity.selectByteArray] - <== Total: 1 2020-03-05 17:25:26,749 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:26,767 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: 32b25168f8d142099f15776efb4d0942(String) 2020-03-05 17:25:26,998 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:27,061 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:27,075 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: 95bf1206fafb4d94a382912c0e3d49d7(String) 2020-03-05 17:25:27,311 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:27,331 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Preparing: select * from ACT_RU_EXECUTION where PARENT_ID_ = ? 2020-03-05 17:25:27,344 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:27,606 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - <== Total: 1 2020-03-05 17:25:27,623 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Preparing: select * from ACT_RU_EXECUTION where PARENT_ID_ = ? 2020-03-05 17:25:27,639 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:27,838 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - <== Total: 0 2020-03-05 17:25:27,849 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - inactive concurrent executions in 'Activity(jhbmsh)': [ConcurrentExecution[a32f7be1df484268a5137525f7482fc8]] 2020-03-05 17:25:27,857 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - other concurrent executions: [] 2020-03-05 17:25:27,866 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - transitions to take concurrent: [(jhbmsh)--sid-29EF82D1-53D5-4ADD-AAF2-B2E4CB2857FB-->(flbmsh), (jhbmsh)--sid-2160AC73-3470-4599-AA6D-39C99E731D3E-->(end)] 2020-03-05 17:25:27,874 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - active concurrent executions: [] 2020-03-05 17:25:27,880 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - recyclable executions for reuse: [ConcurrentExecution[a32f7be1df484268a5137525f7482fc8]] 2020-03-05 17:25:27,888 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - recycled ConcurrentExecution[a32f7be1df484268a5137525f7482fc8] to take transition (jhbmsh)--sid-29EF82D1-53D5-4ADD-AAF2-B2E4CB2857FB-->(flbmsh) 2020-03-05 17:25:27,901 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - Child execution ScopeExecution[dae048adf18e4137bd7503498bdf3b7a] created with parent 2020-03-05 17:25:27,912 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - new ScopeExecution[dae048adf18e4137bd7503498bdf3b7a] with parent ScopeExecution[66c63afb27a44c1688b44a0f6a216f5d] created to take transition (jhbmsh)--sid-2160AC73-3470-4599-AA6D-39C99E731D3E-->(end) 2020-03-05 17:25:28,011 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Preparing: select * from ACT_RU_EXECUTION where PARENT_ID_ = ? 2020-03-05 17:25:28,025 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - ==> Parameters: b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:28,284 DEBUG [impl.persistence.entity.ExecutionEntity.selectExecutionsByParentExecutionId] - <== Total: 1 2020-03-05 17:25:28,309 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ? 2020-03-05 17:25:28,659 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String) 2020-03-05 17:25:28,886 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - <== Total: 0 2020-03-05 17:25:28,907 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Preparing: select * from ACT_RU_JOB J where J.EXECUTION_ID_ = ? 2020-03-05 17:25:28,923 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String) 2020-03-05 17:25:29,123 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - <== Total: 0 2020-03-05 17:25:29,144 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EXECUTION_ID_ = ?) 2020-03-05 17:25:29,157 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String) 2020-03-05 17:25:29,328 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - <== Total: 0 2020-03-05 17:25:29,347 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Preparing: select * from ACT_RU_VARIABLE where EXECUTION_ID_ = ? and TASK_ID_ is null 2020-03-05 17:25:29,360 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String) 2020-03-05 17:25:29,542 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - <== Total: 0 2020-03-05 17:25:29,608 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_HI_ACTINST RES WHERE RES.EXECUTION_ID_ = ? and RES.END_TIME_ is null order by RES.ID_ asc ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:29,628 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String), 2147483647(Integer), 1(Integer) 2020-03-05 17:25:29,845 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - <== Total: 0 2020-03-05 17:25:29,867 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ? 2020-03-05 17:25:29,880 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:30,085 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - <== Total: 0 2020-03-05 17:25:30,105 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Preparing: select * from ACT_RU_IDENTITYLINK where PROC_INST_ID_ = ? 2020-03-05 17:25:30,120 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Parameters: dae048adf18e4137bd7503498bdf3b7a(String) 2020-03-05 17:25:30,280 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - <== Total: 0 2020-03-05 17:25:30,301 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - Child execution ScopeExecution[7e9d7306afd1405a9730796c25492472] created with parent 2020-03-05 17:25:30,309 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - initializing ScopeExecution[7e9d7306afd1405a9730796c25492472] 2020-03-05 17:25:30,363 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - Child execution ScopeExecution[024014e14ffb4e95b07060e129af8f1f] created with parent 2020-03-05 17:25:30,380 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Preparing: select * from ACT_RU_VARIABLE where EXECUTION_ID_ = ? and TASK_ID_ is null 2020-03-05 17:25:30,394 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - ==> Parameters: 024014e14ffb4e95b07060e129af8f1f(String) 2020-03-05 17:25:30,571 DEBUG [impl.persistence.entity.VariableInstanceEntity.selectVariablesByExecutionId] - <== Total: 0 2020-03-05 17:25:30,646 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_HI_ACTINST RES WHERE RES.EXECUTION_ID_ = ? and RES.ACT_ID_ = ? and RES.END_TIME_ is null order by RES.ID_ asc ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:30,670 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Parameters: 024014e14ffb4e95b07060e129af8f1f(String), flbmsh(String), 2(Integer), 1(Integer) 2020-03-05 17:25:30,906 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - <== Total: 0 2020-03-05 17:25:30,980 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ? 2020-03-05 17:25:30,993 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Parameters: 024014e14ffb4e95b07060e129af8f1f(String) 2020-03-05 17:25:31,266 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:31,266 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:31.264(Timestamp), 2020-03-05 17:25:31.264(Timestamp), 2(Integer), 1(Integer) 2020-03-05 17:25:31,346 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - <== Total: 0 2020-03-05 17:25:31,494 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - <== Total: 0 2020-03-05 17:25:31,655 DEBUG [engine.impl.persistence.entity.ExecutionEntity] - destroying ConcurrentScopeExecution[66c63afb27a44c1688b44a0f6a216f5d] 2020-03-05 17:25:31,669 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:31,682 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: aa15f1aaa53243febef5fcfc2b0f6378(String) 2020-03-05 17:25:31,922 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:31,962 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Preparing: select * from ACT_RU_JOB J where J.EXECUTION_ID_ = ? 2020-03-05 17:25:31,975 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:32,176 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - <== Total: 0 2020-03-05 17:25:32,195 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Preparing: select * from ACT_RU_IDENTITYLINK where PROC_INST_ID_ = ? 2020-03-05 17:25:32,209 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String) 2020-03-05 17:25:32,636 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - <== Total: 0 2020-03-05 17:25:32,661 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Preparing: select distinct T.* from ACT_RU_TASK T where T.EXECUTION_ID_ = ? 2020-03-05 17:25:32,676 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - ==> Parameters: b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:32,879 DEBUG [impl.persistence.entity.TaskEntity.selectTasksByExecutionId] - <== Total: 0 2020-03-05 17:25:32,896 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Preparing: select * from ACT_RU_JOB J where J.EXECUTION_ID_ = ? 2020-03-05 17:25:32,910 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:33,115 DEBUG [impl.persistence.entity.JobEntity.selectJobsByExecutionId] - <== Total: 0 2020-03-05 17:25:33,133 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - ==> Preparing: select * from ACT_RU_EVENT_SUBSCR where (EXECUTION_ID_ = ?) 2020-03-05 17:25:33,147 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:33,345 DEBUG [impl.persistence.entity.EventSubscriptionEntity.selectEventSubscriptionsByExecution] - <== Total: 0 2020-03-05 17:25:33,416 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_HI_ACTINST RES WHERE RES.EXECUTION_ID_ = ? and RES.END_TIME_ is null order by RES.ID_ asc ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:33,437 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String), 2147483647(Integer), 1(Integer) 2020-03-05 17:25:33,676 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.selectHistoricActivityInstancesByQueryCriteria] - <== Total: 0 2020-03-05 17:25:33,713 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:33,725 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: 9a88efabbcef4344a7ae082e5135d645(String) 2020-03-05 17:25:33,968 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:33,987 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Preparing: select * from ACT_HI_VARINST where ID_ = ? 2020-03-05 17:25:34,001 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - ==> Parameters: ccad23e5a3ae4791a0db8415196dfbe8(String) 2020-03-05 17:25:34,247 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.selectHistoricVariableInstanceByVariableInstanceId] - <== Total: 1 2020-03-05 17:25:34,274 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Preparing: select * from ACT_RU_IDENTITYLINK where PROC_INST_ID_ = ? 2020-03-05 17:25:34,290 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String) 2020-03-05 17:25:34,462 DEBUG [impl.persistence.entity.IdentityLinkEntity.selectIdentityLinksByProcessInstance] - <== Total: 0 2020-03-05 17:25:36,071 DEBUG [impl.persistence.entity.HistoricDetailEntity.bulkInsertHistoricDetailVariableInstanceUpdate_oracle] - ==> Preparing: INSERT ALL INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_DETAIL (ID_, TYPE_, PROC_INST_ID_, EXECUTION_ID_, ACT_INST_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, TIME_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:36,377 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:36,377 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:36.377(Timestamp), 2020-03-05 17:25:36.377(Timestamp), 2(Integer), 1(Integer) 2020-03-05 17:25:36,455 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - <== Total: 0 2020-03-05 17:25:36,614 DEBUG [impl.persistence.entity.HistoricDetailEntity.bulkInsertHistoricDetailVariableInstanceUpdate_oracle] - ==> Parameters: 8dcaeb292e504cee98af911229524979(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, null, flbmAssigneeList(String), 0(Integer), serializable(String), 2020-03-05 17:25:23.543(Timestamp), cc6836ebfe334fec91dbb7329c15bfd1(String), null, null, null, null, 9755d5dd0f7a49aa8778a6b1a499cb07(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), b93e9df098ae40da8b83ab758823266f(String), null, pass(String), 1(Integer), boolean(String), 2020-03-05 17:25:23.552(Timestamp), null, null, 1(Long), null, null, 8f3bd3bc2e0a40d98b7537ca470f2f61(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 66c63afb27a44c1688b44a0f6a216f5d(String), b93e9df098ae40da8b83ab758823266f(String), null, nrOfCompletedInstances(String), 1(Integer), integer(String), 2020-03-05 17:25:26.7(Timestamp), null, null, 1(Long), 1(String), null, 56100d82672d4bf99652a6d077d021cd(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 66c63afb27a44c1688b44a0f6a216f5d(String), b93e9df098ae40da8b83ab758823266f(String), null, nrOfActiveInstances(String), 1(Integer), integer(String), 2020-03-05 17:25:27.011(Timestamp), null, null, 0(Long), 0(String), null, a55c87971dad4b5dab889769bd8a4bbc(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), 578a7c83fcbe454995939a1a0a1ba2f2(String), null, nrOfInstances(String), 0(Integer), integer(String), 2020-03-05 17:25:30.333(Timestamp), null, null, 1(Long), 1(String), null, f72352f58cac47549aa7e666feccbf6e(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), 578a7c83fcbe454995939a1a0a1ba2f2(String), null, nrOfCompletedInstances(String), 0(Integer), integer(String), 2020-03-05 17:25:30.344(Timestamp), null, null, 0(Long), 0(String), null, 27f05823082647cdb5cca9cdf361adc4(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), 578a7c83fcbe454995939a1a0a1ba2f2(String), null, nrOfActiveInstances(String), 0(Integer), integer(String), 2020-03-05 17:25:30.354(Timestamp), null, null, 1(Long), 1(String), null, df5596d20f0f40a9a80a76fc7569669b(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), 578a7c83fcbe454995939a1a0a1ba2f2(String), null, loopCounter(String), 0(Integer), integer(String), 2020-03-05 17:25:30.586(Timestamp), null, null, 0(Long), 0(String), null, e4afcced22ab452998b859b450642d55(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), 578a7c83fcbe454995939a1a0a1ba2f2(String), null, flbmAssignee(String), 0(Integer), string(String), 2020-03-05 17:25:30.926(Timestamp), null, null, null, scfl(String), null, dc64b76bb428492cb4c2e02eb34e2ed4(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, null, loopCounter(String), 0(Integer), integer(String), 2020-03-05 17:25:33.693(Timestamp), null, null, 0(Long), 0(String), null, 702030af6b9f46f59324986178556e24(String), VariableUpdate(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, null, jhbmAssignee(String), 0(Integer), string(String), 2020-03-05 17:25:33.702(Timestamp), null, null, null, scjh(String), null 2020-03-05 17:25:37,553 DEBUG [impl.persistence.entity.HistoricDetailEntity.bulkInsertHistoricDetailVariableInstanceUpdate_oracle] - <== Updates: 11 2020-03-05 17:25:38,455 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.bulkInsertHistoricVariableInstance_oracle] - ==> Preparing: INSERT ALL INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_VARINST (ID_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, NAME_, REV_, VAR_TYPE_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_, CREATE_TIME_, LAST_UPDATED_TIME_) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:38,855 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.bulkInsertHistoricVariableInstance_oracle] - ==> Parameters: 80be1bad33f04798bbb819b8e4bc7e72(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, flbmAssigneeList(String), 0(Integer), serializable(String), b8ed975def6b4a1fad9cb618c207aec5(String), null, null, null, null, 2020-03-05 17:25:23.541(Timestamp), 2020-03-05 17:25:23.541(Timestamp), 85da4781a4064ac483015e50581f40be(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, nrOfInstances(String), 0(Integer), integer(String), null, null, 1(Long), 1(String), null, 2020-03-05 17:25:30.332(Timestamp), 2020-03-05 17:25:30.332(Timestamp), e92c275b73ba47f6937d59e24873c6f3(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, nrOfCompletedInstances(String), 0(Integer), integer(String), null, null, 0(Long), 0(String), null, 2020-03-05 17:25:30.343(Timestamp), 2020-03-05 17:25:30.343(Timestamp), b6d91858263c4112b01b546d9820a0d8(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, nrOfActiveInstances(String), 0(Integer), integer(String), null, null, 1(Long), 1(String), null, 2020-03-05 17:25:30.353(Timestamp), 2020-03-05 17:25:30.353(Timestamp), d5f306ba7fbe428cbb5511a592c70e1b(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), null, loopCounter(String), 0(Integer), integer(String), null, null, 0(Long), 0(String), null, 2020-03-05 17:25:30.585(Timestamp), 2020-03-05 17:25:30.585(Timestamp), c56e783d9e6441718d451bf8a9b034f9(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), null, flbmAssignee(String), 0(Integer), string(String), null, null, null, scfl(String), null, 2020-03-05 17:25:30.925(Timestamp), 2020-03-05 17:25:30.925(Timestamp), 751249edab7c4566b8c3d8e05ff44480(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, loopCounter(String), 0(Integer), integer(String), null, null, 0(Long), 0(String), null, 2020-03-05 17:25:33.692(Timestamp), 2020-03-05 17:25:33.692(Timestamp), d3f3d6908dde47698ff858499995a76f(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, jhbmAssignee(String), 0(Integer), string(String), null, null, null, scjh(String), null, 2020-03-05 17:25:33.701(Timestamp), 2020-03-05 17:25:33.701(Timestamp) 2020-03-05 17:25:39,516 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.bulkInsertHistoricVariableInstance_oracle] - <== Updates: 8 2020-03-05 17:25:39,553 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstance] - ==> Preparing: insert into ACT_HI_TASKINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, OWNER_, ASSIGNEE_, START_TIME_, CLAIM_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TASK_DEF_KEY_, FORM_KEY_, PRIORITY_, DUE_DATE_, CATEGORY_, TENANT_ID_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 2020-03-05 17:25:39,610 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstance] - ==> Parameters: 3d7ff2f6811d4722b492bcd7cb7de6af(String), rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), 法律部门审核(String), null, null, null, scfl(String), 2020-03-05 17:25:31.505(Timestamp), null, null, null, null, flbmsh(String), /rent/zczrshZybm(String), 50(Integer), null, null, (String) 2020-03-05 17:25:39,789 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.insertHistoricTaskInstance] - <== Updates: 1 2020-03-05 17:25:40,053 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.bulkInsertHistoricActivityInstance_oracle] - ==> Preparing: INSERT ALL INTO ACT_HI_ACTINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, ACT_ID_, TASK_ID_, CALL_PROC_INST_ID_, ACT_NAME_, ACT_TYPE_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, TENANT_ID_ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_HI_ACTINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, ACT_ID_, TASK_ID_, CALL_PROC_INST_ID_, ACT_NAME_, ACT_TYPE_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, TENANT_ID_ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:40,157 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.bulkInsertHistoricActivityInstance_oracle] - ==> Parameters: 578a7c83fcbe454995939a1a0a1ba2f2(String), rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), flbmsh(String), 3d7ff2f6811d4722b492bcd7cb7de6af(String), null, 法律部门审核(String), userTask(String), scfl(String), 2020-03-05 17:25:30.32(Timestamp), null, null, (String), 1be546fd8af546b3ae2e6c286f0846e1(String), rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), b7a34a039dc74635bba47d4763cd5c9a(String), 66c63afb27a44c1688b44a0f6a216f5d(String), end(String), null, null, 结束(String), endEvent(String), null, 2020-03-05 17:25:31.942(Timestamp), 2020-03-05 17:25:31.947(Timestamp), 5(Long), (String) 2020-03-05 17:25:40,407 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.bulkInsertHistoricActivityInstance_oracle] - <== Updates: 2 2020-03-05 17:25:40,425 DEBUG [impl.persistence.entity.HistoricIdentityLinkEntity.insertHistoricIdentityLink] - ==> Preparing: insert into ACT_HI_IDENTITYLINK (ID_, TYPE_, USER_ID_, GROUP_ID_, TASK_ID_, PROC_INST_ID_) values (?, ?, ?, ?, ?, ?) 2020-03-05 17:25:40,449 DEBUG [impl.persistence.entity.HistoricIdentityLinkEntity.insertHistoricIdentityLink] - ==> Parameters: 7283cdf8e0284a70b23f705ee1b97d5d(String), participant(String), scfl(String), null, null, b7a34a039dc74635bba47d4763cd5c9a(String) 2020-03-05 17:25:40,547 DEBUG [impl.persistence.entity.HistoricIdentityLinkEntity.insertHistoricIdentityLink] - <== Updates: 1 2020-03-05 17:25:40,792 DEBUG [impl.persistence.entity.ExecutionEntity.bulkInsertExecution_oracle] - ==> Preparing: INSERT ALL into ACT_RU_EXECUTION (ID_, REV_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, ACT_ID_, IS_ACTIVE_, IS_CONCURRENT_, IS_SCOPE_,IS_EVENT_SCOPE_, PARENT_ID_, SUPER_EXEC_, SUSPENSION_STATE_, CACHED_ENT_STATE_, TENANT_ID_, NAME_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) into ACT_RU_EXECUTION (ID_, REV_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, ACT_ID_, IS_ACTIVE_, IS_CONCURRENT_, IS_SCOPE_,IS_EVENT_SCOPE_, PARENT_ID_, SUPER_EXEC_, SUSPENSION_STATE_, CACHED_ENT_STATE_, TENANT_ID_, NAME_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:40,899 DEBUG [impl.persistence.entity.ExecutionEntity.bulkInsertExecution_oracle] - ==> Parameters: 7e9d7306afd1405a9730796c25492472(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), flbmsh(String), false(Boolean), false(Boolean), true(Boolean), false(Boolean), b7a34a039dc74635bba47d4763cd5c9a(String), null, 1(Integer), 6(Integer), (String), null, 024014e14ffb4e95b07060e129af8f1f(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), flbmsh(String), true(Boolean), true(Boolean), false(Boolean), false(Boolean), 7e9d7306afd1405a9730796c25492472(String), null, 1(Integer), 7(Integer), (String), null 2020-03-05 17:25:41,139 DEBUG [impl.persistence.entity.ExecutionEntity.bulkInsertExecution_oracle] - <== Updates: 2 2020-03-05 17:25:41,171 DEBUG [impl.persistence.entity.TaskEntity.insertTask] - ==> Preparing: insert into ACT_RU_TASK (ID_, REV_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, PRIORITY_, CREATE_TIME_, OWNER_, ASSIGNEE_, DELEGATION_, EXECUTION_ID_, PROC_INST_ID_, PROC_DEF_ID_, TASK_DEF_KEY_, DUE_DATE_, CATEGORY_, SUSPENSION_STATE_, TENANT_ID_, FORM_KEY_) values (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 2020-03-05 17:25:41,224 DEBUG [impl.persistence.entity.TaskEntity.insertTask] - ==> Parameters: 3d7ff2f6811d4722b492bcd7cb7de6af(String), 法律部门审核(String), null, null, 50(Integer), 2020-03-05 17:25:30.97(Timestamp), null, scfl(String), null, 024014e14ffb4e95b07060e129af8f1f(String), b7a34a039dc74635bba47d4763cd5c9a(String), rent_zczr:1:89f8f180b5d44c82bc0cba80cc6b21a3(String), flbmsh(String), null, null, 1(Integer), (String), /rent/zczrshZybm(String) 2020-03-05 17:25:41,401 DEBUG [impl.persistence.entity.TaskEntity.insertTask] - <== Updates: 1 2020-03-05 17:25:41,421 DEBUG [impl.persistence.entity.IdentityLinkEntity.insertIdentityLink] - ==> Preparing: insert into ACT_RU_IDENTITYLINK (ID_, REV_, TYPE_, USER_ID_, GROUP_ID_, TASK_ID_, PROC_INST_ID_, PROC_DEF_ID_) values (?, 1, ?, ?, ?, ?, ?, ?) 2020-03-05 17:25:41,449 DEBUG [impl.persistence.entity.IdentityLinkEntity.insertIdentityLink] - ==> Parameters: 7283cdf8e0284a70b23f705ee1b97d5d(String), participant(String), scfl(String), null, null, b7a34a039dc74635bba47d4763cd5c9a(String), null 2020-03-05 17:25:41,488 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? 2020-03-05 17:25:41,488 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:41.486(Timestamp), 2020-03-05 17:25:41.486(Timestamp), 2(Integer), 1(Integer) 2020-03-05 17:25:41,550 DEBUG [impl.persistence.entity.IdentityLinkEntity.insertIdentityLink] - <== Updates: 1 2020-03-05 17:25:41,565 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - <== Total: 0 2020-03-05 17:25:41,668 DEBUG [impl.persistence.entity.ByteArrayEntity.bulkInsertByteArray_oracle] - ==> Preparing: INSERT ALL into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_) VALUES (?, 1, ?, ?, ?) into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_) VALUES (?, 1, ?, ?, ?) into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_) VALUES (?, 1, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:41,721 DEBUG [impl.persistence.entity.ByteArrayEntity.bulkInsertByteArray_oracle] - ==> Parameters: 7bb43b3ae074482688f9cd47b9279dea(String), var-flbmAssigneeList(String), java.io.ByteArrayInputStream@12e26091(ByteArrayInputStream), null, b8ed975def6b4a1fad9cb618c207aec5(String), hist.var-flbmAssigneeList(String), java.io.ByteArrayInputStream@17175672(ByteArrayInputStream), null, cc6836ebfe334fec91dbb7329c15bfd1(String), hist.detail.var-flbmAssigneeList(String), java.io.ByteArrayInputStream@38920a(ByteArrayInputStream), null 2020-03-05 17:25:41,867 DEBUG [impl.persistence.entity.ByteArrayEntity.bulkInsertByteArray_oracle] - <== Updates: 3 2020-03-05 17:25:42,543 DEBUG [impl.persistence.entity.VariableInstanceEntity.bulkInsertVariableInstance_oracle] - ==> Preparing: INSERT ALL INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) INTO ACT_RU_VARIABLE (ID_, REV_, TYPE_, NAME_, PROC_INST_ID_, EXECUTION_ID_, TASK_ID_, BYTEARRAY_ID_, DOUBLE_, LONG_ , TEXT_, TEXT2_) VALUES (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) SELECT * FROM dual 2020-03-05 17:25:42,829 DEBUG [impl.persistence.entity.VariableInstanceEntity.bulkInsertVariableInstance_oracle] - ==> Parameters: 80be1bad33f04798bbb819b8e4bc7e72(String), serializable(String), flbmAssigneeList(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, 7bb43b3ae074482688f9cd47b9279dea(String), null, null, null, null, 85da4781a4064ac483015e50581f40be(String), integer(String), nrOfInstances(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, null, null, 1(Long), 1(String), null, e92c275b73ba47f6937d59e24873c6f3(String), integer(String), nrOfCompletedInstances(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, null, null, 0(Long), 0(String), null, b6d91858263c4112b01b546d9820a0d8(String), integer(String), nrOfActiveInstances(String), b7a34a039dc74635bba47d4763cd5c9a(String), 7e9d7306afd1405a9730796c25492472(String), null, null, null, 1(Long), 1(String), null, d5f306ba7fbe428cbb5511a592c70e1b(String), integer(String), loopCounter(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), null, null, null, 0(Long), 0(String), null, c56e783d9e6441718d451bf8a9b034f9(String), string(String), flbmAssignee(String), b7a34a039dc74635bba47d4763cd5c9a(String), 024014e14ffb4e95b07060e129af8f1f(String), null, null, null, null, scfl(String), null, 751249edab7c4566b8c3d8e05ff44480(String), integer(String), loopCounter(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, null, null, 0(Long), 0(String), null, d3f3d6908dde47698ff858499995a76f(String), string(String), jhbmAssignee(String), b7a34a039dc74635bba47d4763cd5c9a(String), b7a34a039dc74635bba47d4763cd5c9a(String), null, null, null, null, scjh(String), null 2020-03-05 17:25:43,372 DEBUG [impl.persistence.entity.VariableInstanceEntity.bulkInsertVariableInstance_oracle] - <== Updates: 8 2020-03-05 17:25:43,404 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.updateHistoricTaskInstance] - ==> Preparing: update ACT_HI_TASKINST set EXECUTION_ID_ = ?, NAME_ = ?, PARENT_TASK_ID_ = ?, DESCRIPTION_ = ?, OWNER_ = ?, ASSIGNEE_ = ?, CLAIM_TIME_ = ?, END_TIME_ = ?, DURATION_ = ?, DELETE_REASON_ = ?, TASK_DEF_KEY_ = ?, FORM_KEY_ = ?, PRIORITY_ = ?, DUE_DATE_ = ?, CATEGORY_ = ? where ID_ = ? 2020-03-05 17:25:43,453 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.updateHistoricTaskInstance] - ==> Parameters: a32f7be1df484268a5137525f7482fc8(String), 计划部门审核(String), null, null, null, scjh(String), null, 2020-03-05 17:25:26.042(Timestamp), 783815(Long), completed(String), jhbmsh(String), /rent/zczrshZybm(String), 50(Integer), null, null, e10fc0d1e5a4472f8e3799780d806796(String) 2020-03-05 17:25:43,592 DEBUG [impl.persistence.entity.HistoricTaskInstanceEntity.updateHistoricTaskInstance] - <== Updates: 1 2020-03-05 17:25:43,615 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:43,652 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, 1(Long), 1(String), null, integer(String), 2020-03-05 17:25:31.952(Timestamp), aa15f1aaa53243febef5fcfc2b0f6378(String), 0(Integer) 2020-03-05 17:25:43,767 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:43,789 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:43,825 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, 0(Long), 0(String), null, integer(String), 2020-03-05 17:25:31.95(Timestamp), 95bf1206fafb4d94a382912c0e3d49d7(String), 0(Integer) 2020-03-05 17:25:43,946 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:43,968 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,003 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, null, scjh(String), null, string(String), 2020-03-05 17:25:34.262(Timestamp), ccad23e5a3ae4791a0db8415196dfbe8(String), 0(Integer) 2020-03-05 17:25:44,118 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:44,142 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,177 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, 0(Long), 0(String), null, integer(String), 2020-03-05 17:25:33.979(Timestamp), 9a88efabbcef4344a7ae082e5135d645(String), 0(Integer) 2020-03-05 17:25:44,306 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:44,327 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,365 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, 1(Long), 1(String), null, integer(String), 2020-03-05 17:25:31.953(Timestamp), 32b25168f8d142099f15776efb4d0942(String), 0(Integer) 2020-03-05 17:25:44,479 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:44,500 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Preparing: update ACT_HI_VARINST set REV_ = ?, BYTEARRAY_ID_ = ?, DOUBLE_ = ?, LONG_ = ?, TEXT_ = ?, TEXT2_ = ?, VAR_TYPE_ = ?, LAST_UPDATED_TIME_ = ? where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,535 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - ==> Parameters: 1(Integer), null, null, 1(Long), null, null, boolean(String), 2020-03-05 17:25:24.824(Timestamp), ca712ffb55ed4eaebd637337c36e402e(String), 0(Integer) 2020-03-05 17:25:44,664 DEBUG [impl.persistence.entity.HistoricVariableInstanceEntity.updateHistoricVariableInstance] - <== Updates: 1 2020-03-05 17:25:44,682 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.updateHistoricActivityInstance] - ==> Preparing: update ACT_HI_ACTINST set EXECUTION_ID_ = ?, ASSIGNEE_ = ?, END_TIME_ = ?, DURATION_ = ? where ID_ = ? 2020-03-05 17:25:44,706 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.updateHistoricActivityInstance] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String), scjh(String), 2020-03-05 17:25:31.652(Timestamp), 789646(Long), b93e9df098ae40da8b83ab758823266f(String) 2020-03-05 17:25:44,796 DEBUG [impl.persistence.entity.HistoricActivityInstanceEntity.updateHistoricActivityInstance] - <== Updates: 1 2020-03-05 17:25:44,812 DEBUG [impl.persistence.entity.TaskEntity.deleteTask] - ==> Preparing: delete from ACT_RU_TASK where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,827 DEBUG [impl.persistence.entity.TaskEntity.deleteTask] - ==> Parameters: e10fc0d1e5a4472f8e3799780d806796(String), 1(Integer) 2020-03-05 17:25:44,896 DEBUG [impl.persistence.entity.TaskEntity.deleteTask] - <== Updates: 1 2020-03-05 17:25:44,908 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Preparing: delete from ACT_RU_VARIABLE where ID_ = ? and REV_ = ? 2020-03-05 17:25:44,923 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Parameters: 95bf1206fafb4d94a382912c0e3d49d7(String), 1(Integer) 2020-03-05 17:25:45,000 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - <== Updates: 1 2020-03-05 17:25:45,016 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Preparing: delete from ACT_RU_VARIABLE where ID_ = ? and REV_ = ? 2020-03-05 17:25:45,032 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Parameters: aa15f1aaa53243febef5fcfc2b0f6378(String), 1(Integer) 2020-03-05 17:25:45,108 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - <== Updates: 1 2020-03-05 17:25:45,122 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Preparing: delete from ACT_RU_VARIABLE where ID_ = ? and REV_ = ? 2020-03-05 17:25:45,137 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - ==> Parameters: 32b25168f8d142099f15776efb4d0942(String), 1(Integer) 2020-03-05 17:25:45,214 DEBUG [impl.persistence.entity.VariableInstanceEntity.deleteVariableInstance] - <== Updates: 1 2020-03-05 17:25:45,229 DEBUG [impl.persistence.entity.ExecutionEntity.deleteExecution] - ==> Preparing: delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ? 2020-03-05 17:25:45,244 DEBUG [impl.persistence.entity.ExecutionEntity.deleteExecution] - ==> Parameters: 66c63afb27a44c1688b44a0f6a216f5d(String), 1(Integer) 2020-03-05 17:25:48,284 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ? org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.sql.SQLException: ORA-02292: 违反完整约束条件 (EAM.SYS_C0018471) - 已找到子记录 2020-03-05 17:25:48,284 DEBUG [impl.persistence.entity.JobEntity.selectNextJobsToExecute] - ==> Parameters: 2020-03-05 17:25:48.284(Timestamp), 2020-03-05 17:25:48.284(Timestamp), 2(Integer), 1(Integer) ### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.deleteExecution-Inline ### The error occurred while setting parameters ### SQL: delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ? ### Cause: java.sql.SQLException: ORA-02292: 违反完整约束条件 (EAM.SYS_C0018471) - 已找到子记录 ``` ```![图片说明](https://img-ask.csdn.net/upload/202003/05/1583402296_781060.png) ``` ```不能删除ACT_RU_EXECUTION 表中的记录, delete from ACT_RU_EXECUTION where ID_ = ? and REV_ = ? ### Cause: java.sql.SQLException: ORA-02292: 违反完整约束条件

activiti6.0 部署流程报错 org.activiti.bpmn.exceptions.XMLException: src-resolve: Cannot resolve

13:54:22.032 ERROR org.activiti.engine.impl.interceptor.CommandContext - Error while closing command context org.activiti.bpmn.exceptions.XMLException: src-resolve: Cannot resolve the name 'extension' to a(n) 'element declaration' component. at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:280) at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:148) at org.activiti.engine.impl.bpmn.deployer.ParsedDeploymentBuilder.createBpmnParseFromResource(ParsedDeploymentBuilder.java:96) at org.activiti.engine.impl.bpmn.deployer.ParsedDeploymentBuilder.build(ParsedDeploymentBuilder.java:55) at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:71) at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:60) at org.activiti.engine.impl.cmd.DeployCmd.executeDeploy(DeployCmd.java:110) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:60) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:40) at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37) at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78) at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57) at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42) at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:63) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39) at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:86) at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:188) at cn.gentlesoft.cps.activiti.controller.ActiviteExplorerConttroller.modelDeploy(ActiviteExplorerConttroller.java:258) at cn.gentlesoft.cps.activiti.controller.ActiviteExplorerConttroller$$FastClassBySpringCGLIB$$a6fc8c03.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at cn.gentlesoft.cps.sys.interceptor.SysLogInterceptor.around(SysLogInterceptor.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673) at cn.gentlesoft.cps.activiti.controller.ActiviteExplorerConttroller$$EnhancerBySpringCGLIB$$e5e5889.modelDeploy(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'extension' to a(n) 'element declaration' component. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at org.activiti.bpmn.converter.BpmnXMLConverter.createSchema(BpmnXMLConverter.java:232) at org.activiti.bpmn.converter.BpmnXMLConverter.validateModel(BpmnXMLConverter.java:211) at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:269) ... 96 common frames omitted 13:54:22.035 DEBUG cn.gentlesoft.cps.activiti.controller.ActiviteExplorerConttroller - src-resolve: Cannot resolve the name 'extension' to a(n) 'element declaration' component.

activiti工作流,退回问题。。

执行退回到上一节点操作时,完成操作执行报错空指针,task的值都取到了啊,执行到taskService.complete 时就报错 ``` try { Map<String, Object> variables; // 取得当前任务.当前任务节点 HistoricTaskInstance currTask = historyService .createHistoricTaskInstanceQuery().taskId(taskId) .singleResult(); // 取得流程实例,流程实例 ProcessInstance instance = runtimeService .createProcessInstanceQuery() .processInstanceId(currTask.getProcessInstanceId()) .singleResult(); if (instance == null) { log.info("流程结束"); log.error("出错啦!流程已经结束"); // return "ERROR"; } variables = instance.getProcessVariables(); // 取得流程定义 ProcessDefinitionEntity definition = (ProcessDefinitionEntity) ((RepositoryServiceImpl) repositoryService) .getDeployedProcessDefinition(currTask .getProcessDefinitionId()); if (definition == null) { log.info("流程定义未找到"); log.error("出错啦!流程定义未找到"); // return "ERROR"; } // 取得上一步活动 ActivityImpl currActivity = ((ProcessDefinitionImpl) definition) .findActivity(currTask.getTaskDefinitionKey()); //也就是节点间的连线 List<PvmTransition> nextTransitionList = currActivity .getIncomingTransitions(); // 清除当前活动的出口 List<PvmTransition> oriPvmTransitionList = new ArrayList<PvmTransition>(); //新建一个节点连线关系集合 List<PvmTransition> pvmTransitionList = currActivity .getOutgoingTransitions(); // for (PvmTransition pvmTransition : pvmTransitionList) { oriPvmTransitionList.add(pvmTransition); } pvmTransitionList.clear(); // 建立新出口 List<TransitionImpl> newTransitions = new ArrayList<TransitionImpl>(); for (PvmTransition nextTransition : nextTransitionList) { PvmActivity nextActivity = nextTransition.getSource(); ActivityImpl nextActivityImpl = ((ProcessDefinitionImpl) definition) .findActivity(nextActivity.getId()); TransitionImpl newTransition = currActivity .createOutgoingTransition(); newTransition.setDestination(nextActivityImpl); newTransitions.add(newTransition); } // 完成任务 List<Task> tasks = taskService.createTaskQuery() .processInstanceId(instance.getId()) .taskDefinitionKey(currTask.getTaskDefinitionKey()).list(); for (Task task : tasks) { taskService.complete(task.getId(), variables); // UserInfo user = SessionUtil.getUser(); // Authentication.setAuthenticatedUserId(user.getUserId()+"");//批注人的名称 一定要写,不然查看的时候不知道人物信息 // taskService.addComment(taskId, null, comment);//comment为批注内容 historyService.deleteHistoricTaskInstance(task.getId()); } // 恢复方向 for (TransitionImpl transitionImpl : newTransitions) { currActivity.getOutgoingTransitions().remove(transitionImpl); } for (PvmTransition pvmTransition : oriPvmTransitionList) { pvmTransitionList.add(pvmTransition); } log.info("OK"); log.info("流程结束"); // return "SUCCESS"; } catch (Exception e) { log.error("失败"); log.error(e.getMessage()); // return "ERROR"; } ``` 下面是控制台代码 ``` 2016-09-13 11:51:06|http-bio-8080-exec-10|DEBUG|org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:171)|Error while closing command context java.lang.NullPointerException at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:126) at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:66) at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44) at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:47) at org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior.signal(UserTaskActivityBehavior.java:225) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.signal(ExecutionEntity.java:409) at org.activiti.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:203) at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:52) at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:24) at org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:59) at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) at org.activiti.engine.impl.TaskServiceImpl.complete(TaskServiceImpl.java:179) at com.skysoft.irevisit.visit.service.dengji.DengJiService.boHui(DengJiService.java:649) at com.skysoft.irevisit.visit.web.dengji.DengJiController.execute(DengJiController.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) ```

activiti启动实例时异常,大神们能看出什么原因吗 ?

12:26:46.846 [main] INFO o.a.engine.impl.db.DbSqlSession 1147 - performing create on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql 12:26:46.862 [main] INFO o.a.engine.impl.ProcessEngineImpl 87 - ProcessEngine default created 12:26:47.596 [main] WARN o.a.e.i.b.d.ProcessDefinitionDiagramHelper 67 - Error while generating process diagram, image will not be stored in repository java.lang.NullPointerException: null at org.activiti.image.impl.DefaultProcessDiagramGenerator.connectionPerfectionizer(DefaultProcessDiagramGenerator.java:697) at org.activiti.image.impl.DefaultProcessDiagramGenerator$22.draw(DefaultProcessDiagramGenerator.java:379) at org.activiti.image.impl.DefaultProcessDiagramGenerator.drawArtifact(DefaultProcessDiagramGenerator.java:785) at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:508) at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:403) at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:427) at org.activiti.engine.impl.bpmn.deployer.ProcessDefinitionDiagramHelper.createDiagramForProcessDefinition(ProcessDefinitionDiagramHelper.java:51) at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.createAndPersistNewDiagramsIfNeeded(BpmnDeployer.java:117) at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:79) at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:60) at org.activiti.engine.impl.cmd.DeployCmd.executeDeploy(DeployCmd.java:110) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:60) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:40) at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37) at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78) at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57) at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42) at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:63) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39) at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:86) at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:188) at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:101) at org.activiti.engine.test.ActivitiRule.starting(ActivitiRule.java:215) at org.activiti.engine.test.ActivitiRule.startingQuietly(ActivitiRule.java:159) at org.activiti.engine.test.ActivitiRule.access$000(ActivitiRule.java:76) at org.activiti.engine.test.ActivitiRule$1.evaluate(ActivitiRule.java:114) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:254) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) ProcessEngine [default] Version: [6.0.0.4] Found process definition [Text FlowChart2] with id [TextFlowChart2:1:3]

activiti退回到会签任务节点时,会签人办理任务,能得到任务id但出现空指针异常,为什么?

根据节点id和流程实例id跳转节点方法 managerService.executeCommand(new JumpActivityCmd(activitiID, instanceId)); public class JumpActivityCmd implements Command<Object> { private String activityId; private String processInstanceId; private String jumpOrigin; public JumpActivityCmd(String activityId, String processInstanceId,String jumpOrigin) { this.activityId = activityId; this.processInstanceId = processInstanceId; this.jumpOrigin = jumpOrigin; } public JumpActivityCmd(String activityId, String processInstanceId) { this(activityId,processInstanceId,"jump"); } public Object execute(CommandContext commandContext) { ExecutionEntity executionEntity = commandContext.getExecutionEntityManager().findExecutionById(processInstanceId); executionEntity.destroyScope(jumpOrigin); ProcessDefinitionImpl processDefinition = executionEntity.getProcessDefinition(); ActivityImpl activity = processDefinition.findActivity(activityId); executionEntity.executeActivity(activity); return executionEntity; } } 异常: java.lang.NullPointerException at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:96) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:97) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:650) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:643) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:35) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:97) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:650) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:643) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:97) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:650) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:643) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:460) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.takeAll(ExecutionEntity.java:564) at org.activiti.engine.impl.bpmn.behavior.ParallelMultiInstanceBehavior.leave(ParallelMultiInstanceBehavior.java:152) at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:49) at org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior.signal(UserTaskActivityBehavior.java:228) at org.activiti.engine.impl.bpmn.behavior.MultiInstanceActivityBehavior.signal(MultiInstanceActivityBehavior.java:109) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.signal(ExecutionEntity.java:417) at org.activiti.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:203) at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:52) at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:24) at org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:59) at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) at org.activiti.engine.impl.TaskServiceImpl.complete(TaskServiceImpl.java:178) at com.tw.process.processInfo.completeTask(processInfo.java:374) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:817) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:731) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:870) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1083) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:640) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)

工作流activiti如何获取同一流程下上个任务的taskid

工作流activiti如何获取同一流程下上个任务的taskid

java Activiti报ActivitiOptimisticLockingException

``` org.activiti.engine.ActivitiOptimisticLockingException: HistoricVariableInstanceEntity[id=e7a3dcba-d72b-11e6-873a-1c1b0d35981e, name=userId, revision=1, type=string, textValue=王] was updated by another transaction concurrently at org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:872) at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:611) at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:211) at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:66) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) ``` 执行审批后,报这个错误

activiti整合spring问题

我的项目是ssm框架 然后没整合activiti时候一切正常。但是依照网上所说 引用了activiti-spring 和activiti-engine的jar,增加activiti.cfg.xml 并且application.xml 加了相应配置 后 。 项目启动开始报错 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'daoSupport': Unsatisfied dependency expressed through field 'sqlSessionTemplate'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.spring.ProcessEngineFactoryBean] for bean with name 'processEngine' defined in class path resource [spring/ApplicationContext-dataSource.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.spring.ProcessEngineFactoryBean

一个activiti的小demo,启动的时候报空指针异常

![图片说明](https://img-ask.csdn.net/upload/201908/14/1565768405_456671.png) ``` package org.crazyit.activiti; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngines; import org.activiti.engine.RepositoryService; import org.activiti.engine.RuntimeService; import org.activiti.engine.TaskService; import org.activiti.engine.task.Task; /** * 第一个流程运行类 * @author yangenxiong * */ public class First { public static void main(String[] args) { // 创建流程引擎 ProcessEngine engine = ProcessEngines.getDefaultProcessEngine(); // 得到流程存储服务组件 RepositoryService repositoryService = engine.getRepositoryService(); // 得到运行时服务组件 RuntimeService runtimeService = engine.getRuntimeService(); // 获取流程任务组件 TaskService taskService = engine.getTaskService(); // 部署流程文件 repositoryService.createDeployment() .addClasspathResource("bpmn/First.bpmn").deploy(); // 启动流程 runtimeService.startProcessInstanceByKey("process1"); // 查询第一个任务 Task task = taskService.createTaskQuery().singleResult(); System.out.println("第一个任务完成前,当前任务名称:" + task.getName()); // 完成第一个任务 taskService.complete(task.getId()); // 查询第二个任务 task = taskService.createTaskQuery().singleResult(); System.out.println("第二个任务完成前,当前任务名称:" + task.getName()); // 完成第二个任务(流程结束) taskService.complete(task.getId()); task = taskService.createTaskQuery().singleResult(); System.out.println("流程结束后,查找任务:" + task); // 退出 System.exit(0); } } ``` ``` <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- 只配置相应的数据库属性 --> <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"> <!-- 连接数据库配置 --> <property name="jdbcDriver" value="oracle.jdbc.driver.OracleDriver"></property> <property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl"></property> <property name="jdbcUsername" value="act"></property> <property name="jdbcPassword" value="123456"></property> <!-- 如果表不存在 自动创建 --> <property name="databaseSchemaUpdate" value="true"></property> </bean> </beans> ``` ![图片说明](https://img-ask.csdn.net/upload/201908/14/1565768535_305609.png)

spring+activiti 注入servici问题

测试调用空指针异常。断点查看,自己封装的方法ActivitiInter,repositoryService为null 应该是说明这个repositoryService没有注入进来。 具体哪出的问题呢? 以下为配置和代码 application.xml中Activiti配置 <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"> <property name="dataSource" ref="dataSource" /> <property name="transactionManager" ref="transactionManager" /> <property name="databaseSchemaUpdate" value="true" /> </bean> <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"> <property name="processEngineConfiguration" ref="processEngineConfiguration" /> </bean> <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /> <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" /> <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" /> <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" /> <bean id="formService" factory-bean="processEngine" factory-method="getFormService" /> <bean id="activitiInter" class="com.ln.web.activiti.ActivitiInter"> <property name="repositoryService" ref="repositoryService" /> <property name="runtimeService" ref="runtimeService" /> <property name="taskService" ref="taskService" /> <property name="formService" ref="formService" /> <property name="historyService" ref="historyService" /> </bean> Activiti服务封装的接口: package com.ln.web.activiti; import java.util.List; import org.activiti.engine.FormService; import org.activiti.engine.HistoryService; import org.activiti.engine.RepositoryService; import org.activiti.engine.RuntimeService; import org.activiti.engine.TaskService; import org.activiti.engine.repository.Deployment; import org.activiti.engine.repository.ProcessDefinition; import org.activiti.engine.runtime.Execution; import org.activiti.engine.runtime.ProcessInstance; import org.activiti.engine.task.Task; import org.springframework.beans.factory.annotation.Autowired; /** * Activiti服务接口 * @author linan * */ public class ActivitiInter { @Autowired RepositoryService repositoryService;//获得activiti服务 @Autowired RuntimeService runtimeService;//用于管理运行时流程实例 @Autowired TaskService taskService;//用于管理运行时任务 @Autowired FormService formService; @Autowired HistoryService historyService; /** * activiti服务列表 * @return */ public List<ProcessDefinition> activitiListByprocesskey(String process_key){ List<ProcessDefinition> procDefList = repositoryService.createProcessDefinitionQuery() .processDefinitionKey(process_key) .orderByProcessDefinitionVersion() .desc() .list(); return procDefList; } /** * 流程实例列表 * @return */ public List<ProcessInstance> listProcInstByPdfid(String pdfid){ List<ProcessInstance> procInstList = runtimeService.createProcessInstanceQuery() .processDefinitionId(pdfid) .list(); return procInstList; } /** * 当前任务的执行情况 * @return */ public List<Execution> listExecutionByProId(String processInstanceId) { List<Execution> exectionList = runtimeService.createExecutionQuery() .processInstanceId(processInstanceId) .list(); return exectionList; } /** * 部署流程 * @return */ public Deployment deployProcDefByPath( String xmlPath){ Deployment deploy = repositoryService.createDeployment() .addClasspathResource(xmlPath) .deploy(); return deploy; } /** * 删除部署的流程 * @param process_key */ public void deleteProcDefByprocesskey(String process_key){ List<ProcessDefinition> procDefList = this.activitiListByprocesskey(process_key); for(ProcessDefinition task : procDefList){ List<Task> tasks = taskService.createTaskQuery().processDefinitionId(task.getId()).list(); for(Task t : tasks){ taskService.deleteTask(t.getId()); } repositoryService.deleteDeployment(task.getDeploymentId()); } } /** * 启动流程 * @param key * @return */ public ProcessInstance startProcessInstanceByKey(String key){ ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(key); return processInstance; } public RepositoryService getRepositoryService() { return repositoryService; } public void setRepositoryService(RepositoryService repositoryService) { this.repositoryService = repositoryService; } public RuntimeService getRuntimeService() { return runtimeService; } public void setRuntimeService(RuntimeService runtimeService) { this.runtimeService = runtimeService; } public TaskService getTaskService() { return taskService; } public void setTaskService(TaskService taskService) { this.taskService = taskService; } public FormService getFormService() { return formService; } public void setFormService(FormService formService) { this.formService = formService; } public HistoryService getHistoryService() { return historyService; } public void setHistoryService(HistoryService historyService) { this.historyService = historyService; } } 测试调用: package com.ln.web.controller; import org.activiti.engine.repository.Deployment; import org.junit.Test; import com.ln.web.activiti.ActivitiInter; public class ActivitiTest2 extends TestBase{ @Test public void eployment(){ ActivitiInter act=new ActivitiInter(); act.deployProcDefByPath("bpmn/MyProcess.bpmn"); act.startProcessInstanceByKey("myProcess"); } }

Activiti5 的邮件自动发送报错,卡住一整天了

``` org.activiti.engine.ActivitiException: Could not send e-mail at org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior.execute(MailActivityBehavior.java:75) at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:66) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:116) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:44) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:407) at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:105) at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:54) at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44) at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36) at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:45) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:53) at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56) at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:571) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:566) at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:349) at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:98) at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37) at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:102) at com.chongzhi.atcrowdfunding.potal.controller.MemberController.startProcess(MemberController.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:833) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2555) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2544) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.qq.com:465 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421) at org.apache.commons.mail.Email.send(Email.java:1448) at org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior.execute(MailActivityBehavior.java:73) ... 106 more Caused by: com.sun.mail.smtp.SMTPSendFailedException: 501 mail from address must be same as authorization user ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 mail from address must be same as authorization user at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2202) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1693) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1194) at javax.mail.Transport.send0(Transport.java:254) at javax.mail.Transport.send(Transport.java:124) at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411) ... 108 more Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 501 mail from address must be same as authorization user at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1700) ... 112 more ``` 报错代码 ``` <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd"> <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"> <property name="mailServerHost" value="smtp.qq.com"/> <property name="mailServerPort" value="587"/> <property name="mailServerUseSSL" value="true"/> <property name="mailServerUsername" value="564@qq.com"/> <property name="mailServerPassword" value="foqsbvgmgtcxbcag"/> <property name="mailServerDefaultFrom" value="564@qq.com"/> <property name="mailServerUseTLS" value="true"/> <property name="dataSource" ref="dataSource" /> <property name="databaseSchemaUpdate" value="true" /> <property name="jobExecutorActivate" value="true" /> <property name="labelFontName" value="宋体" /> <property name="activityFontName" value="宋体" /> <property name="customFormTypes"> <list> <bean class="org.activiti.explorer.form.UserFormType"/> <bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/> <bean class="org.activiti.explorer.form.MonthFormType"/> </list> </property> </bean> <!-- <bean id="processEngineConfiguration1" class="org.activiti.spring.SpringProcessEngineConfiguration"> <property name="dataSource" ref="dataSource" /> <property name="transactionManager" ref="transactionManager" /> <property name="databaseSchemaUpdate" value="true" /> <property name="jobExecutorActivate" value="true" /> <property name="labelFontName" value="宋体" /> <property name="activityFontName" value="宋体" /> <property name="customFormTypes"> <list> <bean class="org.activiti.explorer.form.UserFormType"/> <bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/> <bean class="org.activiti.explorer.form.MonthFormType"/> </list> </property> </bean> --> <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean" destroy-method="destroy"> <property name="processEngineConfiguration" ref="processEngineConfiguration" /> </bean> <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /> <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" /> <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" /> <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" /> </beans> ``` Activiti的xml配置信息 ![Activiti的邮件工作流信息](https://img-ask.csdn.net/upload/201903/29/1553789287_718525.png) 麻烦大牛帮忙看看,卡了一整天了,通关到这里卡住了

spring下activiti事务无法回滚?

**1.**spring下的service方法editApply层加了@Transactional(readOnly=false),这个方法下调用了工作流的 taskService.complete "a" 和另外一个applyService.updateClaimByTaskHistory(task.getId()) "b" ;顺序是a的方法在前,b方法在后;b方法报错后,前面执行过的工作流无法回滚。 **2.**工作流的配置文件已经配置过spring的事务管理 **3.**试过 Object savePoint = TransactionAspectSupport.currentTransactionStatus().createSavepoint(); TransactionAspectSupport.currentTransactionStatus().rollbackToSavepoint(savePoint);的方法’ ``` this.taskService.complete(repayApply.getTaskId(),map); Task task = this.taskService.createTaskQuery() .executionId(searchRepayApply.getExecutionId()).active().singleResult(); if(task!=null){ searchRepayApply.setProcessTask(task.getName()); this.applyService.updateClaimByTaskHistory(task.getId()); } else{ searchRepayApply.setProcessTask("申请处理完毕"); } save(searchRepayApply); ``` **spring-context-activiti.xml** ``` <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd" default-lazy-init="true"> <description>Activiti Configuration</description> <!-- 加载配置属性文件 --> <context:property-placeholder ignore-unresolvable="true" location="classpath:jeesite.properties" /> <!-- Activiti begin --> <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"> <property name="dataSource" ref="dataSource" /> <property name="transactionManager" ref="transactionManager" /> <!-- <property name="deploymentResources" value="classpath*:/act/deployments/**/*.bar"/> --> <property name="databaseSchemaUpdate" value="true" /> <property name="jobExecutorActivate" value="false" /> <property name="history" value="full" /> <property name="processDefinitionCacheLimit" value="10"/> <!-- UUID作为主键生成策略 --> <property name="idGenerator" ref="idGen" /> <!-- 生成流程图的字体 --> <property name="activityFontName" value="${activiti.diagram.activityFontName}"/> <property name="labelFontName" value="${activiti.diagram.labelFontName}"/> <!-- 自定义用户权限 --> <!-- <property name="customSessionFactories"> --> <!-- <list> --> <!-- <bean class="com.thinkgem.jeesite.modules.act.service.ext.ActUserEntityServiceFactory"/> --> <!-- <bean class="com.thinkgem.jeesite.modules.act.service.ext.ActGroupEntityServiceFactory"/> --> <!-- </list> --> <!-- </property> --> </bean> <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"> <property name="processEngineConfiguration" ref="processEngineConfiguration" /> </bean> <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /> <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" /> <bean id="formService" factory-bean="processEngine" factory-method="getFormService" /> <bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService" /> <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" /> <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" /> <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" /> <!-- Activiti end --> </beans> ```

activiti安装报错NoClassDefFoundError

将activiti的war包放在tomcat的webapps目录下,启动tomcat报错 严重: Error configuring application listener of class org.activiti.rest.servlet.WebConfigurer java.lang.NoClassDefFoundError: javax/servlet/DispatcherType at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4154) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: javax.servlet.DispatcherType at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 29 more 请问各位大神怎么解决??? 还有eclipse安装activiti也是报错,错误内容如下 Network connection problems encountered during search. Unable to access "http://activiti.org/designer/update/". Error parsing site stream. [White spaces are required between publicId and systemId.] White spaces are required between publicId and systemId. Error parsing site stream. [White spaces are required between publicId and systemId.] White spaces are required between publicId and systemId.

activiti工作流中,跨网关的任务节点如何传参?

一般的任务节点可以在节点上配置变量${},来动态传递处理人,但是在两个任务节点中存在网关的情况,网关前的任务节点如何给网关后的任务节点传参?

activiti工作流系统。

下载了一个物资采购审批项目,但是无法运行,有懂的大佬帮我调一下程序吗,有偿!!!

Activiti工作流多级分派/分配/会签怎么实现

在实际业务中要求任务下发后下一节点可以继续下发,再下一节点可以继续下发,没有下发次数限制。请问这个怎么实现。目前画的流程图如下:![图片说明](https://img-ask.csdn.net/upload/201907/19/1563519075_639487.png)。在执行任务流程时可以继续下发任务。

activiti 添加bpmn文件报错

activiti 添加bpmn文件时报错:请教下各位 (关键是:有的bpmn文件可以正常添加,有的文件就会报如下错误:) 我的代码: InputStream inputStreamBpmn = this.getClass().getResourceAsStream("exclusiveGateway.bpmn"); Deployment deployment = processEngine.getRepositoryService() .createDeployment() .addInputStream("exclusiveGateway.bpmn", inputStreamBpmn) .deploy(); 下面是报错信息: org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.sql.SQLException: ORA-01460: 转换请求无法实施或不合理 ### The error may involve org.activiti.engine.impl.persistence.entity.ResourceEntity.insertResource-Inline ### The error occurred while setting parameters ### SQL: insert into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_, GENERATED_) values (?, 1, ?, ?, ?, ?) ### Cause: java.sql.SQLException: ORA-01460: 转换请求无法实施或不合理

关于activiti工作流的问题

![图片说明](https://img-ask.csdn.net/upload/201803/20/1521533871_279392.png) 如图,我设置了一个定时边界事件,在24小时后,调用serviceTask去自动完成用户办结的任务,但是总是爆出异常![图片说明](https://img-ask.csdn.net/upload/201803/20/1521534201_357657.png) 请各位大佬指教一下,是什么原因? 完整的流程图如下: ![图片说明](https://img-ask.csdn.net/upload/201803/22/1521698926_144156.png)

activiti部署流程生成的 xxxx.bpmn20.xml 文件中文乱码,该怎么解决?

![图片说明](https://img-ask.csdn.net/upload/202004/18/1587202201_551922.png)

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Linux面试题(2020最新版)

文章目录Linux 概述什么是LinuxUnix和Linux有什么区别?什么是 Linux 内核?Linux的基本组件是什么?Linux 的体系结构BASH和DOS之间的基本区别是什么?Linux 开机启动过程?Linux系统缺省的运行级别?Linux 使用的进程间通信方式?Linux 有哪些系统日志文件?Linux系统安装多个桌面环境有帮助吗?什么是交换空间?什么是root帐户什么是LILO?什...

将一个接口响应时间从2s优化到 200ms以内的一个案例

一、背景 在开发联调阶段发现一个接口的响应时间特别长,经常超时,囧… 本文讲讲是如何定位到性能瓶颈以及修改的思路,将该接口从 2 s 左右优化到 200ms 以内 。 二、步骤 2.1 定位 定位性能瓶颈有两个思路,一个是通过工具去监控,一个是通过经验去猜想。 2.1.1 工具监控 就工具而言,推荐使用 arthas ,用到的是 trace 命令 具体安装步骤很简单,大家自行研究。 我的使用步骤是...

学历低,无法胜任工作,大佬告诉你应该怎么做

微信上收到一位读者小涛的留言,大致的意思是自己只有高中学历,经过培训后找到了一份工作,但很难胜任,考虑要不要辞职找一份他能力可以胜任的实习工作。下面是他留言的一部分内容: 二哥,我是 2016 年高中毕业的,考上了大学但没去成,主要是因为当时家里经济条件不太允许。 打工了三年后想学一门技术,就去培训了。培训的学校比较垃圾,现在非常后悔没去正规一点的机构培训。 去年 11 月份来北京找到了一份工...

JVM内存结构和Java内存模型别再傻傻分不清了

JVM内存结构和Java内存模型都是面试的热点问题,名字看感觉都差不多,网上有些博客也都把这两个概念混着用,实际上他们之间差别还是挺大的。 通俗点说,JVM内存结构是与JVM的内部存储结构相关,而Java内存模型是与多线程编程相关,本文针对这两个总是被混用的概念展开讲解。 JVM内存结构 JVM构成 说到JVM内存结构,就不会只是说内存结构的5个分区,而是会延展到整个JVM相关的问题,所以先了解下

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Google 与微软的浏览器之争

浏览器再现“神仙打架”。整理 | 屠敏头图 | CSDN 下载自东方 IC出品 | CSDN(ID:CSDNnews)从 IE 到 Chrome,再从 Chrome 到 Edge,微软与...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

85后蒋凡:28岁实现财务自由、34岁成为阿里万亿电商帝国双掌门,他的人生底层逻辑是什么?...

蒋凡是何许人也? 2017年12月27日,在入职4年时间里,蒋凡开挂般坐上了淘宝总裁位置。 为此,时任阿里CEO张勇在任命书中力赞: 蒋凡加入阿里,始终保持创业者的冲劲,有敏锐的...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

什么时候跳槽,为什么离职,你想好了么?

都是出来打工的,多为自己着想

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

立即提问
相关内容推荐