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

Ishan Chattopadhyaya commented on SOLR-8254:
--------------------------------------------

bq. The leaderProps null check should be part of the outer if statement
Can static analysis of code help here uncover such bugs? I mean tools like 
FindBugs or the one from JetBrains etc.?

> 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