Emmanuel Hugonnet created ARTEMIS-3607:
------------------------------------------

             Summary: 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


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)

Reply via email to