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

Fix NPE in SearchHandler when shards.info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.8
    • None
    • None

    Description

      This NPE happens in a specific case

      • Short-circuited distributed request
      • With shards.info
      • With no QueryComponent (e.g. only spellcheck)

      One-liner fix in SearchHandler.handleRequestBody().

      Attachments

        Issue Links

          Activity

            People

              broustant Bruno Roustant
              broustant Bruno Roustant
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m