Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3607

JsonUtil addToObject should be able to add a JsonValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.19.0
    • 2.21.0
    • Broker
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ehsavoie Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m