[ 
https://issues.apache.org/jira/browse/ARTEMIS-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-1716.
-------------------------------------
    Resolution: Fixed

> QueueControlImpl#listMessagesAsJSON fails when message contains a byte[] 
> header
> -------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1716
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1716
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.5.5
>            Reporter: Ingo Weiss
>            Priority: Major
>
> When QueueControlImpl#listMessagesAsJSON is called and there's a message in 
> the queue with a byte[] header, a similar exception is thrown:
>  
> {noformat}
> java.lang.IllegalArgumentException: AMQ119034: Params for management 
> operations must be of the following type: int long double String boolean Map 
> or array thereof but found [B
> at 
> org.apache.activemq.artemis.api.core.JsonUtil.addToObject(JsonUtil.java:211)
> at 
> org.apache.activemq.artemis.api.core.JsonUtil.toJsonObject(JsonUtil.java:254)
> at 
> org.apache.activemq.artemis.jms.management.impl.JMSQueueControlImpl.toJSON(JMSQueueControlImpl.java:80)
> at 
> org.apache.activemq.artemis.jms.management.impl.JMSQueueControlImpl.listMessagesAsJSON(JMSQueueControlImpl.java:272)
> ...{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to