You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Gus Heck (Jira)" <ji...@apache.org> on 2020/02/28 02:52:00 UTC
[jira] [Created] (SOLR-14290) Fix NPE in SolrTestCaseJ4 breaking
external usage for master/9.x
Gus Heck created SOLR-14290:
-------------------------------
Summary: Fix NPE in SolrTestCaseJ4 breaking external usage for master/9.x
Key: SOLR-14290
URL: https://issues.apache.org/jira/browse/SOLR-14290
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Tests
Affects Versions: master (9.0)
Environment: Solr Test Framework when run externally such that ExternalPaths.SOURCE_HOME is null
Reporter: Gus Heck
Assignee: Gus Heck
A fix for this was provided on branch_8x in SOLR-14283 but that same fix won't work in java 11 due to reflection restrictions that make it impossible (AFAIK) to un-final a final variable. We will likely need to employ powermock or our own java agent based solution, or redesign the way ExternalPaths.determinSourceHome and ExternalPaths.SOURCE_HOME work.
8.5 is coming up soon and we can't release with this broken in 8.5 so I'm separating the more complicated 9x fix into this ticket.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org