Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-640

ArgumentOutOfRangeException in StringBuilder.ToString() after updating from 1.8.0 to 1.8.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.2
    • None
    • AMQP
    • None
    • Regression

    Description

      After updating from 1.8.0 to 1.8.1 I get this error. The internet expects the access to the StringBuilder is not thread save.

      Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'chunkLength') System.ArgumentOutOfRangeException ArgumentOutOfRangeException System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'chunkLength')
      at System.Text.StringBuilder.ToString()
      at Apache.NMS.AMQP.Message.DefaultMessageIdBuilder.CreateMessageId(String producerId, Int64 messageSequence)
      at Apache.NMS.AMQP.NmsSession.Send(NmsMessageProducer producer, IDestination destination, IMessage original, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive, Boolean disableMessageId, Boolean disableMessageTimestamp)
      at Apache.NMS.AMQP.NmsMessageProducer.Send(IDestination destination, IMessage message, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive)

      Attachments

        Activity

          People

            Unassigned Unassigned
            MarcGerritsen Marc Gerritsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: