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 1C940189DF for ; Fri, 15 Jan 2016 06:15:05 +0000 (UTC) Received: (qmail 12420 invoked by uid 500); 15 Jan 2016 06:15:05 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 12373 invoked by uid 500); 15 Jan 2016 06:15:05 -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 12317 invoked by uid 99); 15 Jan 2016 06:15:04 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 06:15:04 +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 947451A0193 for ; Fri, 15 Jan 2016 06:15:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wyf91GzmMil4 for ; Fri, 15 Jan 2016 06:14:58 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id F29A831B1B for ; Fri, 15 Jan 2016 06:14:52 +0000 (UTC) Received: (qmail 1833 invoked by uid 99); 15 Jan 2016 06:14:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 06:14:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 320BC2C1F58 for ; Fri, 15 Jan 2016 06:14:52 +0000 (UTC) Date: Fri, 15 Jan 2016 06:14:52 +0000 (UTC) From: "Anthony Baker (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GEODE-366) ClientHealthStatsDUnitTest testClientHealthStats_SubscriptionEnabled fails intermittently with NPE 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-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Baker closed GEODE-366. ------------------------------- > ClientHealthStatsDUnitTest testClientHealthStats_SubscriptionEnabled fails intermittently with NPE > -------------------------------------------------------------------------------------------------- > > Key: GEODE-366 > URL: https://issues.apache.org/jira/browse/GEODE-366 > Project: Geode > Issue Type: Bug > Components: management > Affects Versions: 1.0.0-incubating.M1 > Reporter: Darrel Schneider > Assignee: Dan Smith > Labels: CI > Fix For: 1.0.0-incubating.M1 > > > Failed on a private build of git rev 4708d4e182f89c6a391fcad8bac854f929717685: > {code} > at com.gemstone.gemfire.management.ClientHealthStatsDUnitTest.testClientHealthStats_SubscriptionEnabled(ClientHealthStatsDUnitTest.java:133) > [snip] > Caused by: java.lang.NullPointerException > at com.gemstone.gemfire.management.ClientHealthStatsDUnitTest.put(ClientHealthStatsDUnitTest.java:394) > {code} > This is the code that has the NPE: > assertEquals(r1.getEntry(k1).getValue(), client_k1); > The context makes clear that r1 is not null so the NPE is caused by getEntry(k1) returning null. The line right before this did a put of k1: > r1.put(k1, client_k1); > so perhaps a concurrent destroy can happen that causes the intermittent NPE? -- This message was sent by Atlassian JIRA (v6.3.4#6332)