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
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.070 s
[INFO] Finished at: 2021-10-07T16:47:03+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:6.3.2:check (default-cli) on project test: Execution default-cli of goal org.owasp:dependency-check-maven:6.3.2:check failed: Cannot invoke "org.eclipse.aether.artifact.Artifact.getClassifier()" because the return value of "org.eclipse.aether.graph.DependencyNode.getArtifact()" is null -> [Help 1]
The problem does not occur with other springboot starters I tried.
Version of dependency-check used
The problem occurs using version 6.3.2 of the maven plugin and openjdk-17 (ubuntu 20.04.3)
...
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.aether.artifact.Artifact.getClassifier()" because the return value of "org.eclipse.aether.graph.DependencyNode.getArtifact()" is null
at org.apache.maven.shared.artifact.filter.resolve.transform.EclipseAetherFilterTransformer$2.accept (EclipseAetherFilterTransformer.java:152)
at org.eclipse.aether.util.filter.AndDependencyFilter.accept (AndDependencyFilter.java:83)
at org.eclipse.aether.util.filter.OrDependencyFilter.accept (OrDependencyFilter.java:81)
at org.eclipse.aether.util.graph.visitor.FilteringDependencyVisitor.visitEnter (FilteringDependencyVisitor.java:80)
at org.eclipse.aether.util.graph.visitor.TreeDependencyVisitor.visitEnter (TreeDependencyVisitor.java:67)
at org.eclipse.aether.graph.DefaultDependencyNode.accept (DefaultDependencyNode.java:343)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:332)
at org.apache.maven.shared.transfer.dependencies.resolve.internal.Maven31DependencyResolver.resolveDependencies (Maven31DependencyResolver.java:216)
at org.apache.maven.shared.transfer.dependencies.resolve.internal.Maven31DependencyResolver.resolveDependencies (Maven31DependencyResolver.java:198)
at org.apache.maven.shared.transfer.dependencies.resolve.internal.DefaultDependencyResolver.resolveDependencies (DefaultDependencyResolver.java:60)
at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.collectMavenDependencies (BaseDependencyCheckMojo.java:1328)
To Reproduce
Steps to reproduce the behavior:
copy the given pom.xml
launch 'mvn clean dependency:check
See error
Expected behavior
If I set another dependency, spring-boot-web-starter, the plugin runs until the end and generates a report.
Given that minimal pom.xml:
invoked via:
mvn dependency-check:check
I get the error message:
The problem does not occur with other springboot starters I tried.
Version of dependency-check used
The problem occurs using version 6.3.2 of the maven plugin and openjdk-17 (ubuntu 20.04.3)
Log file
Sample stack trace generated with mvn -X dependency-check:check :
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If I set another dependency, spring-boot-web-starter, the plugin runs until the end and generates a report.
Additional context
The text was updated successfully, but these errors were encountered: