[
https://issues.apache.org/jira/browse/SOLR-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626537#action_12626537
]
Nikhil Chhaochharia commented on SOLR-734:
------------------------------------------
I have a SolrConfig object and an IndexSchema object. I was using them to
create an instance of SolrCore. Passing null as CoreDescriptor was working
atleast till the 14th-Aug nightly.
I want to get an instance of SolrCore and am slightly confused with the
CoreDescriptor, CoreContainer etc. that have been recently introduced. The
best thing for me would be a code snippet which shows how to create a SolrCore
if I have a SolrConfig object and an IndexSchema object.
BTW, I had posted this issue on the mailing list also and it is being discussed
there also.
> NPE in SolrCore
> ---------------
>
> Key: SOLR-734
> URL: https://issues.apache.org/jira/browse/SOLR-734
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Nikhil Chhaochharia
> Fix For: 1.3
>
>
> SolrCore.getStatistics() calls
> getCoreDescriptor().getCoreContainer().getCoreNames(this) without checking if
> the CoreDescriptor is null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.