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

ASF subversion and git services commented on GEODE-6149:
--------------------------------------------------------

Commit b13401c12ae53cc8356ba8f051eb10124d4680af in geode's branch 
refs/heads/feature/GEODE-6149 from zhouxh
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b13401c ]

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
>
> {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)

Reply via email to