Hello,
When creating a new process from UIPath Studio, i got this error:
19.5.0+Branch.master.Sha.a03bc4726ca82b7bb3addb0d04106dc150b31fba
Impossible d’ouvrir l’élément ‘C:\Users\Majda_BENAHOUI\Documents\UiPath\HelloWOrd3\Main.xaml’ : An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, System.Func`1[UiPath.Studio.Plugin.Workflow.Debugger.Breakpoints.Services.IProjectBreakpointsService], UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> La valeur fournie sur ‘System.Windows.Markup.StaticExtension’ a levé une exception. (See inner exception for details.) (See inner exception for details.).
Ouvrir: UiPath.Studio.Contracts.RecoverableException —> UiPath.Studio.Contracts.RecoverableException: Impossible d’ouvrir l’élément ‘C:\Users\Majda_BENAHOUI\Documents\UiPath\HelloWOrd3\Main.xaml’ : An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, System.Func1[UiPath.Studio.Plugin.Workflow.Debugger.Breakpoints.Services.IProjectBreakpointsService], UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)' on type 'WorkflowDocument'. ---> La valeur fournie sur 'System.Windows.Markup.StaticExtension' a levé une exception. (See inner exception for details.) (See inner exception for details.). ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An exception was thrown while invoking the constructor 'Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, System.Func
1[UiPath.Studio.Plugin.Workflow.Debugger.Breakpoints.Services.IProjectBreakpointsService], UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> La valeur fournie sur ‘System.Windows.Markup.StaticExtension’ a levé une exception. (See inner exception for details.) (See inner exception for details.) —> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, System.Func1[UiPath.Studio.Plugin.Workflow.Debugger.Breakpoints.Services.IProjectBreakpointsService], UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)' on type 'WorkflowDocument'. ---> La valeur fournie sur 'System.Windows.Markup.StaticExtension' a levé une exception. (See inner exception for details.) ---> System.Windows.Markup.XamlParseException: La valeur fournie sur 'System.Windows.Markup.StaticExtension' a levé une exception. ---> System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.Windows.Markup.XamlParseException: La propriété Set 'System.Windows.ResourceDictionary.DeferrableContent' a levé une exception. ---> System.Xaml.XamlObjectWriterException: La valeur fournie sur 'MS.Internal.Markup.StaticExtension' a levé une exception. ---> System.Xaml.XamlParseException: La référence de type ne peut pas trouver un type nommé '{clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35}WorkflowDesignerColorsInternal'. à MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName) à MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName) à MS.Internal.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider) à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider) --- Fin de la trace de la pile d'exception interne --- à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider) à System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx) à System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx) à System.Xaml.XamlObjectWriter.WriteEndObject() à System.Xaml.XamlWriter.WriteNode(XamlReader reader) à System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) à System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList(XamlReader reader, IServiceProvider serviceProvider) à System.Windows.ResourceDictionary.GetKeyValue(KeyRecord key, IServiceProvider serviceProvider) à System.Windows.ResourceDictionary.SetKeys(IList
1 keyCollection, IServiceProvider serviceProvider)
à System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)
à System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value)
à System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
à MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
à MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
— Fin de la trace de la pile d’exception interne —
à System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
à System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
à System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
à System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
à System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
à System.Windows.Application.LoadComponent(Uri resourceLocator)
à System.Activities.Presentation.WorkflowDesignerColors.get_DefaultColors()
à System.Activities.Presentation.WorkflowDesignerColors.GetBrush(String colorKey)
à System.Activities.Presentation.WorkflowDesignerColors.GetColor(String colorKey)
à System.Activities.Presentation.WorkflowDesignerColors.get_DesignerViewBackgroundColor()
— Fin de la trace de la pile d’exception interne —
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object index, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object index)
à System.Windows.Markup.StaticExtension.GetFieldOrPropertyValue(Type type, String name, Object& value)
à System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)
à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
— Fin de la trace de la pile d’exception interne —
à System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
à System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
à System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
à System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
à System.Activities.Presentation.View.ErrorView.InitializeComponent()
à System.Activities.Presentation.WorkflowDesigner.<.ctor>b__31_2(ErrorItem errorItem)
à System.Activities.Presentation.ContextItemManager.SubscribeProxy1.SubscribeContext(ContextItem item) à System.Activities.Presentation.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem item) à System.Activities.Presentation.EditingContext.DefaultContextItemManager.SetValue(ContextItem value) à System.Activities.Presentation.WorkflowDesigner.Load(String fileName) à UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.LoadFileInDesigner(String fileName, WorkflowDesigner designer) à UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.Build(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) à UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.Load(String fileName) à UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.<>c__DisplayClass13_0.<Load>b__0() à UiPath.Studio.Shared.MVVM.Services.DispatcherExtensions.Invoke(Dispatcher dispatcher, Action action, Boolean onlyBeginInvokeWhenNoAccess) à UiPath.Studio.Shared.MVVM.Services.DispatcherService.Invoke(Action action, Boolean onlyInvokeWhenNoAccess) à UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.Load(String fileName) à UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService.Load(String fileName) à UiPath.Studio.Plugin.Workflow.Services.DesignerFileServiceProxy.Load(String fileName) à UiPath.Studio.Plugin.Workflow.WorkflowDocument..ctor(String path, IDesignerFileService designerFileService, Func
1 projectBreakpointsServiceFactory, IExtendedFileSystem fileSystem, IDesignerViewService designerViewService)
à lambda_method(Closure , Object )
à Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
— Fin de la trace de la pile d’exception interne —
à Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
à Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) à Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 parameters)
— Fin de la trace de la pile d’exception interne —
à Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) à Autofac.Core.Resolving.InstanceLookup.Execute() à Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable
1 parameters)
à Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) à Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable
1 parameters)
à lambda_method(Closure , String )
à UiPath.Studio.Plugin.Workflow.WorkflowDocumentFactory.OpenAsync(String path)
à UiPath.Studio.Core.Services.PersistableServiceBase3.<OnOpenAsync>d__19.MoveNext() --- Fin de la trace de la pile d'exception interne --- à UiPath.Studio.Core.Services.PersistableServiceBase
3.d__19.MoveNext()
— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée —
à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à UiPath.Studio.Shell.Services.DocumentService.d__45.MoveNext()
— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée —
à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à UiPath.Studio.Core.Services.PersistableServiceBase`3.d__10.MoveNext()
— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée —
à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__20.MoveNext()
— Fin de la trace de la pile d’exception interne —
à UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__20.MoveNext()
— Fin de la trace de la pile à partir de l’emplacement précédent au niveau duquel l’exception a été levée —
à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
à UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__18.MoveNext(), HResult -2146233088
Can you help me to fix that please.
Best regarrds,
Majda BENOUAHI