[jbosstools-issues] [JBoss JIRA] (JBIDE-11484) MBeanUtils cannot convert java.lang.Boolean properly

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Apr 5 02:51:47 EDT 2012


Rob Stryker created JBIDE-11484:
-----------------------------------

             Summary: MBeanUtils cannot convert java.lang.Boolean properly
                 Key: JBIDE-11484
                 URL: https://issues.jboss.org/browse/JBIDE-11484
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jmx
    Affects Versions: 3.3.0.Beta3
            Reporter: Rob Stryker
            Assignee: Rob Stryker
             Fix For: 3.3.0.Beta3


MBeanUtils contains utilities to convert a string (typed into the editor) into a proper object needed to send over the wire via JMX.  They provide support for all primitive types, and most wrapper types (java.lang.Double, etc).  It seems java.lang.Boolean was missing from this class. 

This class has been unchanged since the initial import of jmx utilities from the Jeff Mesnil codebase, so it would appear to be a long-standing bug. 

This bug is replicatable in as7.1 / eap6. using the shutdown jmx command, which requires java.lang.Boolean, will fail.  This jmx command can be found as follows:

1) Create as7.1 server or eap6 server
2) start the server
3) verify the server is expandable in mbean explorer
4) expand jboss.as, browse down to Server (near the bottom)
5) double-click "server"
6) find the shutdown operation, click on it
7) in the parameter section, fill the text box with "true"
8) click submit
9) notice a failure. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list