[
https://issues.apache.org/jira/browse/ARTEMIS-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610643#comment-16610643
]
Justin Bertram commented on ARTEMIS-1874:
-----------------------------------------
[~raggz], the test
{{org.apache.activemq.artemis.tests.integration.jms.client.MessageTest#testNullProperties}}
sets a {{null}} String property and there is no NPE. Can you be more specific
about the use-case that generates the NPE here?
> NPE in ActiveMQMessage.setObjectProperty
> ----------------------------------------
>
> Key: ARTEMIS-1874
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1874
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Alastair Mailer
> Assignee: Justin Bertram
> Priority: Critical
> Fix For: 2.6.1, 2.7.0
>
>
> Calling ActiveMQMessage.setObjectProperty("name", null) causes an NPE in
> handleCoreProperty line 968 (value.toString()) if "name" is either
> "JMSXGroupID" or "JMSXUserID".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)