You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Hu Dong (Jira)" <ji...@apache.org> on 2021/06/01 02:27:00 UTC

[jira] [Commented] (SOLR-14674) NPE when TimeAllowed exceeded with sorting

    [ https://issues.apache.org/jira/browse/SOLR-14674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354745#comment-17354745 ] 

Hu Dong commented on SOLR-14674:
--------------------------------

possibly related to https://issues.apache.org/jira/browse/SOLR-14758

> NPE when TimeAllowed exceeded with sorting
> ------------------------------------------
>
>                 Key: SOLR-14674
>                 URL: https://issues.apache.org/jira/browse/SOLR-14674
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 8.4.1
>            Reporter: Daniel Lowe
>            Priority: Minor
>
> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org