[ https://issues.apache.org/jira/browse/SOLR-10564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amrit Sarkar updated SOLR-10564: -------------------------------- Attachment: SOLR-10564.patch Added a very basic level test in SolrCloudExampleTest::testLoadDocsIntoGettingStartedCollection() Didn't want to add or subtract much so went on with and added relevant lines. Requesting someone to kindly review as this is a legit bug. > NPE in QueryComponent when RTG > ------------------------------ > > Key: SOLR-10564 > URL: https://issues.apache.org/jira/browse/SOLR-10564 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 6.5 > Reporter: Markus Jelsma > Fix For: master (7.0) > > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5.png, SOLR-10564.patch, SOLR-10564.patch > > > The following URL: > {code} > /get?fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID> > {code} > Kindly returns the document. > This once, however: > {code} > /select?qt=/get&fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID> > {code} > throws: > {code} > 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) > {code} > This is thrown when i do it manually, but the error does not appear when Solr > issues those same queries under the hood. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org