Hi, I get two error messages when loading workflows. It is the same error msg for all workflows so I guess it is a general errors. Does anyone recognize these and know how to fix it?
These are:
1: Method ‘AuthenticateAsync’ in type
'Microsoft.AspNetCore.Http.Authentication.Internal.DefaultAuthenticationManager1 from assembly ‘Microsoft.AspNetCore.Http, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
Log:
23.8.0-beta.13817+Branch.release-v23.8.0.Sha.120cd3ec54f082511b48105e2cfb52f8897346a8
An exception was thrown while activating UiPath.AddIn.Wpf.AddIn.
Error: RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while activating UiPath.AddIn.Wpf.AddIn. —> RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.AddIn.Wpf.ILocalAddInProcess, System.Windows.UIElement, UiPath.AddIn.Wpf.AddInSettings)’ on type ‘AddIn’. —> RemoteException wrapping System.InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.
at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
at System.Windows.FrameworkElement.AddLogicalChild(Object child)
at System.Windows.Controls.Decorator.set_Child(UIElement value)
at UiPath.AddIn.Wpf.AddIn.Wrap(UIElement control, AddInSettings settings)
at UiPath.AddIn.Wpf.AddIn…ctor(ILocalAddInProcess addInProcess, UIElement control, AddInSettings settings)
at lambda_method447(Closure , Object )
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
— End of inner exception stack trace —
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at lambda_method706(Closure , ILocalAddInProcess , UIElement , AddInSettings )
at UiPath.Studio.Plugin.Workflow.AddInFramework.AddInProjectEndpoint.Marshal(UIElement element, AddInMarshalSettings settings)
at UiPath.Studio.Plugin.Workflow.Services.ToolboxWindowService.GetToolboxWindowInternal()
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync[T](Func1 func) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List
1 cancellationTokens, Func2 func, String message, Func
2 exceptionHandler), HResult -2146233088
- List item
2: An exception was thrown while activating the UiPath.AddIn.Wpf.AddIn
Log:
23.8.0-beta.13817+Branch.release-v23.8.0.Sha.120cd3ec54f082511b48105e2cfb52f8897346a8
Method ‘AuthenticateAsync’ in type ‘Microsoft.AspNetCore.Http.Authentication.Internal.DefaultAuthenticationManager’ from assembly ‘Microsoft.AspNetCore.Http, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
Error: System.Exception: Method ‘AuthenticateAsync’ in type ‘Microsoft.AspNetCore.Http.Authentication.Internal.DefaultAuthenticationManager’ from assembly ‘Microsoft.AspNetCore.Http, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(QCallAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Activities.Presentation.View.ImportDesigner.GetUniqueNamespacesInAssembly(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
at System.Activities.Presentation.View.ImportDesigner.UpdateAvailableNamespaces(Assembly assembly, AssemblyContextControlItem assemblyContextItem)
at System.Activities.Presentation.View.ImportDesigner.GetAvailableNamespaces()
at System.Activities.Presentation.View.ImportDesigner.OnContextChanged()
at System.Activities.Presentation.View.ImportDesigner.OnContextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
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 -2146233054