You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using TypeNameHandling.All on our serialization settings for dtfx, we receive the following exception:
Handler: Exception: Orchestration execution failed due to unhandled exception. : Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: U. Path '', line 0, position 0.
[TaskFailedException]: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1.
[TaskFailedExceptionDeserializationException]: Failed to deserialize exception from TaskActivity: Unhandled exception while executing task: Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1.
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at DurableTask.Core.Common.Utils.ConvertToJArray(String input) in /_/src/DurableTask.Core/Common/Utils.cs:line 210
at DurableTask.Core.AsyncTaskActivity`2.RunAsync(TaskContext context, String input) in /_/src/DurableTask.Core/TaskActivity.cs:line 107
at DurableTask.Core.TaskActivityDispatcher.<>c__DisplayClass14_1.<<OnProcessWorkItemAsync>b__2>d.MoveNext() in /_/src/DurableTask.Core/TaskActivityDispatcher.cs:line 189
It looks like this was previously resolved for the Azure Functions durable extensions package Azure/azure-functions-durable-extension#1392 which looks very similar to the TaskActivity code that's throwing here:
Description
When using TypeNameHandling.All on our serialization settings for dtfx, we receive the following exception:
It looks like this was previously resolved for the Azure Functions durable extensions package Azure/azure-functions-durable-extension#1392 which looks very similar to the TaskActivity code that's throwing here:
durabletask/src/DurableTask.Core/TaskActivity.cs
Line 107 in 6f90219
Expected behavior
TypeNameHandling.All works and serializes properly.
Actual behavior
The framework throws the exception above.
App Details
The text was updated successfully, but these errors were encountered: