You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2010/10/19 00:15:29 UTC

[jira] Resolved: (QPID-2723) NullPointerException thrown when you pass an address based destination to the setJMSReplyTo() in a Message.

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

Rajith Attapattu resolved QPID-2723.
------------------------------------

    Resolution: Fixed

Fixed along with a test case.

> NullPointerException thrown when you pass an address based destination to the setJMSReplyTo() in a Message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2723
>                 URL: https://issues.apache.org/jira/browse/QPID-2723
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.7
>
>         Attachments: QPID-2723.patch
>
>
> When you pass a destination which was not used in consumer / producer (even when the address was the same, only the object was different), a NullPointerException is thrown, because the getExchangeName and getRoutingKey methods from AMQDestination returns null. This is due to a address not being evaluated properly and the details not being extracted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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