Domenico Francesco Bruscino created ARTEMIS-5520:
----------------------------------------------------
Summary: JSON broker properties for map entries with dots cause NPE
Key: ARTEMIS-5520
URL: https://issues.apache.org/jira/browse/ARTEMIS-5520
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Domenico Francesco Bruscino
Assignee: Domenico Francesco Bruscino
The JSON broker properties for the map entries with dots cause NPE, i.e. when
the broker loads the following file with JSON broker properties it upodate the
status with a loadError:
{code:json}
{
"divertConfigurations":{
"my-divert":{
"address":"testAddress",
"forwardingAddress":"forwardAddress",
"transformerConfiguration":{
"className":"s.o.m.e.class",
"properties":{
"a":"va",
"b.c":"vbc"
}
}
}
}
}
{code}
{code:json}
{
"properties":{
"json-props-test14014168170311157691.json":{
"errors":[
{
"value":"loadError",
"reason":"java.lang.NullPointerException: no mapping for \"b.c\""
}
]
},
...
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact