slawekjaranowski commented on issue #2455:
URL: https://github.com/apache/maven/issues/2455#issuecomment-2954171523

   I see a changes which can impact on it:
   - https://github.com/apache/maven/pull/1724
   - https://github.com/apache/maven/pull/2345
   - https://github.com/apache/maven/pull/2393
   
   NPE in code:
   
   ```java
       public Set<Artifact> getArtifacts() {
           if (artifacts == null) {
               if (artifactFilter == null || resolvedArtifacts == null) {
                   artifacts = new LinkedHashSet<>();
               } else {
                   artifacts = new LinkedHashSet<>(resolvedArtifacts.size() * 
2);
                   for (Artifact artifact : resolvedArtifacts) {
                       if (artifactFilter.include(artifact)) {
                           artifacts.add(artifact); // <!- here artifacts is 
null
                       }
                   }
               }
           }
           return artifacts;
       }
   
   ```


-- 
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