geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (GEODE-366) ClientHealthStatsDUnitTest testClientHealthStats_SubscriptionEnabled fails intermittently with NPE
Date Thu, 08 Oct 2015 21:31:27 GMT

     [ https://issues.apache.org/jira/browse/GEODE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Smith reassigned GEODE-366:
-------------------------------

    Assignee: Anilkumar Gingade

> 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 & tools
>            Reporter: Darrel Schneider
>            Assignee: Anilkumar Gingade
>              Labels: CI
>
> 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)

Mime
View raw message