Skip to content

Commit

Permalink
Merge pull request #32490 from zakkak/2023-04-07-fix-32418
Browse files Browse the repository at this point in the history
Avoid null pointer exception when building containers
  • Loading branch information
aloubyansky authored Apr 7, 2023
2 parents 9aa94a9 + 9df8ba7 commit 0100232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void execute() {
LOGGER.warn("AugmentResult.results = null");
} else {
LOGGER.info("AugmentResult.results = {}", results.stream().map(ArtifactResult::getPath)
.map(Object::toString).collect(Collectors.joining("\n ", "\n ", "")));
.map(r -> r == null ? "null" : r.toString()).collect(Collectors.joining("\n ", "\n ", "")));
}
JarResult jar = result.getJar();
LOGGER.info("AugmentResult:");
Expand Down

0 comments on commit 0100232

Please sign in to comment.