Daniel Lowe created SOLR-14674:
----------------------------------

             Summary: NPE when TimeAllowed exceeded with sorting
                 Key: SOLR-14674
                 URL: https://issues.apache.org/jira/browse/SOLR-14674
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.4.1
            Reporter: Daniel Lowe


On Solr 8.4.1 I get a reproducible NPE when doing the type of query below, if 
the time allowed is exceeded:

solr/mycollection/select?q=somefield:a*&sort=id asc&timeAllowed=10&fl=score

For the exception to occur the query must be a distributed query (doesn't occur 
with distrib=false), a sort parameter must be specified and one of the fields 
returned must be score.

 

{{I found a few other bug reports that might be the same issue:}}

{{[https://lucene.472066.n3.nabble.com/Null-pointer-exception-in-QueryComponent-MergeDds-method-td4460047.html]}}

[https://lucene.472066.n3.nabble.com/NPE-on-exceeding-timeAllowed-on-SOLR-8-1-1-td4453239.html]

 

The stack trace is:

{{java.lang.NullPointerException}}
{{at 
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:914)}}
{{at 
org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:613)}}
{{at 
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:592)}}
{{at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:454)}}
{{at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:211)}}
{{at org.apache.solr.core.SolrCore.execute(SolrCore.java:2596)}}
{{at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:799)}}
{{at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:578)}}
{{at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:419)}}
{{at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:351)}}

 

Related to SOLR-7987

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to