You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/08/10 19:47:00 UTC

[jira] [Created] (SOLR-11224) SolrStream.close can hit an NPE

Erick Erickson created SOLR-11224:
-------------------------------------

             Summary: SolrStream.close can hit an NPE
                 Key: SOLR-11224
                 URL: https://issues.apache.org/jira/browse/SOLR-11224
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.6, 7.1
            Reporter: Erick Erickson
            Assignee: Erick Erickson


This line in SolrStream.close() generates an NPE
 closeableHttpResponse.close();

There's nothing requiring that this variable ever be set, it's set in constructParser(). Just needs a check.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org