[
https://issues.apache.org/jira/browse/GEODE-3982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254239#comment-16254239
]
ASF GitHub Bot commented on GEODE-3982:
---------------------------------------
jhuynh1 opened a new pull request #1064: GEODE-3982: MemoryIndexStoreIterator
should not call GemFireCacheImpl
URL: https://github.com/apache/geode/pull/1064
Setting the cache from the memory index store instead of
GemFireCacheImpl.getInstance().
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> MemoryIndexStoreIterator should not call GemFireCacheImpl.getInstance
> ---------------------------------------------------------------------
>
> Key: GEODE-3982
> URL: https://issues.apache.org/jira/browse/GEODE-3982
> Project: Geode
> Issue Type: Bug
> Components: querying
> Reporter: Jason Huynh
> Assignee: Jason Huynh
>
> This call should be removed from the constructor and instead be passed in.
> There is already a handle to the cache from the memory index store itself.
> The current call can also lead to an NPE when the cache is closing and query
> is executed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)