[0-8] Client is unable to toString a given message unless the replyTo value has
been set by the sender.
-------------------------------------------------------------------------------------------------------
Key: QPID-1375
URL: https://issues.apache.org/jira/browse/QPID-1375
Project: Qpid
Issue Type: Bug
Components: Dot Net Client
Affects Versions: M3
Reporter: Martin Ritchie
Summary:
If ToString is called on a received message in the dotNet code and the replyTo
field was not populated by the sender then the following exception will occur:
{System.ArgumentNullException: Value cannot be null.
Parameter name: uriString
at System.Uri..ctor(String uriString)
at Apache.Qpid.Client.Message.BindingURL.Parse()
at Apache.Qpid.Client.Message.BindingURL..ctor(String url)
at Apache.Qpid.Client.Message.AbstractQmsMessage.ReadReplyToHeader()
at Apache.Qpid.Client.Message.AbstractQmsMessage.get_ReplyToExchangeName()
at Apache.Qpid.Client.Message.AbstractQmsMessage.ToString()}
This is due to ReadReplyToHeader being null and that value simply being passed
in to new System.Uri() which creates the exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.