[jboss-jira] [JBoss JIRA] Assigned: (JBMAN-90) PropertiesCompositeObjectNameMetaMapper uses invalid domain

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Jun 18 13:38:08 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMAN-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned JBMAN-90:
-------------------------------------

    Assignee: Brian Stansberry


> PropertiesCompositeObjectNameMetaMapper uses invalid domain
> -----------------------------------------------------------
>
>                 Key: JBMAN-90
>                 URL: https://jira.jboss.org/jira/browse/JBMAN-90
>             Project: JBoss Managed
>          Issue Type: Bug
>          Components: metatype
>    Affects Versions: JBossMan.2.1.1.Beta3
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> Problem is in last line below:
> public ObjectName unwrapMetaValue(MetaValue metaValue)
>    {
>       CompositeValue compositeValue = (CompositeValue) metaValue;
>       SimpleValue domain = (SimpleValue) compositeValue.get("domain");
>       String domainUnwrap = domain.toString();
> Results in:
> javax.management.MalformedObjectNameException: Invalid domain: SimpleMetaType:java.lang.String:jgroups
> Needs to be:
> String domainUnwrap = (String) domain.getValue();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list