[
https://issues.apache.org/jira/browse/QPIDJMS-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689254#comment-17689254
]
ASF subversion and git services commented on QPIDJMS-584:
---------------------------------------------------------
Commit 5db8d957d7d615c0b5f5ac7047b4eff99d45cbe6 in qpid-jms's branch
refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=5db8d957 ]
QPIDJMS-584: ensure JMSProducer#send(...body) methods handle null Map and
byte[] bodies as expected
> 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]