You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Emmanuel Hugonnet (Jira)" <ji...@apache.org> on 2021/12/15 07:56:00 UTC
[jira] [Created] (ARTEMIS-3607) JsonUtil addToObject should be able to add a JsonValue
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)