Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1375

[0-8] Client is unable to toString a given message unless the replyTo value has been set by the sender.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: M3, M4
    • Fix Version/s: None
    • Component/s: .NET Client
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ritchiem Martin Ritchie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: