[ 
https://issues.apache.org/jira/browse/ARTEMIS-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clebert Suconic closed ARTEMIS-5372.
------------------------------------

> parsing invalid json properties should trap error and report in status
> ----------------------------------------------------------------------
>
>                 Key: ARTEMIS-5372
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5372
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.39.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.41.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> invalid json format broker properties cause a start or update failure. Errors 
> need to be trapped and reported in the status like text properties parsing
> {{2025-03-26 16:57:08,583 ERROR [org.apache.activemq.artemis.core.server] 
> AMQ224097: Failed to start serve 
> rorg.apache.activemq.artemis.commons.shaded.json.stream.JsonParsingException: 
> Unexpected character '}' (Codepoint: 125) on [lineNumber=10, columnNumber=8, 
> streamOffset=223]. Reason is [[Expected " ] \{ } LITERAL]]}}
> {{at 
> org.apache.activemq.artemis.commons.shaded.johnzon.core.JsonStreamParserImpl.uexc(JsonStreamParserImpl.java:1051)
>  ~[artemis-commons-2.40.0.jar:2.40.0]}}
> {{at 
> org.apache.activemq.artemis.commons.shaded.johnzon.core.JsonStreamParserImpl.uexc(JsonStreamParserImpl.java:1057)
>  ~[artemis-commons-2.40.0.jar:2.40.0]}}



--
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


Reply via email to