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 Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: M3, M4
    • Fix Version/s: None
    • Component/s: Dot 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development