Processes are in error state with below error stack
The bg logs shows following errors:
ERROR 2018-06-18 15:44:54,518 [Action Execution Pipeline 0 (tenant=clarity)] bpm.engine (clarity:process_admin:%session%:none) Error (will retry) caused by Step Instance: com.niku.bpm.engine.objects.StepInstance@667ea203 [Id: 41432066 Process Instance Id: 21014922 Step Id: 5091106 State: BPM_SIS_EXEC_ACTION Step Name: null Start Date: 2018-01-09 06:43:14.0 Expected End Date: null Percent Complete: 0.142857 Warned: false Retry Count: 451 No of Pre Conditions: -1 No of Post Conditions: -1 Last Condition Eval Time: 0 Pre Condition Wait Events: null Post Condition Wait Events: null Pass Conditions: [] Error Id: -1
Process Thread: com.niku.bpm.engine.objects.ProcessThread@2405c6d5 [Id: 21032941 Parent Step Instance Id: -1 Join Step Instance Id: -1]
Split Threads: null
Join Threads:null]
com.niku.bpm.BpmException: com.niku.bpm.BpmException: getSynchronouslyRunningAction - Cannot get synchronously running action Did not get exactly one rowset with 0 or 1 row back.
dbResults size: 1
DBResultSet: 0 No of rows: 2
Row: 0 No of columns: 3
Column Name: status_code Value: BPM_AIS_RUNNING
Column Name: step_action_id Value: 5149752
Column Name: id Value: 19914879
Row: 1 No of columns: 3
Column Name: status_code Value: BPM_AIS_RUNNING
Column Name: step_action_id Value: 5149752
Column Name: id Value: 19914878
at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:107)
at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:280)
Caused by: com.niku.bpm.BpmException: getSynchronouslyRunningAction - Cannot get synchronously running action Did not get exactly one rowset with 0 or 1 row back.
dbResults size: 1
DBResultSet: 0 No of rows: 2
Row: 0 No of columns: 3
Column Name: status_code Value: BPM_AIS_RUNNING
Column Name: step_action_id Value: 5149752
Column Name: id Value: 19914879
Row: 1 No of columns: 3
Column Name: status_code Value: BPM_AIS_RUNNING
Column Name: step_action_id Value: 5149752
Column Name: id Value: 19914878
at com.niku.bpm.engine.persistence.EnginePersistenceUtils.getSynchronouslyRunningActionResult(EnginePersistenceUtils.java:1203)
at com.niku.bpm.engine.objects.StepInstance.processSynchronousStepAction(StepInstance.java:836)
at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:64)
... 1 more
Component: PPMBPM
Following steps would have to be performed for all process instances with this error message in the bg-ca.log: