[ 
https://issues.apache.org/jira/browse/SOLR-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996790#comment-14996790
 ] 

Alan Woodward commented on SOLR-8254:
-------------------------------------

bq. I don't know, we do not tend to put a lot of SolrCloud specific methods on 
CoreContainer.

Fair enough, I'll leave it where it is.

bq. Can static analysis of code help here uncover such bugs?

Almost certainly - IntelliJ showed me the error immediately when I looked at 
the code.  I have a feeling that this has come up before, but getting the whole 
codebase to pass will be a pretty big job.

> HttpSolrCall.getCoreByCollection can throw NPE if there are no leaders up
> -------------------------------------------------------------------------
>
>                 Key: SOLR-8254
>                 URL: https://issues.apache.org/jira/browse/SOLR-8254
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Alan Woodward
>
> See http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/5254/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to