Skip to content
New issue

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

Exception when running generateVex - sbom.components must not be null #10

Open
Bajek opened this issue Dec 21, 2023 · 1 comment
Open

Comments

@Bajek
Copy link

Bajek commented Dec 21, 2023

Hello,

I have multi modules project and when I run dependency check for some modules I have exception as below:

Resolve mutations for :my-module:generateVex (Thread[Execution worker Thread 3,5,main]) started.
:my-module:generateVex (Thread[Execution worker Thread 3,5,main]) started.
> Task :my-module:generateVex FAILED
Caching disabled for task ':my-module:generateVex' because:
  Build cache is disabled
Task ':my-module:generateVex' is not up-to-date because:
  No history is available.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':my-module:generateVex'.
> sbom.components must not be null

Any ideas what causes this?

Cheers
Bartek

@nvima
Copy link
Contributor

nvima commented Jan 4, 2024

I'm not sure, it seems that your input sbom file has no components. Did u run generateSbom before, or did u used "runDepTrackWorkflow" ?

Maybe you have more logs for me, or the SBOM of the module, then I could have a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants