Can't open project in new Community Edition version 20.10.0

Could anyone help with this error, i can’t open the project since Uipath has updated,
please see below the Error log

20.10.0+Branch.master.Sha.ccb847e92d7b28021b1e898721fa9f9c1f11d57d

An internal error has occurred. It is recommended to restart UiPath Studio.

Open Document Error: UiPath.Studio.Contracts.RecoverableException —> UiPath.Studio.Contracts.RecoverableException: The project ‘T:\NSystems\02 Admin\02.001 Process\02.001.033 Zoho Desk Robots\ZohoDeskMain\project.json’ could not be opened: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = DevelopmentProjectModel (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.Project.DevelopmentProjectModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.IAppDomainContainerManager, UiPath.Studio.Contracts.Desktop.IExtendedFileSystem, UiPath.Project.IWorkflowProject, System.Collections.Generic.IEnumerable1[System.String], UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Shared.ActivitiesGenerator.IWebServiceFileSystem, UiPath.Studio.Contracts.Entities.ILocalEntitiesService, UiPath.Studio.Contracts.Profile.IProfile, System.Func3[UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModel,System.Collections.Generic.HashSet1[System.String],UiPath.Studio.Plugin.Workflow.Shared.Project.Interfaces.IWorkflowProjectItemFactory], System.String)' on type 'DevelopmentProjectModel'. ---> One or more errors occurred. (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 = DevelopmentProjectModel (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.Project.DevelopmentProjectModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An exception was thrown while invoking the constructor 'Void .ctor(UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.IAppDomainContainerManager, UiPath.Studio.Contracts.Desktop.IExtendedFileSystem, UiPath.Project.IWorkflowProject, System.Collections.Generic.IEnumerable1[System.String], UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Shared.ActivitiesGenerator.IWebServiceFileSystem, UiPath.Studio.Contracts.Entities.ILocalEntitiesService, UiPath.Studio.Contracts.Profile.IProfile, System.Func3[UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModel,System.Collections.Generic.HashSet1[System.String],UiPath.Studio.Plugin.Workflow.Shared.Project.Interfaces.IWorkflowProjectItemFactory], System.String)’ on type ‘DevelopmentProjectModel’. —> One or more errors occurred. (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.Plugin.Workflow.Shared.Services.Interfaces.IAppDomainContainerManager, UiPath.Studio.Contracts.Desktop.IExtendedFileSystem, UiPath.Project.IWorkflowProject, System.Collections.Generic.IEnumerable1[System.String], UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Shared.ActivitiesGenerator.IWebServiceFileSystem, UiPath.Studio.Contracts.Entities.ILocalEntitiesService, UiPath.Studio.Contracts.Profile.IProfile, System.Func3[UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModel,System.Collections.Generic.HashSet1[System.String],UiPath.Studio.Plugin.Workflow.Shared.Project.Interfaces.IWorkflowProjectItemFactory], System.String)' on type 'DevelopmentProjectModel'. ---> One or more errors occurred. (See inner exception for details.) ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object. at UiPath.Studio.ObjectBrowser.ProjectExplorer.ObjectProjectItem.<GetObjectPath>d__16.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.ObjectBrowser.ProjectExplorer.ObjectProjectItem.<GetChildrenAsync>d__15.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result() at UiPath.Studio.ObjectBrowser.ProjectExplorer.ObjectProjectItem.GetChildren(Boolean refresh) at UiPath.Studio.App.Desktop.TreeNodes.TreeNodeOperations.<EnumerateTreeModelItems>d__121.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModel.GetProjectItemFromProjectData(String projectDataField, IProjectItem& backingField)
at UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModel.get_DefaultEntryPoint()
at UiPath.Studio.Plugin.Workflow.Project.DevelopmentProjectModel…ctor(IAppDomainContainerManager containerManager, IExtendedFileSystem fileSystem, IWorkflowProject project, IEnumerable1 unmodifiableProjectFiles, IOutputLoggerService outputLoggerService, IWebServiceFileSystem webServiceInstaller, ILocalEntitiesService localEntitiesService, IProfile profile, Func3 itemFactoryFactory, String factoryId)
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, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 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, IEnumerable1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
at lambda_method(Closure , IWorkflowProject , IEnumerable1 , String ) at UiPath.Studio.Plugin.Workflow.Project.DevelopmentProjectFactory.CreateModel(IWorkflowProject baseProject, IEnumerable1 unmodifiableFiles, IProjectTemplate projectTemplate)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.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.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__27.MoveNext()
— End of inner exception stack trace —
at UiPath.Studio.Core.CommonServices.OpenCloseCommandsService.d__27.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__20.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.ShellApplication.StudioShellApplication.d__18.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.ShellApplication.StudioShellApplication.<>c__DisplayClass17_0.<b__0>d.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

@mouahbi

Can you try moving the project.json file to another folder(Backup) and try to to open the xaml

Hope this helps you

Follow Link

Thanks

Hi @mouahbi

Please follow the steps in this topic to work around the issue:

Hi Mate,

Just delete the Project.Json file present in your process folder and then restart the project.

Hope it helps :slightly_smiling_face:

Thanks and regards
Sahil Garg

Thanks @loginerror, deleting the .objects Folder worked for me

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.