uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
347 stars 131 forks source link

Local activity panic #830

Open wxing1292 opened 5 years ago

wxing1292 commented 5 years ago

version 0.9.0

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb325be]

goroutine 2507 [running]:
code.uber.internal/nemo/emobility/vendor/go.uber.org/cadence/internal.(*workflowExecutionContextImpl).retryLocalActivity.func1()
    code.uber.internal/nemo/emobility/vendor/go.uber.org/cadence/internal/internal_task_handlers.go:879 +0x2e
created by time.goFunc
    /root/.uber-go-versions/gimme/versions/go1.12.6.linux.amd64/src/time/sleep.go:169 +0x44
amuldowney commented 5 years ago

The context is that we were likely querying a workflow that had WORKFLOW_WORKER_UNHANDLED_FAILURE. The reason being non-determinism where a historical activity was changed to a local activity