Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11224

SolrStream.close can hit an NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6, 7.1
    • 7.1
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-11224.patch
          1 kB
          Erick Erickson

        Activity

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: