qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-1375) [0-8] Client is unable to toString a given message unless the replyTo value has been set by the sender.
Date Sat, 03 Mar 2012 14:27:57 GMT

     [ https://issues.apache.org/jira/browse/QPID-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbie Gemmell updated QPID-1375:
---------------------------------

    Labels: starter  (was: )
    
> [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, M4
>            Reporter: Martin Ritchie
>            Priority: Minor
>              Labels: starter
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message