You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2016/01/15 07:14:52 UTC

[jira] [Closed] (GEODE-366) ClientHealthStatsDUnitTest testClientHealthStats_SubscriptionEnabled fails intermittently with NPE

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