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

Johan Stenberg updated ARTEMIS-1602:
------------------------------------
    Affects Version/s: 2.4.0
          Environment: Artemis 2.5.0-SNAPSHOT

> 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
>         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)

Reply via email to