elharo commented on PR #2182:
URL: https://github.com/apache/maven/pull/2182#issuecomment-2751150192

   ```
   Cannot invoke "java.util.List.stream()" because the return value of 
"org.apache.maven.execution.MavenSession.getProjects()" is null
   
   Stacktrace
   
   java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" 
because the return value of 
"org.apache.maven.execution.MavenSession.getProjects()" is null
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:203)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:149)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134)
        at 
org.apache.maven.artifact.resolver.ArtifactResolverTest.testReadRepoFromModel(ArtifactResolverTest.java:181)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to