Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6BC018254 for ; Fri, 26 Feb 2016 18:34:27 +0000 (UTC) Received: (qmail 45499 invoked by uid 500); 26 Feb 2016 18:34:21 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 45469 invoked by uid 500); 26 Feb 2016 18:34:21 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 45460 invoked by uid 99); 26 Feb 2016 18:34:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 18:34:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AE7431A067A for ; Fri, 26 Feb 2016 18:34:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id v9lIcwg-IhTA for ; Fri, 26 Feb 2016 18:34:19 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 009565FB7C for ; Fri, 26 Feb 2016 18:34:18 +0000 (UTC) Received: (qmail 45121 invoked by uid 99); 26 Feb 2016 18:34:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 18:34:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 392792C1F6D for ; Fri, 26 Feb 2016 18:34:18 +0000 (UTC) Date: Fri, 26 Feb 2016 18:34:18 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-983) NPE with transactions on PR with overflow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169488#comment-15169488 ] ASF subversion and git services commented on GEODE-983: ------------------------------------------------------- Commit 2f695753cf145fca5f927cd0935cf2b82e5cf942 in incubator-geode's branch refs/heads/feature/GEODE-953 from [~swapnil.bawaskar] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=2f69575 ] GEODE-983: NPE with transactions on PR with overflow making sure that the BucketRegion is created before trying to read/write from it. Fixes tests failing in nightly build. > NPE with transactions on PR with overflow > ----------------------------------------- > > Key: GEODE-983 > URL: https://issues.apache.org/jira/browse/GEODE-983 > Project: Geode > Issue Type: Bug > Components: transactions > Reporter: Swapnil Bawaskar > Assignee: Swapnil Bawaskar > Attachments: TXWithOverflowTest.java > > > When a PartitionedRegion is configured for overflow and a transaction is trying to fault-in an overflowed value, we get an NPE. > {noformat} > java.lang.NullPointerException > at com.gemstone.gemfire.internal.cache.DiskEntry$Helper.faultInValue(DiskEntry.java:1227) > at com.gemstone.gemfire.internal.cache.DiskEntry$Helper.faultInValue(DiskEntry.java:1205) > at com.gemstone.gemfire.internal.cache.AbstractOplogDiskRegionEntry.getValue(AbstractOplogDiskRegionEntry.java:76) > at com.gemstone.gemfire.internal.cache.LocalRegion.createReadEntry(LocalRegion.java:9080) > at com.gemstone.gemfire.internal.cache.TXState.txReadEntry(TXState.java:1365) > at com.gemstone.gemfire.internal.cache.TXState.txWriteExistingEntry(TXState.java:1285) > at com.gemstone.gemfire.internal.cache.TXState.destroyExistingEntry(TXState.java:1243) > at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.destroyExistingEntry(TXStateProxyImpl.java:313) > at com.gemstone.gemfire.internal.cache.PartitionedRegion.basicDestroy(PartitionedRegion.java:5545) > at com.gemstone.gemfire.internal.cache.LocalRegion.validatedDestroy(LocalRegion.java:1214) > at com.gemstone.gemfire.internal.cache.LocalRegion.destroy(LocalRegion.java:1199) > at com.gemstone.gemfire.internal.cache.AbstractRegion.destroy(AbstractRegion.java:331) > at com.gemstone.gemfire.internal.cache.lru.TXWithOverflowTest.testpartitionedRegionWithOverflow(TXWithOverflowTest.java:46) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)