I just ran into this problem today after implementing a robot that has this Deserialize Json activity, after the robot finishes the project execution, it keeps in the execution mode, so I need to manually click on “Stop” button. After I click it I get the following message:
An error has occured Message: Value cannot be null. Parameter name: value Source: Newtonsoft.Json Exception Type: ArgumentNullException System.ArgumentNullException: Value cannot be null. Parameter name: value at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at UiPath.Shared.JsonParser.DeserializeObject[T](String jsonValue) at UiPath.Models.UiPathDuplexProxy.<>c__DisplayClass21_0.<OnJobCompleted>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()
I tried to restart the UiPath Studio but the problem is still happening.
In my robot, I use the activity “Read text file” to read a Json file, and after that I deserialize it with “Deserialize json” activity. Everything goes fine as I can get the values from the json object output and log it on the screen, the problem is that instead of finishing the execution mode, the robot gets somehow stuck.
Hope anyone can help me. If you need more information, please let me know.
Thanks and regards,