You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Erick Erickson (Jira)" <ji...@apache.org> on 2019/12/19 17:25:00 UTC
[jira] [Assigned] (SOLR-12112) NPE in QueryComponent
[ https://issues.apache.org/jira/browse/SOLR-12112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson reassigned SOLR-12112:
-------------------------------------
Assignee: Erick Erickson
> NPE in QueryComponent
> ---------------------
>
> Key: SOLR-12112
> URL: https://issues.apache.org/jira/browse/SOLR-12112
> Project: Solr
> Issue Type: Bug
> Affects Versions: 7.2.1
> Reporter: Markus Jelsma
> Assignee: Erick Erickson
> Priority: Major
>
> http://localhost:8983/solr/ss/select?q=*&qt=/select2
> causes:
> {code}
> 2018-03-16 14:46:59.153 ERROR (qtp1929600551-19) [c:search s:shard2 r:core_node4 x:search_shard2_replica_n2] o.a.s.s.HttpSolrCall null:java.lang.NullPointerException
> at org.apache.solr.handler.component.QueryComponent.unmarshalSortValues(QueryComponent.java:1037)
> at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:885)
> at org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:585)
> at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:564)
> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:423)
> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
> {code}
> using config
> {code}
> <requestHandler name="/select" class="solr.SearchHandler">
> <lst name="defaults">
> <str name="echoParams">explicit</str>
> <int name="rows">10</int>
> </lst>
> </requestHandler>
>
> <requestHandler name="/select2" class="solr.SearchHandler">
> <lst name="defaults">
> <str name="sort">score desc,id asc</str>
> <str name="echoParams">none</str>
> </lst>
> </requestHandler>
> {code}
> The sort param in /select2 is the culprit here. Remove it and all goes well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org