JMX Browse of BytesMessage fails with
javax.management.openmbean.OpenDataException: Argument's element
itemValues[8]="[B@de15a0" is not a valid value for this item
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: AMQ-3180
URL: https://issues.apache.org/jira/browse/AMQ-3180
Project: ActiveMQ
Issue Type: Bug
Components: JMX
Affects Versions: 5.4.0, 5.3.0
Reporter: Gary Tully
Assignee: Gary Tully
Priority: Minor
delivery of messages is not effected, but a browse returns no results via jmx
and exceptions appear on the broker, eg:
{code}2011-01-24 05:20:05,672 [)-209.114.68.32] WARN DestinationViewMBean -
exception browsing destination javax.management.openmbean.OpenDataException:
Argument's element itemValues[15]="[B@8e3f75" is not a valid value for this
item
(itemName=BodyPreview,itemType=javax.management.openmbean.ArrayType(name=[Ljava.lang.Byte;,dimension=1,elementType=javax.management.openmbean.SimpleType(name=java.lang.Byte))).
atjavax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:145)
atjavax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:190)
At org.apache.activemq.broker.jmx.OpenTypeSupport.convert
(OpenTypeSupport.java:398)
At org.apache.activemq.broker.jmx.DestinationView.browseMessages
(DestinationView.java:195)
At
org.apache.activemq.broker.jmx.DestinationView.browseMessages(DestinationView.java:176)
At sun.reflect.GeneratedMethodAccessor45.invoke (Unknown Source)
At sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
At java.lang.reflect.Method.invoke (Method.java:592)
At com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke
(StandardMetaDataImpl.java:414)
At com.sun.jmx.mbeanserver.MetaDataImpl.invoke (MetaDataImpl.java:220)
...{code}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira