You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2007/02/15 17:24:06 UTC

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

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

Rob Godfrey reassigned QPID-202:
--------------------------------

    Assignee: Rob Godfrey

> QueueSender: incorrectly throwing NullPointerException when queue supplied to send(
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-202
>                 URL: https://issues.apache.org/jira/browse/QPID-202
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>            Reporter: Rob Godfrey
>         Assigned To: 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.
-
You can reply to this email to add a comment to the issue online.