Hi
I am having following error while trying to update project mass dependencies.
19.4.2+Branch.master.Sha.e17a3bedca2a7da0d0b716b5f8f765d1d5ef1ddc
An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DependenciesUpdateViewModel (ReflectionActivator), Services = [UiPath.Studio.Shell.MassUpdate.ViewModels.DependenciesUpdateViewModel, UiPath.Studio.Shell.MassUpdate.Interfaces.IDependenciesUpdateViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PublishProjectsViewModel (ReflectionActivator), Services = [UiPath.Studio.Shell.MassUpdate.ViewModels.PublishProjectsViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.Contracts.ISettingsService, UiPath.Studio.Shared.IPublishSettingsService, System.Func`2[UiPath.Studio.Shared.ViewModels.Publish.PublishSettings,UiPath.Studio.Shared.ViewModels.Publish.IPublishSettingsViewModel])’ on type ‘PublishProjectsViewModel’. —> ‘>’ is an unexpected token. The expected token is ‘=’. Line 386, position 23. (C:\Users\tsoomro\AppData\Local\UiPath\app-19.4.2\UiPath.Service.UserHost.exe.config line 386) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
Error: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DependenciesUpdateViewModel (ReflectionActivator), Services = [UiPath.Studio.Shell.MassUpdate.ViewModels.DependenciesUpdateViewModel, UiPath.Studio.Shell.MassUpdate.Interfaces.IDependenciesUpdateViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PublishProjectsViewModel (ReflectionActivator), Services = [UiPath.Studio.Shell.MassUpdate.ViewModels.PublishProjectsViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.Contracts.ISettingsService, UiPath.Studio.Shared.IPublishSettingsService, System.Func2[UiPath.Studio.Shared.ViewModels.Publish.PublishSettings,UiPath.Studio.Shared.ViewModels.Publish.IPublishSettingsViewModel])' on type 'PublishProjectsViewModel'. ---> '>' is an unexpected token. The expected token is '='. Line 386, position 23. (C:\Users\tsoomro\AppData\Local\UiPath\app-19.4.2\UiPath.Service.UserHost.exe.config line 386) (See inner exception for details.) (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 = PublishProjectsViewModel (ReflectionActivator), Services = [UiPath.Studio.Shell.MassUpdate.ViewModels.PublishProjectsViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An exception was thrown while invoking the constructor 'Void .ctor(UiPath.Studio.Contracts.ISettingsService, UiPath.Studio.Shared.IPublishSettingsService, System.Func
2[UiPath.Studio.Shared.ViewModels.Publish.PublishSettings,UiPath.Studio.Shared.ViewModels.Publish.IPublishSettingsViewModel])’ on type ‘PublishProjectsViewModel’. —> ‘>’ is an unexpected token. The expected token is ‘=’. Line 386, position 23. (C:\Users\tsoomro\AppData\Local\UiPath\app-19.4.2\UiPath.Service.UserHost.exe.config line 386) (See inner exception for details.) (See inner exception for details.) —> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(UiPath.Studio.Contracts.ISettingsService, UiPath.Studio.Shared.IPublishSettingsService, System.Func2[UiPath.Studio.Shared.ViewModels.Publish.PublishSettings,UiPath.Studio.Shared.ViewModels.Publish.IPublishSettingsViewModel])' on type 'PublishProjectsViewModel'. ---> '>' is an unexpected token. The expected token is '='. Line 386, position 23. (C:\Users\tsoomro\AppData\Local\UiPath\app-19.4.2\UiPath.Service.UserHost.exe.config line 386) (See inner exception for details.) ---> System.Configuration.ConfigurationErrorsException: '>' is an unexpected token. The expected token is '='. Line 386, position 23. (C:\Users\tsoomro\AppData\Local\UiPath\app-19.4.2\UiPath.Service.UserHost.exe.config line 386) ---> System.Xml.XmlException: '>' is an unexpected token. The expected token is '='. Line 386, position 23. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Configuration.XmlUtil.CopySection() at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps) at System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() --- End of inner exception stack trace --- at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath) at System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath, Boolean preLoad) at UiPath.Models.ServiceFactory.GetEndpoint(String name, String serviceName) at UiPath.Models.ServiceFactory.RetrieveServiceEndpoint(Type contractType, String endpointName, String serviceName) at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy..ctor(Object callbackInstance, ServiceEventsFilter filter) at UiPath.Models.UiPathDuplexProxy..ctor(Nullable
1 eventSubscription)
at UiPath.Studio.Shared.Services.PublishSettingsService.GetAppropriateFeed(FeedType feedType)
at UiPath.Studio.Shared.Services.PublishSettingsService.CreatePredefinedFeedModel(String projectType)
at UiPath.Studio.Shared.Services.PublishSettingsService.UpdateSettings(PublishSettings settings, IPublishSettings defaultSettings)
at UiPath.Studio.Shared.Services.PublishSettingsService.CreatePublishSettings(IPublishSettings defaultSettings)
at UiPath.Studio.Shell.MassUpdate.ViewModels.PublishProjectsViewModel…ctor(ISettingsService settingsService, IPublishSettingsService publishSettingsService, Func2 publishSettingsVmFactory) at lambda_method(Closure , Object[] ) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable
1 parameters)
at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass0_0.b__0()
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 parameters)
— End of inner exception stack trace —
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable
1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable
1 parameters)
at lambda_method(Closure )
at UiPath.Studio.Shell.ViewModels.MainWindowViewModel.d__209.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.Studio.Shared.MVVM.Commands.TaskCommand`3.d__35.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