diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java index ad6c12d735c..9564d8b3e39 100644 --- a/solr/core/src/java/org/apache/solr/core/SolrCore.java +++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java @@ -631,8 +631,8 @@ public final class SolrCore implements SolrInfoMBean { * @since solr 4.1 */ public SolrCore(String name, CoreDescriptor cd) { - this.setName(name); coreDescriptor = cd; + this.setName(name); this.schema = null; this.dataDir = null; this.solrConfig = null;