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

   ## Bug #8
   
   `ClasspathResourceLocatorStrategy.java` line 58
   
   `Thread.currentThread().getContextClassLoader()` can return `null` in 
certain environments (e.g., bootstrap classloader, some J2EE containers). The 
return value is immediately dereferenced with `cloader.getResource(...)`, 
causing a `NullPointerException`.
   
   Fix: add a null check before calling `getResource()`.


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