[
https://issues.apache.org/activemq/browse/AMQ-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-2197.
-----------------------------
Resolution: Duplicate
Fix Version/s: 5.3.0
This issue has been addressed in AMQ-1978
> ActiveMQTextMessage.toString() throws a NullPointerException if the message
> text is null.
> -----------------------------------------------------------------------------------------
>
> Key: AMQ-2197
> URL: https://issues.apache.org/activemq/browse/AMQ-2197
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.2.0
> Environment: ActiveMQ version 5.2.0, Atomikos transaction manager
> version 3.5.3, Spring framework version 2.5.5
> Reporter: Kayvan Mojarrad
> Assignee: Timothy Bish
> Fix For: 5.3.0
>
> Attachments: ActiveMQTextMessagePatch.txt
>
>
> ActiveMQTextMessage.toString() throws a NullPointerException if the message
> text is null.
> Ordinarily this is not a problem, however, when used in conjunction with
> Atomikos transaction manager, AtomikosJmsXaSessionProxy.createTextMessage()
> attempts to log the message before returning it to the client resulting in a
> NullPointerException being thrown out of Session.createTextMessage().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.