Skip to content

Commit

Permalink
fix: prevent accessing metadata before ensuring
Browse files Browse the repository at this point in the history
  • Loading branch information
algomaster99 committed Sep 10, 2023
1 parent b53dcbb commit 01d4bcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Options(String agentArgs) {
LOGGER.info("Generating fingerprint from SBOM and external jars");
try {
Bom14Schema sbom = CycloneDX.getPOJO(Files.readString(sbomPath));
LOGGER.debug("Processing root component: " + sbom.getMetadata().getComponent());
LOGGER.debug("Processing root component");
processRootComponent(sbom);
LOGGER.debug("Processing all components");
processAllComponents(sbom);
Expand Down

0 comments on commit 01d4bcc

Please sign in to comment.