UIPathStudio - Clean Install Fails To Launch

studio

#1

Hello All,

I just performed a clean install of UIPath Community Edition v2018.1.0, but when UIPath Studio attempts to launch after the install, it errors out with the following messages:

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.

And after I OK that message, this one shows up:

Object reference not set to an instance of an object.

This happens every time I try to launch. I can see that the installer placed its files in %LocalAppData%\UiPath and I see the application files inside %LocalAppData%\UiPath\app-18.1.0. For fun I tried running UiStudio.exe from in here and that gets me the same error. I can run UiExplorer.exe and that does work.

This is a new machine that has not had UiPath installed on it before. I’ve tried uninstalling and reinstalling, with the same results. Any ideas as to what might be going on here or something I could try would be greatly appreciated.

Thanks,
Chris Beck


#2

Full error text for the second messagebox below:

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Workflow.ViewModels.ShellViewModel.CanClose(Action`1 callback)

And if I view the log, the log shows this:

12:03:46:856 => [INFO] [Orchestra.Services.ShellService] [8] Starting UiPath Studio v18.1.0.153 (18.1.0+Branch.master.Sha.11778a06dba643c7c9a4a1872b2ab3d7177920c8)
12:03:49:354 => [ERROR] [Orchestra.Services.ShellService] [8] 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()
12:03:49:356 => [INFO] [Orchestra.Services.MessageService] [8] 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 ]
12:03:54:255 => [INFO] [Orchestra.Services.MessageService] [4] Result of message: OK
12:03:54:286 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [4] System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Workflow.ViewModels.ShellViewModel.CanClose(Action`1 callback)
12:03:56:066 => [INFO] [UiPath.Workflow.Logging.StudioTraceListener] [4] CreateActivationContext default error: 14011

The only thing I can really see in there is


#3

I have the exact same problem! Can anyone assist?


Community Editionで最初のダイアログが真っ白で動かず
#4

Turn off your antivirus and relaunch it


#5

Hi,

uipath has been successfully install but not launched, please solved this problem