[
https://issues.apache.org/jira/browse/GEODE-6149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711039#comment-16711039
]
ASF subversion and git services commented on GEODE-6149:
--------------------------------------------------------
Commit 7046ba497df9724fe0cdfa1997db50e0b50ddf58 in geode's branch
refs/heads/feature/GEODE-6149 from zhouxh
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7046ba4 ]
GEODE-6149: when client's cache is closing, its GetClientPRMetaDataOp could end
up with NPE
> when client's cache is also closing, its GetClientPRMetaDataOp could end up
> with NPE
> -------------------------------------------------------------------------------------
>
> Key: GEODE-6149
> URL: https://issues.apache.org/jira/browse/GEODE-6149
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Reporter: xiaojian zhou
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {noformat}
> In some test, we hit following NPE. The root cause is, when client cache is
> also closing, the cms.getClientPartitionAdvisor() could return null. In this
> case, we don't have to process the PR meta data for the response.
> Caused by: java.lang.NullPointerException
> at
> org.apache.geode.cache.client.internal.GetClientPRMetaDataOp$GetClientPRMetaDataOpImpl.processResponse(GetClientPRMetaDataOp.java:108)
> at
> org.apache.geode.cache.client.internal.AbstractOp.processResponse(AbstractOp.java:225)
> at
> org.apache.geode.cache.client.internal.AbstractOp.attemptReadResponse(AbstractOp.java:210)
> at
> org.apache.geode.cache.client.internal.AbstractOp.attempt(AbstractOp.java:386)
> at
> org.apache.geode.cache.client.internal.ConnectionImpl.execute(ConnectionImpl.java:274)
> at
> org.apache.geode.cache.client.internal.pooling.PooledConnection.execute(PooledConnection.java:325)
> at
> org.apache.geode.cache.client.internal.OpExecutorImpl.executeWithPossibleReAuthentication(OpExecutorImpl.java:892)
> at
> org.apache.geode.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:171)
> ... 8 more{noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)