Studio: 2018.3.2
Orchestrator: 2018.3.2
Error with UiPath.System.Activities version 19.7.0:
Summary
18.3.2+Branch.master.Sha.0ee1a557250c8000e864a91dcaeebdc1a4bbeb00
Source: Get Queue Items
Message: Attempted to access an element as a type incompatible with the array.
Exception Type: System.ArrayTypeMismatchException
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
at System.Collections.Generic.List1.Add(T item) at UiPath.Orchestrator.Client.UiPathWebApi.Initialize() at UiPath.Orchestrator.Client.UiPathWebApi..ctor(ServiceClientCredentials credentials, DelegatingHandler[] handlers) at UiPath.Core.Activities.Utilities.OrchestratorClientFactory.GenerateClient(AsyncCodeActivityContext context, String serviceUrl, TimeSpan timeout) at UiPath.Core.Activities.ActivityContextExtensions.GenerateClientFromContext(AsyncCodeActivityContext context, InArgument
1 timeoutArgument, String baseUri)
at UiPath.Core.Activities.Orchestrator.OrchestratorService.GetOrchestratorClient(AsyncCodeActivityContext context, InArgument1 timeoutMS, String url) at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity
1.GenerateClientFromContext(AsyncCodeActivityContext context, InArgument1 timeoutMS) at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity
1.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Error with UiPath.System.Activities version 19.10.1:
Summary
18.3.2+Branch.master.Sha.0ee1a557250c8000e864a91dcaeebdc1a4bbeb00
Source: Get Queue Items
Message: Method not found: ‘Boolean UiPath.Activities.Contracts.IWorkflowRuntime.HasFeature(System.String)’.
Exception Type: System.MissingMethodException
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.MissingMethodException: Method not found: ‘Boolean UiPath.Activities.Contracts.IWorkflowRuntime.HasFeature(System.String)’.
at UiPath.Activities.Shared.PrivateRuntimeContract.HasFeature(String featureName)
at UiPath.Shared.Contracts.RuntimeContractWrapper1.IsSupported() at UiPath.Shared.Contracts.RuntimeContractWrapper
1.Invoke[TResult](Func2 func, Boolean throwIfNotSupported) at UiPath.Core.Activities.Utilities.OrchestratorClientFactory.GenerateClient(ActivityContext context, String serviceUrl, TimeSpan timeout, String folderPath) at UiPath.Core.Activities.ActivityContextExtensions.GenerateClientFromContext(ActivityContext context, InArgument
1 timeoutArgument, String folderPath, String baseUri)
at UiPath.Core.Activities.Orchestrator.OrchestratorService.GetOrchestratorClient(ActivityContext context, InArgument1 timeoutMS, String folderPath, String url) at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity
1.GenerateClientFromContext(AsyncCodeActivityContext context, InArgument1 timeoutMS) at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity
1.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
The queue item can be the most basic one. I just created a new queue and added an item with just one ItemInformation (string):
/d