You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/06/05 06:40:00 UTC
[jira] [Updated] (ARTEMIS-5520) JSON broker properties for map entries with dots cause NPE
[ https://issues.apache.org/jira/browse/ARTEMIS-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARTEMIS-5520:
------------------------------------
Labels: pull-request-available (was: )
> 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: 10m
> 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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact