You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to merge multiple BOMs with cyclonedx merge --hierarchical I received:
Unhandled exception: System.ArgumentNullException: Value cannot be null. (Parameter 'collection')
at System.Collections.Generic.List`1.InsertRange(Int32 , IEnumerable`1 )
at CycloneDX.Utils.CycloneDXUtils.HierarchicalMerge(IEnumerable`1 boms, Component bomSubject)
at CycloneDX.Cli.Commands.MergeCommand.Merge(MergeCommandOptions options)
at System.CommandLine.Invocation.CommandHandler.GetExitCodeAsync(Object value, InvocationContext context)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
I believe this is caused by the absence of the root level components property in one of the BOMs.
However, the cyclonedx validate command reports:
BOM validated successfully.
Also, the spec doesn't indicate that the root level components property is required.
The text was updated successfully, but these errors were encountered:
While attempting to merge multiple BOMs with
cyclonedx merge --hierarchical
I received:I believe this is caused by the absence of the root level
components
property in one of the BOMs.However, the
cyclonedx validate
command reports:Also, the spec doesn't indicate that the root level
components
property is required.The text was updated successfully, but these errors were encountered: