We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the following command: go run sbom_compose.go -d ....\SPDX_format_SBOMs\
with files named: sbom_2023-01-01_123456.spdx.json sbom_2023-01-01_123457.spdx.json
I get this error: _ | | ___ _ __ ___ ___ ___ _ __ ___ _ __ ___ ___ ___ _ __ / | ' \ / _ | ' ' \ _____ / / _ | ' ' _ | ' \ / _ / |/ _ \ '| __ \ |) | () | | | | | || (| () | | | | | | |) | () __ \ / | |/_./ _/|| || || __/|| || || ./ _/|/_|| |_|
←[0m...generating composed SPDX document from directory: ....\SPDX_format_SBOMs ...using config: config.yaml error while building spdx document reference for path ....\SPDX_format_SBOMs\ with config top-level-artifact, &{https:/ /spdx.org/spdxdocs/ Tool sbom-composer-1.0 [] map[]}: open ....\SPDX_format_SBOMs.pdx.json: The system cannot find the file specified. panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x88 pc=0x5a7fa8]
goroutine 1 [running]: github.com/opensbom-generator/sbom-composer/parser.UpdatePackages(...) C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected] b0/document.go:35 github.com/opensbom-generator/sbom-composer/parser.Build({0x6638f6, 0x3}, {0xc0000aa060, 0x18}, 0xc000102000) C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected] b0/build.go:15 +0xa8 github.com/opensbom-generator/sbom-composer/parser.GenerateComposedDoc({0xc0000aa060, 0x18}, {0x665e4d, 0xd}, {0x66385c, 0x2}, {0x0, 0x0, 0x0}, {0x6654b6, ...}) C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected] b0/build.go:36 +0xae ..... github.com/spf13/cobra.(*Command).execute(0x8040e0, {0xc0000d2010, 0x2, 0x3}) C:/Users/MyUsername/go/pkg/mod/github.com/spf13/[email protected]/command.go:872 +0x694 github.com/spf13/cobra.(*Command).ExecuteC(0x8040e0) C:/Users/MyUsername/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3bd github.com/spf13/cobra.(*Command).Execute(...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running the following command:
go run sbom_compose.go -d ....\SPDX_format_SBOMs\
with files named:
sbom_2023-01-01_123456.spdx.json
sbom_2023-01-01_123457.spdx.json
I get this error:
_
| | ___ _ __ ___ ___ ___ _ __ ___ _ __ ___ ___ ___ _ __
/ | ' \ / _ | ' ' \ _____ / / _ | ' ' _ | ' \ / _ / |/ _ \ '|
__ \ |) | () | | | | | || (| () | | | | | | |) | () __ \ / |
|/_./ _/|| || || __/|| || || ./ _/|/_||
|_|
←[0m...generating composed SPDX document from directory: ....\SPDX_format_SBOMs
...using config: config.yaml
error while building spdx document reference for path ....\SPDX_format_SBOMs\ with config top-level-artifact, &{https:/
/spdx.org/spdxdocs/ Tool sbom-composer-1.0 [] map[]}: open ....\SPDX_format_SBOMs.pdx.json: The system cannot find the
file specified.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x88 pc=0x5a7fa8]
goroutine 1 [running]:
github.com/opensbom-generator/sbom-composer/parser.UpdatePackages(...)
C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected]
b0/document.go:35
github.com/opensbom-generator/sbom-composer/parser.Build({0x6638f6, 0x3}, {0xc0000aa060, 0x18}, 0xc000102000)
C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected]
b0/build.go:15 +0xa8
github.com/opensbom-generator/sbom-composer/parser.GenerateComposedDoc({0xc0000aa060, 0x18}, {0x665e4d, 0xd}, {0x66385c,
0x2}, {0x0, 0x0, 0x0}, {0x6654b6, ...})
C:/Users/MyUsername/go/pkg/mod/github.com/vmware-samples/sbom-composer/[email protected]
b0/build.go:36 +0xae
.....
github.com/spf13/cobra.(*Command).execute(0x8040e0, {0xc0000d2010, 0x2, 0x3})
C:/Users/MyUsername/go/pkg/mod/github.com/spf13/[email protected]/command.go:872 +0x694
github.com/spf13/cobra.(*Command).ExecuteC(0x8040e0)
C:/Users/MyUsername/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
The text was updated successfully, but these errors were encountered: