You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/07/21 23:23:20 UTC

[jira] [Commented] (SOLR-7756) ExactStatsCache and LRUStatsCache will throw an NPE when a term is not present on a shard

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

Steve Rowe commented on SOLR-7756:
----------------------------------

SOLR-9328 has a reproducible test failure for {{TestDistribIDF.testMultiCollectionQuery()}}, which fails on the 5.3.0 release's source, which is when the test was introduced by this issue.

> ExactStatsCache and LRUStatsCache will throw an NPE when a term is not present on a shard
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-7756
>                 URL: https://issues.apache.org/jira/browse/SOLR-7756
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0, 5.0.1, 5.1, 5.2, 5.2.1, 5.2.2
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>             Fix For: 5.3
>
>         Attachments: SOLR-7756.patch, SOLR-7756.patch, SOLR-7756.patch, SOLR-7756.patch, SOLR-7756.patch, SOLR-7756.patch
>
>
> If a term doesn't exist on a shard {{ExactStatsCache#getPerShardTermStats}} throws an NullPointerException. 
> Attaching a test and a patch shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org