[jboss-jira] [JBoss JIRA] (WFLY-3124) JXM PluggableMBeanServerImpl assumes RealmUser principal

Vojtech Juranek (JIRA) issues at jboss.org
Mon Mar 17 10:48:10 EDT 2014


Vojtech Juranek created WFLY-3124:
-------------------------------------

             Summary: JXM PluggableMBeanServerImpl assumes RealmUser principal
                 Key: WFLY-3124
                 URL: https://issues.jboss.org/browse/WFLY-3124
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JMX
    Affects Versions: 8.0.0.Final
            Reporter: Vojtech Juranek
            Assignee: Kabir Khan


JXM {{PluggableMBeanServerImpl$LogAction}} assumes that {{RealmUser}} principal is present when Subject is not null. This condition is not always met and results into following exception:
{noformat}
Caused by: java.util.NoSuchElementException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:929)
        at java.util.HashMap$KeyIterator.next(HashMap.java:960)
        at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.getCallerUserId(PluggableMBeanServerImpl.java:1250)
        at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.doLog(PluggableMBeanServerImpl.java:1233)
        at org.jboss.as.jmx.PluggableMBeanServerImpl.log(PluggableMBeanServerImpl.java:1158)
        at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.log(MBeanServerAuditLogRecordFormatter.java:331)
        at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.queryNames(MBeanServerAuditLogRecordFormatter.java:170)
        at org.jboss.as.jmx.PluggableMBeanServerImpl.queryNames(PluggableMBeanServerImpl.java:871)
        at org.infinispan.jmx.JmxUtil.findJmxDomain(JmxUtil.java:127)

{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list