[jboss-jira] [JBoss JIRA] Created: (JBMAN-63) ObjectName meta value creation is inconsistent
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Tue Mar 10 23:43:33 EDT 2009
ObjectName meta value creation is inconsistent
----------------------------------------------
Key: JBMAN-63
URL: https://jira.jboss.org/jira/browse/JBMAN-63
Project: JBoss Managed
Issue Type: Bug
Components: metatype, metavalue
Affects Versions: JBossMan.2.1.0.CR3
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: JBossMan.2.1.0.CR4
The meta type/value creation for javax.management.ObjectName is inconsistent. For ObjectName(String, Hashtable) the resulting composite metatype includes irrelevant implementation details like the MBeanServer. For ObjectNamem(String), the creation of a meta value fails with:
java.lang.IllegalArgumentException: The index is already used [CompositeValueSupport: metaType=[MutableCompositeMetaType{java.lang.Object}] items=[]]
at org.jboss.metatype.api.values.TableValueSupport.put(TableValueSupport.java:140)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createTableValue(DefaultMetaValueFactory.java:524)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1051)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCompositeValue(DefaultMetaValueFactory.java:490)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1049)
at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.create(DefaultMetaValueFactory.java:533)
at org.jboss.test.metatype.values.factory.test.AbstractMetaValueFactoryTest.createMetaValue(AbstractMetaValueFactoryTest.java:89)
at org.jboss.test.metatype.values.factory.test.ObjectNameUnitTestCase.testObjectNameMVCreation2(ObjectNameUnitTestCase.java:57)
We need a default builder for the ObjectName type.
--
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