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

OpenWire can't receive empty ObjectMessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 2.0.0
    • OpenWire
    • None

    Description

      When sending an empty ObjectMessage, broker doesn't
      write a 'length' field to the message buffer. In delivery the broker
      tries to read the length from the buffer, which cause "IndexOutOfBoundsException".
      To fix it, we need to check if the buffer is empty or not, and only
      read it if the buffer is not empty.

      Attachments

        Issue Links

          Activity

            People

              gaohoward Howard Gao
              gaohoward Howard Gao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: