Не удается создать новый элемент: UiPath.Studio.Contracts.RecoverableException —> 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'. ---> Предоставление значения для "System.Windows.StaticResourceExtension" вызвало исключение. (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.Func
1[UiPath.Studio.Plugin.Workflow.Debugger.Breakpoints.Services.IProjectBreakpointsService], UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> Предоставление значения для “System.Windows.StaticResourceExtension” вызвало исключение. (See inner exception for details.) —> System.Windows.Markup.XamlParseException: Предоставление значения для “System.Windows.StaticResourceExtension” вызвало исключение. —> System.Exception: Не удается найти ресурс с именем “DesignerViewBackground”. Имена ресурсов определяются с учетом регистра.
в System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
в System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
в MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
— Конец трассировки внутреннего стека исключений —
в 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.SubscribeProxy
1.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()
— Конец трассировки внутреннего стека исключений —
в Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
в Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters) в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 parameters)
— Конец трассировки внутреннего стека исключений —
в Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 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, IEnumerable
1 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.Plugin.Workflow.WorkflowDocumentFactory.d__14.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в UiPath.Studio.Core.Services.PersistableServiceBase
3.<OnNewAsync>d__18.MoveNext() --- Конец трассировки внутреннего стека исключений --- в UiPath.Studio.Core.Services.PersistableServiceBase
3.d__18.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в UiPath.Studio.Shell.Services.DocumentService.d__44.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в UiPath.Studio.Core.Services.PersistableServiceBase`3.d__7.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в UiPath.Studio.Shell.Services.DocumentService.d__42.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в UiPath.Studio.Shell.Services.Template.TemplateUiService.d__20.MoveNext()
— Конец трассировка стека из предыдущего расположения, где возникло исключение —
в System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088
Check the version and try to update the packages based on the version
Thanks
Ashwin.S
I solved last night. Thank you anyway.
The version 2019.8.0 has korean language. But is has error.
So I change language from korean to english.
After only change language, it works well.
I think UiPath engineer have to check 2019. 8. 0 again why Korean version didn’t work.
Thank you~~~
Another user solved this issue for the Korean language by switching back to English. Could you try, just by switching from Russian to English in your case?