[ 
https://issues.apache.org/jira/browse/QPIDJMS-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689264#comment-17689264
 ] 

ASF subversion and git services commented on QPIDJMS-584:
---------------------------------------------------------

Commit 989663b146b7d6682473c6435aef77478849a9c4 in qpid-jms's branch 
refs/heads/1.x from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=989663b1 ]

QPIDJMS-584: ensure JMSProducer#send(...body) methods handle null Map and 
byte[] bodies as expected

(cherry picked from commit 5db8d957d7d615c0b5f5ac7047b4eff99d45cbe6)


> JMSProducer#send(...body) will NPE when given null Map or byte[] body values
> ----------------------------------------------------------------------------
>
>                 Key: QPIDJMS-584
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-584
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 1.8.0, 2.2.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Trivial
>             Fix For: 1.9.0, 2.3.0
>
>
> The JMSProducer interface has methods for sending body values without a 
> containing Message object. The methods define they should succeed and send a 
> message with no body when given a null value, but the Map and byte[] related 
> method implementations would currently throw a NullPointerException instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to