You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/08/05 14:16:04 UTC

[jira] [Resolved] (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:all-tabpanel ]

Varun Thacker resolved SOLR-7756.
---------------------------------
    Resolution: Fixed
      Assignee: Varun Thacker

Thanks Anshum for the review.

> 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