My process is stuck in a step during runtime, even though the process validated successfully.
Steps to Reproduce:
1. XOG in attached process to reproduce the issue.
2. Add Assessor on the create view for Change Request object.
3. Navigate to Home->Projects and open an existing project.
4. Go to Change Requests and create new CR.
5. Process will trigger and Action Items will be sent, which can be responded to via Organizer to allow for process to move forward.
6. After AI was responded notice process gets stuck in the Approved step with status Running, but bg-ca.log throws an error.
Note: This process is based on change request object and you must populate the project manager and Assessor of the change request at the time of creating a new change request.
Expected Results: It should allow process to move forward.
Release : 16.0.2, 16.0.3
Component : Clarity Process Management
ERROR 2022-09-02 09:53:31,251 [Post Condition Transition Pipeline 0 (tenant=clarity)] bpm.engine (clarity:process_admin:5214041__993024B9-7C13-42D8-B3EA-3491FB24C649:none) Error (will retry) caused by Step Instance: com.niku.bpm.engine.objects.StepInstance@8100a5c [Id: 5001011 Process Instance Id: 5002002 Step Id: 5030010 State: BPM_SIS_READY_TO_TRANSITION Step Name: null Start Date: 2022-09-02 09:53:30.0 Expected End Date: null Percent Complete: 0.625 Warned: false Retry Count: 0 No of Pre Conditions: 1 No of Post Conditions: -1 Last Condition Eval Time: 1662137611190 Pre Condition Wait Events: null Post Condition Wait Events: null Pass Conditions: [5030033] Error Id: -1 Priority: 1
Process Thread: com.niku.bpm.engine.objects.ProcessThread@3296c98a [Id: 5002009 Parent Step Instance Id: -1 Join Step Instance Id: 5001012]
Split Threads: null
Join Threads:[com.niku.bpm.engine.objects.ProcessThread@68b501e2 [Id: 5002010 Parent Step Instance Id: 5001008 Join Step Instance Id: 5001011], com.niku.bpm.engine.objects.ProcessThread@5ec4daeb [Id: 5002011 Parent Step Instance Id: 5001008 Join Step Instance Id: 5001011]]]
java.lang.NullPointerException
at com.niku.bpm.engine.objects.StepInstance.isAllSyncThreadsCompleted(StepInstance.java:1104)
at com.niku.bpm.engine.objects.ProcessInstance.getNextStep(ProcessInstance.java:596)
at com.niku.bpm.engine.objects.ProcessInstance.getNextSteps(ProcessInstance.java:472)
at com.niku.bpm.engine.rules.PostConditionTransitionPipeline.transitionStep(PostConditionTransitionPipeline.java:336)
at com.niku.bpm.engine.rules.PostConditionTransitionPipeline.processWaitingForTransitionSteps(PostConditionTransitionPipeline.java:297)
at com.niku.bpm.engine.rules.PostConditionTransitionPipeline.execute(PostConditionTransitionPipeline.java:103)
at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:278)
DE66449, Fixed in 16.1