janhoy opened a new pull request, #2320:
URL: https://github.com/apache/solr/pull/2320

   I discovered that the properties file `EnvToSyspropMappings.properties` 
required by the new `EnvUtils` (SOLR-15960) was located in `core`. But since 
`EnvUtils` class is in `solrj` and will fail static `init()` if the property 
file is not found (perhaps it should not fail?) then when solrj is used on 
client side without solr-core, this will cause an exception:
   
   ```java
   java.lang.NullPointerException
        at java.base/java.util.Objects.requireNonNull(Objects.java:209)
        at org.apache.solr.common.util.EnvUtils.<clinit>(EnvUtils.java:51)
   ```
   
   This PR simply moves the property file to the solrj module.


-- 
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...@solr.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to