[
https://issues.apache.org/jira/browse/ARTEMIS-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630071#comment-16630071
]
ASF GitHub Bot commented on ARTEMIS-1874:
-----------------------------------------
GitHub user rpelisse opened a pull request:
https://github.com/apache/activemq-artemis/pull/2336
ARTEMIS-1874 fix NPE setting object property
Upstream Issue: https://issues.apache.org/jira/browse/ARTEMIS-1874
Issue: https://issues.jboss.org/browse/JBEAP-15516
No upstream PR required, changes already in master
This is just a backport of the fix into the 1.x branch. I've setup the PR
just to make the backport easy for devs, if you prefer to cherry-pick this fix
later on yourself, feel free to simply close this PR! (or ask me to do it).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rpelisse/activemq-artemis JBEAP-15516_1.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2336.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2336
----
commit 02c201e8e15967f8512d519e1b6bf0a16bb5a28b
Author: Justin Bertram <jbertram@...>
Date: 2018-05-21T14:55:15Z
ARTEMIS-1874 fix NPE setting object property
----
> 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)