Solr
  1. Solr
  2. SOLR-4705

HttpShardHandler null point exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2, 4.2.1
    • Fix Version/s: 4.3, 4.4, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Call search URL;
      select?q=test&shards=ip/solr/

      checkDistributed method throw null pointer exception.

      1. patch-4705.txt
        0.9 kB
        Raintung Li
      2. SOLR-4705.patch
        7 kB
        Hoss Man

        Activity

        Hide
        Raintung Li added a comment -

        add null pointer protection.

        Show
        Raintung Li added a comment - add null pointer protection.
        Hide
        Hoss Man added a comment -

        Thanks for the patch Raintung!

        I've updated it to include test cases of all the various "shards" param possibilities to future proof us against similar bugs down the line.

        i'm still running a bunch of iterations to verify the test itself isn't flawed, and then i'll commit

        Show
        Hoss Man added a comment - Thanks for the patch Raintung! I've updated it to include test cases of all the various "shards" param possibilities to future proof us against similar bugs down the line. i'm still running a bunch of iterations to verify the test itself isn't flawed, and then i'll commit
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] hossman
        http://svn.apache.org/viewvc?view=revision&revision=1476310

        SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param

        Show
        Commit Tag Bot added a comment - [trunk commit] hossman http://svn.apache.org/viewvc?view=revision&revision=1476310 SOLR-4705 : Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] hossman
        http://svn.apache.org/viewvc?view=revision&revision=1476326

        SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param (merge r1476310)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] hossman http://svn.apache.org/viewvc?view=revision&revision=1476326 SOLR-4705 : Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param (merge r1476310)
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] hossman
        http://svn.apache.org/viewvc?view=revision&revision=1476328

        SOLR-4705: move CHANGES to 4.3.0

        Show
        Commit Tag Bot added a comment - [trunk commit] hossman http://svn.apache.org/viewvc?view=revision&revision=1476328 SOLR-4705 : move CHANGES to 4.3.0
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] hossman
        http://svn.apache.org/viewvc?view=revision&revision=1476329

        SOLR-4705: move CHANGES to 4.3.0 (merge r1476328)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] hossman http://svn.apache.org/viewvc?view=revision&revision=1476329 SOLR-4705 : move CHANGES to 4.3.0 (merge r1476328)
        Hide
        Commit Tag Bot added a comment -

        [lucene_solr_4_3 commit] hossman
        http://svn.apache.org/viewvc?view=revision&revision=1476340

        SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param (merge r1476310 and r1476328 via '-r 1476309:1476328' from trunk)

        Show
        Commit Tag Bot added a comment - [lucene_solr_4_3 commit] hossman http://svn.apache.org/viewvc?view=revision&revision=1476340 SOLR-4705 : Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param (merge r1476310 and r1476328 via '-r 1476309:1476328' from trunk)
        Hide
        Hoss Man added a comment -

        Committed to trunk & backported to 4x,

        then updated CHANGES and backported again to 4.3 branch since there is apparently going to be a respin.

        Show
        Hoss Man added a comment - Committed to trunk & backported to 4x, then updated CHANGES and backported again to 4.3 branch since there is apparently going to be a respin.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Hoss Man
            Reporter:
            Raintung Li
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development