From 4b8f50abab87ef90242b2080960f72a513bc4ee1 Mon Sep 17 00:00:00 2001 From: Bowei Xu Date: Thu, 4 Jun 2020 09:17:37 -0700 Subject: [PATCH] Fix NPE for reset (#3309) --- service/history/task/transfer_active_task_executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/history/task/transfer_active_task_executor.go b/service/history/task/transfer_active_task_executor.go index 529d60bf5c4..6b8d0a7081a 100644 --- a/service/history/task/transfer_active_task_executor.go +++ b/service/history/task/transfer_active_task_executor.go @@ -98,6 +98,8 @@ func NewTransferActiveTaskExecutor( shard.GetService().GetSDKClient(), config.NumParentClosePolicySystemWorkflows(), ), + workflowResetor: workflowResetor, + workflowResetter: workflowResetter, } }