You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2015/10/27 23:16:27 UTC
[jira] [Closed] (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 ]
Darrel Schneider closed GEODE-152.
----------------------------------
> 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
>
> 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)