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

SolrDispatchFilter sets content type as NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • None
    • None

    Description

      o.a.s.h.SolrDispatchFilter can set the output Content-Type to a null pointer instead of a string. Under websphere this results in a NullPointerException. This is the offending code:

      response.setContentType(responseWriter.getContentType(solrReq, solrRsp));

      Suggested fix: either use a default content type, or do not set the content type and let the browser handle it.

      Attachments

        1. SOLR-1940.patch
          2 kB
          Lance Norskog
        2. SOLR-1940.patch
          2 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            lancenorskog Lance Norskog
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: