activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARTEMIS-981) OpenWire can't receive empty ObjectMessage
Date Thu, 31 Aug 2017 19:12:30 GMT

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

clebert suconic closed ARTEMIS-981.
-----------------------------------

> OpenWire can't receive empty ObjectMessage
> ------------------------------------------
>
>                 Key: ARTEMIS-981
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-981
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 1.5.2
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>             Fix For: 2.0.0
>
>
> When sending an empty ObjectMessage, broker doesn't
> write a 'length' field to the message buffer. In delivery the broker
> tries to read the length from the buffer, which cause "IndexOutOfBoundsException".
> To fix it, we need to check if the buffer is empty or not, and only
> read it if the buffer is not empty.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message