activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Stenberg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1602) Sending message from AMQP to STOMP fails because of NPE in StompSession
Date Thu, 11 Jan 2018 18:22:00 GMT

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

Johan Stenberg updated ARTEMIS-1602:
------------------------------------
    Attachment: pom.xml

> Sending message from AMQP to STOMP fails because of NPE in StompSession
> -----------------------------------------------------------------------
>
>                 Key: ARTEMIS-1602
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1602
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: STOMP
>            Reporter: Johan Stenberg
>            Assignee: Justin Bertram
>         Attachments: Artemis1602Test.java, pom.xml
>
>
> Messages send from an AMQP client to a STOMP client never arrive because of an internal
NPE at [StompSession.sendMessage()#L160|https://github.com/apache/activemq-artemis/blob/b8f591b6b9b84cbea599db95c6b743a2c4088319/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompSession.java#L160]
> {{serverMessage.getBooleanProperty(Message.HDR_LARGE_COMPRESSED)}} apparently returns
null in that case and because of Boolean -> boolean auto-unboxing an NPE is thrown.



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

Mime
View raw message