You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/12/16 12:44:22 UTC

[jira] Resolved: (QPID-202) QueueSender: incorrectly throwing NullPointerException when queue supplied to send(

     [ http://issues.apache.org/jira/browse/QPID-202?page=all ]

Robert Greig resolved QPID-202.
-------------------------------

    Fix Version/s: M2
       Resolution: Fixed

Patch applied svn revision 487782

> QueueSender: incorrectly throwing NullPointerException when queue supplied to send(
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-202
>                 URL: http://issues.apache.org/jira/browse/QPID-202
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: QPID-202.patch
>
>
> It is valid for a QueueSender to be created with a null queue.  In this case the send method must always be called with a valid queue, and not via one of the API methods which does not take a Queue argument.  Currently QueueSenderAdapter checks only the member variable _queue, and does not take into account the passed argument, when vaildating if the queue is non-null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira