mirror of https://github.com/apache/lucene.git
SOLR-3619: Fix NPE during unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f8cd5c6688
commit
6abb23b22b
|
@ -95,7 +95,8 @@ public class SystemInfoHandler extends RequestHandlerBase
|
|||
if (solrCloudMode) {
|
||||
rsp.add("zkHost", getCoreContainer(req, core).getZkController().getZkServerAddress());
|
||||
}
|
||||
rsp.add( "solr_home", cc.getSolrHome());
|
||||
if (cc != null)
|
||||
rsp.add( "solr_home", cc.getSolrHome());
|
||||
rsp.add( "lucene", getLuceneInfo() );
|
||||
rsp.add( "jvm", getJvmInfo() );
|
||||
rsp.add( "system", getSystemInfo() );
|
||||
|
|
Loading…
Reference in New Issue