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/08 05:40:48 UTC

[jira] [Updated] (GEODE-152) MemberMBeanAttributesDUnitTest.testOSAttributes fails intermittently with NullPointerException

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

Anthony Baker updated GEODE-152:
--------------------------------
    Fix Version/s: 1.0.0-alpha1

> MemberMBeanAttributesDUnitTest.testOSAttributes fails intermittently with NullPointerException
> ----------------------------------------------------------------------------------------------
>
>                 Key: GEODE-152
>                 URL: https://issues.apache.org/jira/browse/GEODE-152
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>             Fix For: 1.0.0-alpha1
>
>
> See: https://builds.apache.org/job/Geode-nightly/164/testReport/com.gemstone.gemfire.management/MemberMBeanAttributesDUnitTest/testOSAttributes/
> Caused by: java.lang.NullPointerException
> 	at com.gemstone.gemfire.management.internal.beans.MemberMBeanBridge.fetchJvmThreads(MemberMBeanBridge.java:1331)
> 	at com.gemstone.gemfire.management.internal.beans.MemberMBean.fetchJvmThreads(MemberMBean.java:153)
> 	at com.gemstone.gemfire.management.MemberMBeanAttributesDUnitTest$6.run(MemberMBeanAttributesDUnitTest.java:236)
> When fetchJvmThreads calls getThreadInfo it needs to deal with slots in the returned array being null. The javadocs in getThreadInfo says:
>      * If a thread of the given ID is not alive or does not exist,
>      * <tt>null</tt> will be set in the corresponding element
>      * in the returned array.
> So this is a bug in: com.gemstone.gemfire.management.internal.beans.MemberMBeanBridge.fetchJvmThreads()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)