Studio closed the active project due to a critical internal error. You may retry to open the project?

Every time I open my project and try to make changes, an error happens and my project is closed. Please assist me in resolving this problem if you know of a solution. i done with clear the caches and reinstall the all extension.

ERORR

Studio closed the active project due to a critical internal error. You may retry to open the project.

Error: UiPath.Studio.Contracts.RecoverableException: Studio closed the active project due to a critical internal error. You may retry to open the project.
at UiPath.Studio.Project.Client.Ipc.Services.ProcessTerminatedBehavior.HandleProcessTerminatedInternal()
at UiPath.Studio.Plugin.Workflow.Services.ProjectProcessController.b__20_0()
at System.Threading.Tasks.Task.<>c.b__128_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

@AbdurRehman98

Welcome to the community

is the project developed in a different version and trying to open in a different version of studio?

is the previous version a very old one?

did you happen to try with a different version of studio

try to take a backup of project.json…and remove it and then reopen the project

check the studio logs which will be stored in the user profile folder

cheers

I just finished working on the project about two days ago, and I opened it in the same studio version.
I’ve finished the project.JSON action, but the problem hasn’t been fixed yet.

Thank you.

@AbdurRehman98

can you try Clearing the cache and temporary files of UiPath Studio, as sometimes these files can cause unexpected errors. You can find the cache folders in the %userprofile%\AppData\Local\UiPath directory.

Also it happens if you machine storage is almost full.

Hey @AbdurRehman98 can you try with these options maybe it work.
1- try to run UiPath through administrator.

2- Review the logs for more details on the error. You can find them in the Logs folder in your project or by going to C:\Users<YourUsername>\AppData\Local\UiPath\Logs.

3-take backup of project.json file of your project .then delete then json file and open the process from the main xaml file. might be corrupt json file give you error.

cheers

@AbdurRehman98,

It could be due to memory shortage on your machine. Check if the available memory is sufficient to run the Studio.

i tried that but still not working.

i have more than enough storage..

i done with this activity but it still not working.. any other solution?