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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            MarcGerritsen Marc Gerritsen

            Dates

              Created:
              Updated:

              Slack

                Issue deployment