[ https://issues.apache.org/jira/browse/SOLR-12112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402569#comment-16402569 ]
Amrit Sarkar commented on SOLR-12112: ------------------------------------- [~markus17], is this fixed in 7.3? > NPE in QueryComponent > --------------------- > > Key: SOLR-12112 > URL: https://issues.apache.org/jira/browse/SOLR-12112 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 7.2.1 > Reporter: Markus Jelsma > Priority: Major > Fix For: 7.3, master (8.0) > > > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org