You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/01 00:14:45 UTC
[jira] [Commented] (GEODE-2545) NPE during lucene query execution
when cache is closing or region is destroyed
[ https://issues.apache.org/jira/browse/GEODE-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889168#comment-15889168 ]
ASF subversion and git services commented on GEODE-2545:
--------------------------------------------------------
Commit c4a5ab284baba371418cb7a389cb0f327d8becdc in geode's branch refs/heads/GEODE-4160-mockito from [~huynhja]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=c4a5ab2 ]
GEODE-2545: NPE during lucene query execution when cache is closing or region is destroyed
* Throw an InternalFunctionTargetInvocationException if executing a query while cache is closing
> NPE during lucene query execution when cache is closing or region is destroyed
> ------------------------------------------------------------------------------
>
> Key: GEODE-2545
> URL: https://issues.apache.org/jira/browse/GEODE-2545
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Affects Versions: 1.0.0-incubating
> Reporter: Jason Huynh
> Assignee: Jason Huynh
> Fix For: 1.2.0
>
>
> If the LuceneQueryFunction executes while a cache is closing, it is possible that the function receives a null region/index. In this case the NPE is thrown. Instead we should detect this and fail the function.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)