[
https://issues.apache.org/jira/browse/ARTEMIS-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956403#comment-17956403
]
ASF subversion and git services commented on ARTEMIS-5520:
----------------------------------------------------------
Commit 54d2232a75330a17380267dd81fe3f9f843b13d5 in activemq-artemis's branch
refs/heads/main from Domenico Francesco Bruscino
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=54d2232a75 ]
ARTEMIS-5520 Fix mapped broker properties with dots
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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