You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2018/04/04 16:40:00 UTC

[jira] [Updated] (ARTEMIS-1780) AMQP: NPE when dispatching ObjectMessage that was handled as a Large Message

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

Robbie Gemmell updated ARTEMIS-1780:
------------------------------------
    Summary: AMQP: NPE when dispatching ObjectMessage that was handled as a Large Message  (was: AMQP: NPE When dispatching ObjectMessage that was handled as a Lrage Message)

> AMQP: NPE when dispatching ObjectMessage that was handled as a Large Message
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1780
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1780
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.5.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Major
>             Fix For: 2.5.1
>
>
> When JMS ObjectMessage is sent which end up being treated as a large message and is converted to / from Core the dispatch of the message throws an NPE seemingly because the ServerJMSObjectMessage and converter code is calling the wrong method to get the underlying buffer.  The other message types go through a getDataBuffer method while the ObjectMessage handler code uses a getBodyBuffer that doesn't account for the case of the message being "Large"



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