cadence-java-client icon indicating copy to clipboard operation
cadence-java-client copied to clipboard

Checking get workflow history when sticky decision task

Open yux0 opened this issue 4 years ago • 0 comments

We see NPE in ReplayDecider with line: decisionTask.getHistory().getEvents().get(0).getWorkflowExecutionStartedEventAttributes();

In ReplayDecisionTaskHandler, we have special handling for sticky decision task that has a partial history. But we do not check the returned history. So add a check to get workflow history when sticky decision task

yux0 avatar Aug 24 '21 17:08 yux0