geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Reich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2452) invalidateRegion on a CACHING_PROXY region throws NPE
Date Tue, 20 Jun 2017 18:23:00 GMT

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

Nick Reich commented on GEODE-2452:
-----------------------------------

if caching proxy assumes that you are operating on the local cache and not the server-side
one, then that is not what is occurring: this NPE is happening because it is (incorrectly)
trying to reach back to the remote server region and invalidate its data.

> invalidateRegion on a CACHING_PROXY region throws NPE
> -----------------------------------------------------
>
>                 Key: GEODE-2452
>                 URL: https://issues.apache.org/jira/browse/GEODE-2452
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Swapnil Bawaskar
>              Labels: storage_2
>
> Calling invalidateRegion on a CACHING_PROXY threw the following Exception:
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.geode.cache.client.internal.InvalidateOp$InvalidateOpImpl.<init>(InvalidateOp.java:67)
> 	at org.apache.geode.cache.client.internal.InvalidateOp.execute(InvalidateOp.java:47)
> 	at org.apache.geode.cache.client.internal.ServerRegionProxy.invalidate(ServerRegionProxy.java:221)
> 	at org.apache.geode.internal.cache.LocalRegion.serverInvalidate(LocalRegion.java:3149)
> 	at org.apache.geode.internal.cache.AbstractRegionMap.invalidate(AbstractRegionMap.java:2134)
> 	at org.apache.geode.internal.cache.LocalRegionDataView.invalidateExistingEntry(LocalRegionDataView.java:67)
> 	at org.apache.geode.internal.cache.LocalRegion.basicInvalidate(LocalRegion.java:5223)
> 	at org.apache.geode.internal.cache.LocalRegion.basicInvalidate(LocalRegion.java:5187)
> 	at org.apache.geode.internal.cache.LocalRegion.invalidateAllEntries(LocalRegion.java:8045)
> 	at org.apache.geode.internal.cache.LocalRegion.basicInvalidateRegion(LocalRegion.java:7398)
> 	at org.apache.geode.internal.cache.LocalRegion.invalidateRegion(LocalRegion.java:1647)
> 	at org.apache.geode.internal.cache.AbstractRegion.invalidateRegion(AbstractRegion.java:342)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message