Error: LibGit2Sharp.LibGit2SharpException

Getting strange access denied issue

image

Logs:

20.10.2+Branch.master.Sha.cf481ddc1ae94ab83e743f85d96fbfeca8fc705c
could not open 'C:/Users/Tyler/AppData/Local/AMD/DxCache/ac70c5c56c76b909f1a113eb4152ccfbeab2da8e4a060465.bin': Access is denied.
Error: LibGit2Sharp.LibGit2SharpException: could not open 'C:/Users/Tyler/AppData/Local/AMD/DxCache/ac70c5c56c76b909f1a113eb4152ccfbeab2da8e4a060465.bin': Access is denied.
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_status_list_new(RepositoryHandle repo, GitStatusOptions options)
   at LibGit2Sharp.RepositoryStatus..ctor(Repository repo, StatusOptions options)
   at LibGit2Sharp.Repository.RetrieveStatus(StatusOptions options)
   at UiPath.Studio.Plugin.Git.Services.Core.RepositoryStatusService.RetrieveStatus(String repositoryPath, StatusOptions options, Action`2 sandboxedAction)
   at UiPath.Studio.Plugin.Git.Services.Core.ItemStatusService.UpdateCache(String workingDirectory, String path, IGetStatusOptions options)
   at UiPath.Studio.Plugin.Git.Services.Core.ItemStatusService.GetItemStatusCore(String workingDirectory, String path, IGetStatusOptions options)
   at UiPath.Studio.Plugin.Git.Services.Core.ItemStatusService.<>c__DisplayClass12_0.<GetItemStatusAsync>b__0()
   at UiPath.Studio.Plugin.Git.Services.Core.GitSession.<>c__DisplayClass15_0`1.<ExecuteAsync>b__1(IRepository _)
   at UiPath.Studio.Plugin.Git.Services.Core.GitSession.ThreadSafeExecute[TResult](Func`2 action, Func`1 repoFactory)
   at UiPath.Studio.Plugin.Git.Services.Core.GitSession.<>c__DisplayClass15_0`1.<ExecuteAsync>b__0(CancellationToken _)
   at UiPath.Shared.ProducerConsumerPair.<>c__DisplayClass18_0`1.<StartNew>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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.Git.Services.Core.GitSession.<ExecuteAsync>d__15`1.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.Git.Services.Core.ItemStatusService.<GetItemStatusAsync>d__12.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.Git.GitSourceControl.<GetItemStatusAsync>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.Plugin.Git.Services.UI.CommitUiService.<GetAllChanges>d__25.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.Git.Services.UI.CommitUiService.<CommitAsync>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.Plugin.Git.Services.UI.CommitUiService.<CommitCommandExecuteAsync>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.App.Desktop.MVVM.Commands.TaskCommand`3.<Execute>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>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

Any idea what this error means?

Can you check for shared locations like desktop or my documents if they are under git repos?

You should not have any shared locations under source control.

Are you using an external tool for git (outside of Studio)?

No shared locations under source control. I have git locally but not applied to any files in that location.

What does the error message even mean?

please have a look at this thread:

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