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

NPE in QueryComponent when RTG

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 6.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following URL:

      /get?fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID>
      

      Kindly returns the document.

      This once, however:

      /select?qt=/get&fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID>
      

      throws:

      2017-04-25 10:23:26.222 ERROR (qtp1873653341-28693) [c:documents s:shard1 r:core_node3 x:documents_shard1_replica1] o.a.s.s.HttpSolrCall null:java.lang.NullPointerException
              at org.apache.solr.handler.component.QueryComponent.unmarshalSortValues(QueryComponent.java:1226)
              at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:1077)
              at org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:777)
              at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:756)
              at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:428)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
              at org.apache.solr.core.SolrCore.execute(SolrCore.java:2440)
              at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
              at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:298)
      

      This is thrown when i do it manually, but the error does not appear when Solr issues those same queries under the hood.

        Attachments

        1. screenshot-1.png
          188 kB
          Amrit Sarkar
        2. screenshot-2.png
          205 kB
          Amrit Sarkar
        3. screenshot-3.png
          523 kB
          Amrit Sarkar
        4. screenshot-4.png
          373 kB
          Amrit Sarkar
        5. screenshot-5.png
          362 kB
          Amrit Sarkar
        6. SOLR-10564.patch
          3 kB
          Amrit Sarkar
        7. SOLR-10564.patch
          0.8 kB
          Amrit Sarkar

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markus17 Markus Jelsma
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: