Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B865A200CBC for ; Tue, 20 Jun 2017 20:23:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B71F5160BCC; Tue, 20 Jun 2017 18:23:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 085A3160BE1 for ; Tue, 20 Jun 2017 20:23:03 +0200 (CEST) Received: (qmail 47590 invoked by uid 500); 20 Jun 2017 18:23:03 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 47581 invoked by uid 99); 20 Jun 2017 18:23:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 18:23:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A7C33C061E for ; Tue, 20 Jun 2017 18:23:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gI7608ZNCVkW for ; Tue, 20 Jun 2017 18:23:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2AC635F6D3 for ; Tue, 20 Jun 2017 18:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C116E0D28 for ; Tue, 20 Jun 2017 18:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C9842408E for ; Tue, 20 Jun 2017 18:23:00 +0000 (UTC) Date: Tue, 20 Jun 2017 18:23:00 +0000 (UTC) From: "Nick Reich (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-2452) invalidateRegion on a CACHING_PROXY region throws NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Jun 2017 18:23:04 -0000 [ 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.(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)