elharo opened a new issue, #91:
URL: https://github.com/apache/maven-shared-io/issues/91

   ## Bug #9
   
   `ArtifactLocatorStrategy.java` lines 145-153
   
   The constructor stores `factory`, `resolver`, and `localRepository` 
parameters without null validation. If any of them is `null` (e.g., from 
misconfiguration), calling `factory.createArtifact(...)` at lines 147/149 or 
`resolver.resolve(...)` at line 153 will throw a `NullPointerException`.
   
   Fix: add null checks in the constructor with informative error messages.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to