[jboss-jira] [JBoss JIRA] (WFCORE-522) BlockingNotificationMBeanServer will NPE if resolvedDomain or expressionsDomain are not configured

Brian Stansberry (JIRA) issues at jboss.org
Fri Jan 23 19:39:49 EST 2015


Brian Stansberry created WFCORE-522:
---------------------------------------

             Summary: BlockingNotificationMBeanServer will NPE if resolvedDomain or expressionsDomain are not configured
                 Key: WFCORE-522
                 URL: https://issues.jboss.org/browse/WFCORE-522
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 1.0.0.Alpha16
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


If the jmx subsystem <expose-resolved-model/> and/or  <expose-expression-model/> settings are not configured, but <remoting-connector/> is BlockingNotificationMBeanServer will throw NPEs in isInExposedModelControllerDomains due to passing null into java.util.regex.Pattern.matcher(...).

Simply null checks will fix the problem.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list