Bug 1185118 - [GSS](6.4.0) random NPE in RootResourceIterator
Summary: [GSS](6.4.0) random NPE in RootResourceIterator
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JMX
Version: 6.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.4.0
Assignee: Brad Maxwell
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On: 1192181
Blocks: 1344803
TreeView+ depends on / blocked
 
Reported: 2015-01-23 01:37 UTC by Brad Maxwell
Modified: 2019-08-19 12:44 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
: 1344803 (view as bug list)
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFCORE-520 0 Major Resolved Random NPE in org.jboss.as.controller.OperationContextImpl.createTargetAttribute 2020-07-28 08:58:44 UTC
Red Hat Issue Tracker WFLY-73 0 Major Closed NPE in RootResourceIterator 2020-07-28 08:58:44 UTC
Red Hat Knowledge Base (Solution) 1335183 0 None None None Never

Description Brad Maxwell 2015-01-23 01:37:19 UTC
Calling remote JMX server method such as getMBeanCount() by several remote clients leads to random NullPointerExceptions on the server side such as: 

[0m[33m18:38:11,612 WARN  [org.jboss.remotingjmx.protocol.v2.ServerCommon] (pool-2-thread-12) Unexpected internal error: java.lang.NullPointerException
   at org.jboss.as.jmx.model.RootResourceIterator.doIterate(RootResourceIterator.java:49)
   at org.jboss.as.jmx.model.RootResourceIterator.doIterate(RootResourceIterator.java:55)
   at org.jboss.as.jmx.model.RootResourceIterator.doIterate(RootResourceIterator.java:55)
   at org.jboss.as.jmx.model.RootResourceIterator.iterate(RootResourceIterator.java:39)
   at org.jboss.as.jmx.model.ModelControllerMBeanHelper.getMBeanCount(ModelControllerMBeanHelper.java:103)
   at org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin.getMBeanCount(ModelControllerMBeanServerPlugin.java:116)
   at org.jboss.as.jmx.PluggableMBeanServerImpl.getMBeanCount(PluggableMBeanServerImpl.java:220)
   at org.jboss.remotingjmx.protocol.v2.ServerProxy$GetMBeanCountHandler.handle(ServerProxy.java:618)
   at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:152)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
   at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]

Comment 6 Jan Martiska 2015-02-13 08:10:09 UTC
Given that the newly found NPE is tracked under BZ 1192181, closing this. The original NPE is fixed in EAP 6.4.0.ER2.


Note You need to log in before you can comment on or make changes to this bug.