Skip to content

darc get-dependency-graph crashes #1515

@rynowak

Description

@rynowak
C:\git\aspnet\AspNetCore-Tooling [master ≡ +1 ~4 -0 !]> darc get-dependency-graph -p <redacted_yo>
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      Something failed while trying the fetch the dependencies of repo 'https://github.com/dotnet/arcade' at sha 'c3be73644108181b6c951c3ef8febd220a2a79f3'
System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at Microsoft.DotNet.DarcLib.DependencyGraph.GetRepoPath(DependencyDetail dependency, IEnumerable`1 remotesMap, String reposFolder, ILogger logger) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Models/Darc/DependencyGraph.cs:line 103
   at Microsoft.DotNet.DarcLib.DependencyGraph.GetDependenciesAsync(DarcSettings darcSettings, Boolean remote, ILogger logger, DependencyGraphNode node, IEnumerable`1 remotesMap, String reposFolder, String testPath) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Models/Darc/DependencyGraph.cs:line 190
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      Something failed while getting the dependency graph.
System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at Microsoft.DotNet.DarcLib.DependencyGraph.GetRepoPath(DependencyDetail dependency, IEnumerable`1 remotesMap, String reposFolder, ILogger logger) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Models/Darc/DependencyGraph.cs:line 103
   at Microsoft.DotNet.DarcLib.DependencyGraph.GetDependenciesAsync(DarcSettings darcSettings, Boolean remote, ILogger logger, DependencyGraphNode node, IEnumerable`1 remotesMap, String reposFolder, String testPath) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Models/Darc/DependencyGraph.cs:line 190
   at Microsoft.DotNet.DarcLib.DependencyGraph.GetDependencyGraphAsync(DarcSettings darcSettings, DependencyDetail dependency, Boolean remote, ILogger logger, String reposFolder, IEnumerable`1 remotesMap, String testPath) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Models/Darc/DependencyGraph.cs:line 56
   at Microsoft.DotNet.Darc.Operations.GetDependencyGraphOperation.AddNodeToGraphAsync(DarcSettings darcSettings, DependencyDetail dependency, List`1 graph) in /_/src/Microsoft.DotNet.Darc/src/Darc/Operations/GetDependencyGraphOperation.cs:line 125
   at Microsoft.DotNet.Darc.Operations.GetDependencyGraphOperation.CreateGraphAsync(IEnumerable`1 dependencies, DarcSettings darcSettings) in /_/src/Microsoft.DotNet.Darc/src/Darc/Operations/GetDependencyGraphOperation.cs:line 98
   at Microsoft.DotNet.Darc.Operations.GetDependencyGraphOperation.ExecuteAsync() in /_/src/Microsoft.DotNet.Darc/src/Darc/Operations/GetDependencyGraphOperation.cs:line 57

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions