Studio Installation error - 18.1.1 (Community Edition)

studio
18_1

#1

I am new to UIPath and downloaded UIpathStudioSetup.exe, after download while installation and opening app, the following error occurred and its terminate. I am using windows 7 and .net 4.7 framework installed on my machine with latest JRE installed. Can you please help me to resolve this ?

00:13:16:090 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [5] System.IO.FileNotFoundException: Could not find file ‘C:\Users\amardeep.kumar\AppData\Local\UiPath\UiStudio.settings’.
File name: 'C:\Users\amardeep.kumar\AppData\Local\UiPath\UiStudio.settings’
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at UiPath.Workflow.Configuration.UserSettingsProvider.get__rootDocument()
00:13:16:111 => [INFO] [Orchestra.Services.ShellService] [5] Starting UiPath Studio v18.1.1.13 (18.1.1+Branch.master.Sha.de87732381cd2091d42f8be76065b63215a94e6c)
00:13:19:185 => [ERROR] [Orchestra.Services.ShellService] [5] An unexpected error occurred, shutting down the application | [TargetInvocationException] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Windows.Markup.XamlParseException: The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints threw an exception. —> System.TypeInitializationException: The type initializer for ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.Windows.Media.Fonts’ threw an exception. —> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 —> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1
at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
at MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyCollectionElement()
at MS.Internal.FontFace.CompositeFontParser…ctor(Stream fileStream)
— End of inner exception stack trace —
at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
at MS.Internal.FontFace.CompositeFontParser…ctor(Stream fileStream)
at MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index)
at MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts…cctor()
— End of inner exception stack trace —
at System.Windows.Media.Fonts.get_SystemFontFamilies()
at ActiproSoftware.Windows.Controls.Ribbon.Ribbon…cctor()
— End of inner exception stack trace —
at ActiproSoftware.Windows.Controls.Ribbon.Ribbon…ctor()
— End of inner exception stack trace —
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at UiPath.Workflow.Views.AppWindow.InitializeComponent()
at UiPath.Workflow.Views.AppWindow…ctor()
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Catel.IoC.TypeFactory.TryCreateToConstruct(Type typeToConstruct, ConstructorInfo constructor, Object tag, Object[] parameters, Boolean checkConstructor, Boolean hasMoreConstructorsLeft)
at Catel.IoC.TypeFactory.CreateInstanceWithSpecifiedParameters(Type typeToConstruct, Object tag, Object[] parameters, Boolean autoCompleteDependencies, Boolean preventCircularDependencies)
at Catel.IoC.TypeFactory.CreateInstance(Type typeToConstruct)
at Catel.IoC.TypeFactoryExtensions.CreateInstance[T](ITypeFactory typeFactory)
at Orchestra.Services.ShellService.d__181.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 Orchestra.Services.ShellService.<CreateShellInternalAsync>d__151.MoveNext()
00:13:19:186 => [INFO] [Orchestra.Services.MessageService] [5] Showing message to the user:

An unexpected error occurred while starting UiPath Studio. Unfortunately it needs to be closed.

Please try restarting the application. If this error keeps coming up while starting the application, please contact support.


[ OK ]
00:13:29:756 => [INFO] [Orchestra.Services.MessageService] [8] Result of message: OK
00:13:29:769 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [8] System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Workflow.ViewModels.ShellViewModel.CanClose(Action1 callback) 00:15:31:137 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [10] System.IO.FileNotFoundException: Could not find file 'C:\Users\amardeep.kumar\AppData\Local\UiPath\UiStudio.settings'. File name: 'C:\Users\amardeep.kumar\AppData\Local\UiPath\UiStudio.settings' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at UiPath.Workflow.Configuration.UserSettingsProvider.get__rootDocument() 00:15:31:157 => [INFO] [Orchestra.Services.ShellService] [10] Starting UiPath Studio v18.1.1.13 (18.1.1+Branch.master.Sha.de87732381cd2091d42f8be76065b63215a94e6c) 00:15:33:814 => [ERROR] [Orchestra.Services.ShellService] [10] An unexpected error occurred, shutting down the application | [TargetInvocationException] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'ActiproSoftware.Windows.Controls.Ribbon.Ribbon' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'ActiproSoftware.Windows.Controls.Ribbon.Ribbon' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Media.Fonts' threw an exception. ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException) at MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyCollectionElement() at MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream) --- End of inner exception stack trace --- at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException) at MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream) at MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index) at MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference) at System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference) at System.Windows.Media.Fonts..cctor() --- End of inner exception stack trace --- at System.Windows.Media.Fonts.get_SystemFontFamilies() at ActiproSoftware.Windows.Controls.Ribbon.Ribbon..cctor() --- End of inner exception stack trace --- at ActiproSoftware.Windows.Controls.Ribbon.Ribbon..ctor() --- End of inner exception stack trace --- at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at UiPath.Workflow.Views.AppWindow.InitializeComponent() at UiPath.Workflow.Views.AppWindow..ctor() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Catel.IoC.TypeFactory.TryCreateToConstruct(Type typeToConstruct, ConstructorInfo constructor, Object tag, Object[] parameters, Boolean checkConstructor, Boolean hasMoreConstructorsLeft) at Catel.IoC.TypeFactory.CreateInstanceWithSpecifiedParameters(Type typeToConstruct, Object tag, Object[] parameters, Boolean autoCompleteDependencies, Boolean preventCircularDependencies) at Catel.IoC.TypeFactory.CreateInstance(Type typeToConstruct) at Catel.IoC.TypeFactoryExtensions.CreateInstance[T](ITypeFactory typeFactory) at Orchestra.Services.ShellService.<CreateShellAsync>d__181.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 Orchestra.Services.ShellService.d__15`1.MoveNext()
00:15:33:816 => [INFO] [Orchestra.Services.MessageService] [10] Showing message to the user:

An unexpected error occurred while starting UiPath Studio. Unfortunately it needs to be closed.

Please try restarting the application. If this error keeps coming up while starting the application, please contact support.



#2

I have just the same problem. Did you manage to resolve it?


#3

Well, my problem was caused by the KB4055002 update on my laptop
Information about this problem is here: https://studio.uipath.com/docs/software-requirements

This post helped me to find out the decision: Error when running UiPathStudioSetup.exe


Error: Permission missing: lanucher