[
https://issues.apache.org/jira/browse/ARTEMIS-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-3607.
-------------------------------------
Fix Version/s: 2.21.0
Resolution: Fixed
> JsonUtil addToObject should be able to add a JsonValue
> ------------------------------------------------------
>
> Key: ARTEMIS-3607
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3607
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.19.0
> Reporter: Emmanuel Hugonnet
> Priority: Major
> Fix For: 2.21.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Adding a JsonObject to a JsonObject using JsonUtil.addToObject will have a
> NPE if the value is JsonValue.NULL (NullableJsonString). When adding a
> JsonObject (aka a Map of JsonValues) we should use the to String method but
> 'just' add the JsonValue
--
This message was sent by Atlassian Jira
(v8.20.1#820001)