Whenever I try openning a project in 2020.10.0 I get the following error:
Open Document Error: UiPath.Studio.Contracts.RecoverableException —> UiPath.Studio.Contracts.RecoverableException: The project ‘C:\Users.…\Temp!delete\project.json’ could not be opened: Object reference not set to an instance of an object… —> System.NullReferenceException: Object reference not set to an instance of an object.
at …
This apply to existing projects as well as to new project just created in 2020.10.0
Another update, I uninstalled UiPath from the control panel and re-installed UiPath 20.10 after downloading from Cloud, but the issue remains the same.
@loginerror@Pablito, it is a bit urgent, can some one tell me the work around?
All the options under settings are empty. Does the dev team need anything from me?
Meanwhile, if you can share the link to download UiPath 20.4.3 with me, so that I can continue with work.
And is there any way to stop the automatic updates, as this is 2nd time I have faced such an issue?
The project ‘D:\Company\UiPath\Trial-Projects\UiPath20.10\TestUiPath20.10\project.json’ could not be opened: Object reference not set to an instance of an object…
Cannot open item: UiPath.Studio.Contracts.RecoverableException: The project ‘D:\Company\UiPath\Trial-Projects\UiPath20.10\TestUiPath20.10\project.json’ could not be opened: Object reference not set to an instance of an object… —> System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Studio.Plugin.Workflow.Settings.Services.WorkflowSettingsService.<>c__DisplayClass42_0.b__2(DashboardToggleSwitchViewModel m)
at UiPath.Studio.App.Desktop.MVVM.Commands.Command2.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck) at UiPath.Studio.App.Desktop.MVVM.Commands.Command2.Execute(Object parameter)
at UiPath.Studio.App.Desktop.DashboardControls.DashboardControlViewModel.Initialize()
at UiPath.Studio.Shell.Settings.SettingsViewModel.InitializeDynamicSettings()
at UiPath.Studio.Shell.Settings.SettingsViewModel.SettingsUiService_SettingsChanged(Object sender, EventArgs e)
at UiPath.Studio.Core.Services.SettingsUiService.Register(SettingsLocations settingsLocation, ISettingViewModel settingViewModel, String key)
at UiPath.Studio.Plugin.Workflow.Project.Settings.DevelopmentProjectSettingsProvider.RegisterSettings(WorkflowProjectModel workflowProjectModel)
at UiPath.Studio.Plugin.Workflow.Project.DevelopmentProjectFactory.RegisterProjectSettings(WorkflowProjectModel workflowProjectModel)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.d__52.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.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.d__44.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.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.d__43.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.Core.Services.PersistableServiceBase3.<OnOpenAsync>d__19.MoveNext() --- End of inner exception stack trace --- at UiPath.Studio.Core.Services.PersistableServiceBase3.d__19.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.Core.CommonServices.ProjectServiceBase.d__52.MoveNext()
— End of stack trace from previous location where exception was thrown —
at UiPath.Studio.Core.CommonServices.ProjectServiceBase.d__52.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.Core.Services.PersistableServiceBase`3.d__10.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.Core.CommonServices.OpenCloseCommandsService.d__23.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.Core.CommonServices.OpenCloseCommandsService.d__21.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.Core.CommonServices.OpenCloseCommandsService.d__19.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.Shell.ViewModels.MainWindowViewModel.<>c__DisplayClass226_0.<b__0>d.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.Shell.ViewModels.StartPageViewModel.d__53.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.Shell.ViewModels.MainWindowViewModel.d__226.MoveNext(), HResult -2146233088
@loginerror@Pablito Can someone look into it very quickly as it has been quite long I couldn’t work with?
Hi @J0ska and @mrkrunaldoshi. Could you please let us know the following details:
What is the Windows OS version and .NET framework version you are using on your machines where you encounter the issue?
What is the Windows OS language you are using?
Can you please run a UiPath.DiagnosticsTool.exe report and attach it here or in a private message to me, @Pablito or @loginerror ? You just need to search the UiPath Diagnostic Tool in the Windows Start bar > open it > then click Next > Collect > Next > Export - then save the .zip file and kindly share it with us.
Try to perform a full cleanup again by following the next steps:
Uninstall all instances of Studio that you have present on the machines, from the Programs and Folders Windows tab, then cleanup all of the following folders, and then try to install the Studio EXE build downloaded from cloud.uipath.com again:
rmdir /s /q “C:\Program Files (x86)\UiPath”
rmdir /s /q “C:\Program Files (x86)\UiPath Platform”
rmdir /s /q “C:\Program Files\UiPath”
rmdir /s /q “C:\Program Files\UiPath Platform”
rmdir /s /q C:\ProgramData\UiPath
rmdir /s /q %APPDATA%\UiPath
rmdir /s /q %APPDATA%\NuGet
rmdir /s /q %LOCALAPPDATA%\Temp\nuget
rmdir /s /q %LOCALAPPDATA%\Temp\NuGetScratch
rmdir /s /q %LOCALAPPDATA%\NuGet
rmdir /s /q %LOCALAPPDATA%\UiPath
rmdir /s /q %APPDATA%\Roaming\UiPath`