Unable to run the tool in the 2.1.2 version (1 of 12 pipelines failed)
See original GitHub issueAfter updating the cyclonedx-dotnet tool to V2.1.2 (from v1.6.4) in 1 of 12 pipeline it failed because of:
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'xxx.xxx.xxx.xxx' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CycloneDX.Program.OnExecuteAsync()
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext context, CancellationToken cancellationToken)
at CycloneDX.Program.Main(String[] args) in /home/runner/work/cyclonedx-dotnet/cyclonedx-dotnet/CycloneDX/Program.cs:line 110
at CycloneDX.Program.<Main>(String[] args)
I have executed cyclonedx with following parameters:
dotnet dotnet-CycloneDX --exclude-test-projects --exclude-dev -o SBOM -biop D:\a\1\s/artifacts -imp cycloneDX-metadata.xml PM.BE.sln
Maybe it has something similar to #437
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Unable to run the tool in the 2.1.0 version · Issue #437
I've been using version 2.0.1 without any problem, but with the latest one, 2.1.0 I started to get this error Command ran dotnet-CycloneDX ......
Read more >VS Test failing in Pipelines with missing 'Microsoft.NET. ...
I'm getting a failed builds due to the Visual Studio Test step failing in my Build Pipeline. I have a simple .NET Core...
Read more >Has anyone been able to share a Web Tool to Portal...
The ultimate solution in ArcGIS Pro 2.1 was as follows: a. Run "Export Web Map" Tool. b. Share the results as a Web...
Read more >An error occured while resolving packages
- While trying to open a moved project on another computer than the "origin computer" resulted in it not being able to update...
Read more >Suddenly Jenkins shows many plugins are not loading all ...
Hi, Lastweek My jenkins went down. I have restarted the service then we logged in to Jenkins it shows many issues related to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this is possible, thanks!
Closed because issue was solved by removing a cyclic dependency of nuget packages