[
https://issues.apache.org/jira/browse/ARTEMIS-5520?focusedWorklogId=971906&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-971906
]
ASF GitHub Bot logged work on ARTEMIS-5520:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jun/25 06:39
Start Date: 05/Jun/25 06:39
Worklog Time Spent: 10m
Work Description: brusdev opened a new pull request, #5744:
URL: https://github.com/apache/activemq-artemis/pull/5744
(no comment)
Issue Time Tracking
-------------------
Worklog Id: (was: 971906)
Remaining Estimate: 0h
Time Spent: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact