You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/01/22 17:35:00 UTC
[jira] [Resolved] (ARTEMIS-1602) Sending message from AMQP to STOMP
fails because of NPE in StompSession
[ https://issues.apache.org/jira/browse/ARTEMIS-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-1602.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
> 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
> Affects Versions: 2.4.0
> Environment: Artemis 2.5.0-SNAPSHOT
> Reporter: Johan Stenberg
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.5.0
>
> 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
(v7.6.3#76005)