You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2011/02/14 12:02:57 UTC

[jira] Created: (AMQ-3180) 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

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

        

[jira] Resolved: (AMQ-3180) 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

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-3180.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.5.0

resolved in http://svn.apache.org/viewvc?rev=1070442&view=rev

> 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.3.0, 5.4.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Minor
>              Labels: BytesMessage, jmx
>             Fix For: 5.5.0
>
>
> 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