Open thirus opened 3 years ago
We also could not able to find any records in the azure table storage for the sub orchestration but the main and other sub orch created by the main were available.
Just to clarify the same orchestration code (no changes anywhere in the codebase) with same input works most of time.
Version: Core 2.4.1, AzureStorate: 1.8.1
For our use case we use sub orchestrations and external events, however we observed random NPE and our main orchestration instance get stuck since the sub orchestration instance never gets created.
Exception:
While debugging locally we found this line gets
runtimeState.OrchestrationInstance
as null. https://github.com/Azure/durabletask/blob/bcc97e874baba09c722a83c164bb3ab2245017ec/src/DurableTask.AzureStorage/AzureStorageOrchestrationService.cs#L948below logic in the same method assumes the
runtimeState.OrchestrationInstance
can be null but not that line. example line that expects nullable instance https://github.com/Azure/durabletask/blob/bcc97e874baba09c722a83c164bb3ab2245017ec/src/DurableTask.AzureStorage/AzureStorageOrchestrationService.cs#L972