Path too long pop-up error

Hello!

I can’t get rid of this pop-up.
I tried running a simple Sequence.

image

22.10.2+Branch.master.Sha.6a1a7800a9c5060f3750feb636f040a065e6579a

path too long: 'C:/Users/Qubicon/AppData/Local/JetBrains/IntelliJIdea2020.3/index/shared_indexes/shared.index.hashes.com.android.tools.idea.model.AndroidManifestIndex$Companion$NAME$1.NAME/shared.index.hashes.com.android.tools.idea.model.AndroidManifestIndex$Companion$NAME$1.NAME_inputs'

Error: LibGit2Sharp.LibGit2SharpException: path too long: 'C:/Users/Qubicon/AppData/Local/JetBrains/IntelliJIdea2020.3/index/shared_indexes/shared.index.hashes.com.android.tools.idea.model.AndroidManifestIndex$Companion$NAME$1.NAME/shared.index.hashes.com.android.tools.idea.model.AndroidManifestIndex$Companion$NAME$1.NAME_inputs'
   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.RepositoryStatusService.RetrieveStatus(String repositoryPath, StatusOptions options, Action`2 sandboxedAction)
   at UiPath.Studio.Plugin.Git.Services.ItemStatusService.GetItemStatusCore(String workingDirectory, String path, IGetStatusOptions options)
   at UiPath.Studio.Plugin.Git.Services.GitSession.ExecuteInternal[TResult](Func`2 action, Func`1 repoFactory)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at UiPath.Studio.Plugin.Git.Services.GitSession.SafeExecuteAsync[TResult](Func`1 action)
   at UiPath.Studio.Plugin.Git.Services.GitSession.ExecuteAsync[TResult](Func`1 action)
   at UiPath.Studio.Plugin.Git.Services.ItemStatusService.GetItemStatusAsync(IGitSession session, String path, IGetStatusOptions options)
   at UiPath.Studio.Plugin.Git.GitSourceControl.GetItemStatusAsync(String path, Boolean refreshCache)
   at UiPath.Studio.SourceControl.Shared.Services.UI.BaseSourceControlUi`1.RefreshBadgesAsync()
   at UiPath.Studio.Shell.SourceControl.SourceControlService.RefreshBadgesCore(IReadOnlyCollection`1 paths, OperationType operationType)
   at UiPath.Studio.Shell.SourceControl.SourceControlService.<>c__DisplayClass32_0.<<DocumentService_DocumentModified>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at UiPath.Studio.Shared.MVVM.Services.DispatcherService.<>c__DisplayClass18_0.<<BeginInvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>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

The content of project.json file is:

{
  "name": "BlankProcess",
  "description": "Blank Process",
  "main": "Main.xaml",
  "dependencies": {
    "UiPath.Excel.Activities": "[2.16.0]",
    "UiPath.Mail.Activities": "[1.18.1]",
    "UiPath.System.Activities": "[22.10.3]",
    "UiPath.Testing.Activities": "[22.10.0]",
    "UiPath.UIAutomation.Activities": "[22.10.2]"
  },
  "webServices": [],
  "entitiesStores": [],
  "schemaVersion": "4.0",
  "studioVersion": "22.10.2.0",
  "projectVersion": "1.0.0",
  "runtimeOptions": {
    "autoDispose": false,
    "netFrameworkLazyLoading": false,
    "isPausable": true,
    "isAttended": false,
    "requiresUserInteraction": true,
    "supportsPersistence": false,
    "excludedLoggedData": [
      "Private:*",
      "*password*"
    ],
    "executionType": "Workflow",
    "readyForPiP": false,
    "startsInPiP": false,
    "mustRestoreAllDependencies": true,
    "pipType": "ChildSession"
  },
  "designOptions": {
    "projectProfile": "Developement",
    "outputType": "Process",
    "libraryOptions": {
      "includeOriginalXaml": false,
      "privateWorkflows": []
    },
    "processOptions": {
      "ignoredFiles": []
    },
    "fileInfoCollection": [],
    "modernBehavior": true
  },
  "expressionLanguage": "VisualBasic",
  "entryPoints": [
    {
      "filePath": "Main.xaml",
      "uniqueId": "a3b0dd90-1b54-43a7-bd3a-9a913d5d4418",
      "input": [],
      "output": []
    }
  ],
  "isTemplate": false,
  "templateProjectData": {},
  "publishData": {},
  "targetFramework": "Windows"
}

I have the same problem.
Did anyone find the answer?

please note that when you create new process you can change the project path KFA.
please kindly create new process and change the path if you have the same error share it with us.

1 Like

what if already crated process.

Found a fix: remove git integration; Removing git integration
Somehow, when you have other Git integrations with IDE’s such as intelli J, the git integration with UiPath bugs out like crazy. I went to Team and disconnected the integration - and everything worked flawless.