GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2169
ARTEMIS-1951 Fix NPE on updateQueue with NULL user
The previous commits of ARTEMIS-1951 were using SimplreString::new that were
throwing NPE when the String parameter is null.
This fix is just using SimpleString::toSimpleString that won't throw NPE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis npe_user_update_q
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2169.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 #2169
----
commit f6a1938c6278a917a0c10a96643d9607478f92ee
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-07-02T07:18:39Z
ARTEMIS-1951 Fix NPE on updateQueue with NULL user
----
---