AIFabric_Demo

Hi @Jeremy_Tederry

how can I identify activity package version ?

i can try to let you know once you can help me with above question.

Thanks,
Varun.

ensure following:


And
grafik

Then check:
grafik

1 Like

HI @Jeremy_Tederry I also realized system.text.json I am trying to install has version 5.0.0.1 while version installed in nugetpackages folder version is 4.1.0

I guess this might be creating problem but not sure how do I get system.text.json version 4.1.0 installed in nugetpackages folder manually , trying to do but it is not working.

Thanks,
Varun.

@Jeremy_Tederry @ppr hi one of my students is facing the following error for the same problem , can you please help me here

21.2.0-beta.44+Branch.release-v21.2.0.Sha.8ede47e8688d4fa0ba0ff6103ca2fe3ca36a426f

Failed to parse Json string {“@odata.context”:“UiPath”“,”“,”“,“true”,“Orchestrator, Azure, Amazon”,“true”,“true”,“false”,“false”,”“,”“,“UTC”,“72f7387b-0c91-4f63-8d75-196bcbde4c6a”,“False”,“True”,“True”,”",“https://docs.uipath.com/orchestrator/“,“false”,”/",“2020.11.0-s58.2333”,“03/12/2021”,"UiPath Orchestrator “,“2021”,“3f10c529-fdf7-417d-8f07-d8a9e85b3060”,“True”,“True”,“en”,“True”,“True”,“30”,“30”,“True”,“True”,“False”,“False”,“True”,“True”,“UiPath 00:00:00”,“True”,“True”,“False”,“False”,“True”,“15000”,“True”,“True”,“129600”,“256”,“5”,“60”,”/signalr/monitoring”,“UiPath”,null]}, error: Method not found: ‘Int32 System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8(System.ReadOnlySpan`1)’.

Error: System.Exception: Failed to parse Json string {“@odata.context”:“UiPath”“,”“,”“,“true”,“Orchestrator, Azure, Amazon”,“true”,“true”,“false”,“false”,”“,”“,“UTC”,“72f7387b-0c91-4f63-8d75-196bcbde4c6a”,“False”,“True”,“True”,”",“https://docs.uipath.com/orchestrator/“,“false”,”/",“2020.11.0-s58.2333”,“03/12/2021”,"UiPath Orchestrator “,“2021”,“3f10c529-fdf7-417d-8f07-d8a9e85b3060”,“True”,“True”,“en”,“True”,“True”,“30”,“30”,“True”,“True”,“False”,“False”,“True”,“True”,“UiPath 00:00:00”,“True”,“True”,“False”,“False”,“True”,“15000”,“True”,“True”,“129600”,“256”,“5”,“60”,”/signalr/monitoring”,“UiPath”,null]}, error: Method not found: ‘Int32 System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8(System.ReadOnlySpan1<Byte>)'. ---> System.Exception: Method not found: 'Int32 System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8(System.ReadOnlySpan1)’.
at System.Text.Json.JsonWriterHelper.NeedsEscaping(ReadOnlySpan1 value, JavaScriptEncoder encoder) at System.Text.Json.JsonEncodedText.EncodeHelper(ReadOnlySpan1 utf8Value, JavaScriptEncoder encoder)
at System.Text.Json.JsonPropertyInfo.DeterminePropertyName()
at System.Text.Json.JsonPropertyInfo.GetPolicies()
at System.Text.Json.JsonPropertyInfoCommon`4.Initialize(Type parentClassType, Type declaredPropertyType, Type runtimePropertyType, Type implementedPropertyType, PropertyInfo propertyInfo, Type elementType, JsonConverter converter, JsonSerializerOptions options)
at System.Text.Json.JsonClassInfo.CreateProperty(Type declaredPropertyType, Type runtimePropertyType, Type implementedPropertyType, PropertyInfo propertyInfo, Type parentClassType, JsonConverter converter, JsonSerializerOptions options)
at System.Text.Json.JsonClassInfo.AddProperty(Type propertyType, PropertyInfo propertyInfo, Type classType, JsonSerializerOptions options)
at System.Text.Json.JsonClassInfo…ctor(Type type, JsonSerializerOptions options)
at System.Text.Json.JsonSerializerOptions.GetOrAddClass(Type classType)
at System.Text.Json.JsonSerializer.ReadCore(Type returnType, JsonSerializerOptions options, Utf8JsonReader& reader)
at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at UiPath.MLServices.OrchestratorConnectionService.d__6.MoveNext()
— End of inner exception stack trace —
at UiPath.MLServices.OrchestratorConnectionService.d__6.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.OrchestratorConnectionService.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.ConnectionServiceProvider.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.ConnectionServiceProvider.d__12.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.ConnectionServiceProvider.d__33.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.ConnectionServiceProvider.d__14.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.ConnectionServiceProvider.d__23.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.Design.MLSkillsDesigner.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MLServices.Activities.Design.MLSkillsDesigner.d__24.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088

Adding to Peter’s answer on how to upgrade you can check current version in project dependency, we had an issue with version 1.1.4:

@ppr Thanks a ton mate !!! It worked :slight_smile:

@Jeremy_Tederry It just worked as guided by @ppr (Peter ).

Thank you all Guys for helping.

@nisargkadam23 @NIVED_NAMBIAR thought to share with you as well. Please refer above for the right solution :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.