[jira] [Updated] (SOLR-17199) EnvUtils in solr-solrj is missing EnvToSyspropMappings.properties from solr-core

2024-03-07 Thread Jira


 [ 
https://issues.apache.org/jira/browse/SOLR-17199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-17199:
---
Fix Version/s: 9.6.0

> EnvUtils in solr-solrj is missing EnvToSyspropMappings.properties from 
> solr-core
> 
>
> Key: SOLR-17199
> URL: https://issues.apache.org/jira/browse/SOLR-17199
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Affects Versions: 9.5.0
>Reporter: Andrzej Bialecki
>Priority: Major
> Fix For: 9.6.0
>
>
> Initially in SOLR-15960 {{EnvUtils}} was located in solr-core, together with 
> its configuration resource {{EnvToSyspropMappings.properties}}. Then it has 
> been moved from solr-core to solr-solrj but the configuration resource has 
> been left in solr-core.
> This unfortunately means that {{EnvUtils}} cannot be used without dependency 
> on solr-core, unless user adds their own copy of the configuration resource 
> to the classpath. Right now trying to use it (or using {{PropertiesUtil}} for 
> property substitution) results in an exception from the static initializer:
> {code}
> Caused by: java.lang.NullPointerException
>   at java.base/java.util.Objects.requireNonNull(Objects.java:209)
>   at org.apache.solr.common.util.EnvUtils.(EnvUtils.java:51)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SOLR-17199) EnvUtils in solr-solrj is missing EnvToSyspropMappings.properties from solr-core

2024-03-07 Thread Jira


 [ 
https://issues.apache.org/jira/browse/SOLR-17199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-17199:
---
Affects Version/s: 9.5.0

> EnvUtils in solr-solrj is missing EnvToSyspropMappings.properties from 
> solr-core
> 
>
> Key: SOLR-17199
> URL: https://issues.apache.org/jira/browse/SOLR-17199
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Affects Versions: 9.5.0
>Reporter: Andrzej Bialecki
>Priority: Major
>
> Initially in SOLR-15960 {{EnvUtils}} was located in solr-core, together with 
> its configuration resource {{EnvToSyspropMappings.properties}}. Then it has 
> been moved from solr-core to solr-solrj but the configuration resource has 
> been left in solr-core.
> This unfortunately means that {{EnvUtils}} cannot be used without dependency 
> on solr-core, unless user adds their own copy of the configuration resource 
> to the classpath. Right now trying to use it (or using {{PropertiesUtil}} for 
> property substitution) results in an exception from the static initializer:
> {code}
> Caused by: java.lang.NullPointerException
>   at java.base/java.util.Objects.requireNonNull(Objects.java:209)
>   at org.apache.solr.common.util.EnvUtils.(EnvUtils.java:51)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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