Hello,
I’ve been receiving error “An internal error has occurred. It is recommended to restart UiPath”. Searched the forum and found that the fix to this would be to delete the .local folder and project.json and after open the Main.xaml and these files should be recreated. Please see below the full details of the error.
18.3.2+Branch.master.Sha.0ee1a557250c8000e864a91dcaeebdc1a4bbeb00
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 ‘\vsvsnfil001\AZ-RPA\RPA-Norway\RPA Prod\UiPath Projects\NO_VismaLonn_YearEndPayrollReports\project.json’ could not be opened: Value cannot be null.
Parameter name: source. —> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func
2 selector)
at UiPath.Studio.Shell.Packaging.PackageOperationBase.d__19.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Packaging\PackageOperationBase.cs:line 109
— 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.Packaging.PackageOperationBase.<>c__DisplayClass18_0.<b__0>d.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Packaging\PackageOperationBase.cs:line 70
— 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.Packaging.PackageOperationBase.d__18.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Packaging\PackageOperationBase.cs:line 70
— 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.Packaging.PackageOperationRestore.d__1.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Packaging\PackageOperationRestore.cs:line 34
— 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.Packaging.PackageService.d__26.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Packaging\PackageService.cs:line 134
— 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.Project.WorkflowProjectModelFactory.d__34.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 173
— 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.Project.WorkflowProjectModelFactory.d__42.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 305
— 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.Project.WorkflowProjectModelFactory.d__39.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 231
— 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.Services.PersistableServiceBase2.<OnOpenAsync>d__22.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\PersistableServiceBase.cs:line 0 --- End of inner exception stack trace --- at UiPath.Studio.Shell.Services.PersistableServiceBase
2.d__22.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\PersistableServiceBase.cs:line 211
— 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.Services.ProjectService.d__39.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\ProjectService.cs:line 256
— 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.Services.PersistableServiceBase`2.d__15.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\PersistableServiceBase.cs:line 0
— 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.Services.OpenCloseCommandsService.d__16.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\OpenCloseCommandsService.cs:line 198
— End of inner exception stack trace —
at UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__16.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\OpenCloseCommandsService.cs:line 208
— 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.Services.OpenCloseCommandsService.d__13.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\Services\OpenCloseCommandsService.cs:line 98
— 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.ApplicationStartup.d__15.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\ApplicationStartup.cs:line 178
— 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.ApplicationStartup.<b__30_0>d.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Shell\ApplicationStartup.cs:line 439
— 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
Searched the forum and found that the fix to this would be to delete the .local folder and project.json and after open the Main.xaml and these files should be recreated.
Problem is that recently my IT switched from a roaming profile to a local one and I believe this interferes with the creation of these file.
Tried with IT to trace this ourselves and see if there are any blockers (e.g. antivirus) but had no success.
Can anyone please explain how and from where are these files created?
Thank you,
Alex
6 posts - 3 participants