Getting the below error, with respect to Newtonsoft.Json.dll at two different locations, somehow the uipath workflow is referencing both the dll at two different locations and giving error, while Deserilize Json Array. Tried removing packages but they get installed with basic Activity pacakages of Uipath, and tried copying the same
Newtonsoft.Json.dll at both locations , Uipath application itself does not launch.
Request any inputs on solving this issue.It would be really helpful. Referred several topics in the forum with the related issue, but none is solving it.
RemoteException wrapping System.Exception: The invoked workflow âJsonExtractâ has validation errors. Please review the workflow and resolve the errors. â> RemoteException wrapping System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
âJsonExtractâ: The private implementation of activity â1: JsonExtractâ has the following validation error: Compiler error(s) encountered processing expression âdeserializedJsonâ.
Value of type âNewtonsoft.Json.Linq.JArrayâ cannot be converted to âNewtonsoft.Json.Linq.JArrayâ. Type mismatch could be due to mixing a file reference to 'C:\Users\Dell.nuget\packages\newtonsoft.json\12.0.2\lib\net45\Newtonsoft.Json.dllâ in project âvbhostâ with a file reference to 'C:\Users\Dell\AppData\Local\UiPath\app-19.11.0-beta0002\Newtonsoft.Json.dllâ in project âvbhostâ. If both assemblies are identical, try replacing these references so both references are from the same location.
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.d__83.MoveNext()
â End of inner exception stack trace â
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.d__83.MoveNext()