Hello friends!
I received an update to my Studio Community Edition this week, and ever since the update, I have been having the same problem.
I can load a project and run it once, but each subsequent time I try to run the process, I get this error:
Access to the project’s subfolder .local\HotReload is denied.
Once I run in to this error, Studio is frozen and I can’t do anything until I terminate the Studio process in Task Manager.
The folder in question is present and empty, so I am able to work around the issue by deleting the folder, which is then recreated the next time I try to run the process.
I find it odd that the path begins with \\?\C:\Users\ and I wonder if that might be the root cause of this problem.
Here are the logs:
23.12.0-beta.15287+Branch.release-v23.12.0.Sha.6f78cf34182e239b45fdde518f0d7807b8290d82
Access to the path ‘\\?\C:\Users\REDACTED BY OP\.local\HotReload’ is denied.
Error: System.IO.IOException: Access to the path ‘\\?\C:\Users\REDACTED BY OP\.local\HotReload’ is denied.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.Abstractions.DirectoryWrapper.Delete(String path, Boolean recursive)
at UiPath.Studio.Plugin.Workflow.Debugger.HotReload.Services.RuntimeFilesChangesRepository.Initialize(IProject project)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.UpdateExecutionStateAsync(ExecutionState state)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecutionAsync(ExecutionConfig config)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecution(ExecutionConfig config)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerBaseService.TryStartExecution(ExecutionConfig executionConfig, Boolean validate)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.<>c__DisplayClass26_0.<g__StartExecutionAsync|1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.ProcessExecutionCommand(ExecutionCommand command, Object item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.Execution.ViewModels.DebugViewModel.ExecuteDebugAsync(IPersistableItem item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.ViewModels.DebugTabViewModel.ExecuteDebugFile()
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck) at UiPath.Studio.Contracts.IAsyncCommandExtensions.ExecuteAsync(IAsyncCommand1 command)
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 -2146232800
