[
https://issues.apache.org/jira/browse/AMQNET-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krzysztof Porębski updated AMQNET-640:
--------------------------------------
Component/s: AMQP
> ArgumentOutOfRangeException in StringBuilder.ToString() after updating from
> 1.8.0 to 1.8.1
> ------------------------------------------------------------------------------------------
>
> Key: AMQNET-640
> URL: https://issues.apache.org/jira/browse/AMQNET-640
> Project: ActiveMQ .Net
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 1.7.2
> Reporter: Marc Gerritsen
> Priority: Major
>
> 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)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)