You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Johan Stenberg (JIRA)" <ji...@apache.org> on 2018/01/11 18:20:00 UTC

[jira] [Created] (ARTEMIS-1602) Sending message from AMQP to STOMP fails because of NPE in StompSession

Johan Stenberg created ARTEMIS-1602:
---------------------------------------

             Summary: 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


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)