Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.3.0, 5.4.0
    • 5.5.0
    • JMX

    Description

      delivery of messages is not effected, but a browse returns no results via jmx and exceptions appear on the broker, eg:

      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)
      ...

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: