[jboss-jira] [JBoss JIRA] Created: (JBMAN-90) PropertiesCompositeObjectNameMetaMapper uses invalid domain
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jun 18 12:38:56 EDT 2009
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
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