Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1602

Sending message from AMQP to STOMP fails because of NPE in StompSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • STOMP
    • None
    • Artemis 2.5.0-SNAPSHOT

    Description

      Messages send from an AMQP client to a STOMP client never arrive because of an internal NPE at StompSession.sendMessage()#L160

      serverMessage.getBooleanProperty(Message.HDR_LARGE_COMPRESSED) apparently returns null in that case and because of Boolean -> boolean auto-unboxing an NPE is thrown.

      Attachments

        1. Artemis1602Test.java
          6 kB
          Johan Stenberg
        2. pom.xml
          2 kB
          Johan Stenberg

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              johan1 Johan Stenberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: