You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/10/21 19:41:00 UTC

[jira] [Comment Edited] (SOLR-9775) NPE in QueryResultKey constructor (when executing a clustering search query?)

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

Kevin Risden edited comment on SOLR-9775 at 10/21/22 7:40 PM:
--------------------------------------------------------------

https://lists.apache.org/thread/ptdt7joh387610z4lk4jdw581srmwjbh linked in the description has a query that might be possible to throw in a test somewhere? 

A few other things:
* QueryResultKey - probably can create a small unit tests to get this to happen
* I'd be curious if there is another underlying bug somewhere - QueryResultKey has QueryResultKey(Query query, List<Query> filters, Sort sort, int nc_flags) as the definition. So somewhere QueryResultKey is being called with a non empty filters list that has null entries... why?


was (Author: risdenk):
https://lists.apache.org/thread/ptdt7joh387610z4lk4jdw581srmwjbh linked in the description has a query that might be possible to throw in a test somewhere? 

A few other things:
* QueryResultKey - probably can create a small unit tests to get this to happen
* I'd be curious if there is another underlying bug somewhere - QueryResultKey has QueryResultKey(Query query, List<Query> filters, Sort sort, int nc_flags) { as the definition. So somewhere QueryResultKey is being called with a non empty filters list that has null entries... why?

> NPE in QueryResultKey constructor (when executing a clustering search query?)
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-9775
>                 URL: https://issues.apache.org/jira/browse/SOLR-9775
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Christine Poerschke
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://github.com/apache/lucene-solr/pull/116 from Roman Kagan yesterday (November 2016) has a fix.
> On the solr-user mailing list (in March) Tim Hearn [reported|http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201603.mbox/%3CCAFoZJmC87Lbuj%2BaYwcVh%2B5ay_%3Dwi5n8TGs7gBPcF%3Djjo%2BW7vGg%40mail.gmail.com%3E] encountering what sounds like the same NPE when executing a clustering search query.
> This ticket to tentatively link the two together. Open question: do we want to include a reproducing test case along with the fix or just commit the fix alone?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org