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 subversion and git services (Jira)" <ji...@apache.org> on 2025/04/01 11:02:00 UTC

[jira] [Commented] (ARTEMIS-5372) parsing invalid json properties should trap error and report in status

    [ https://issues.apache.org/jira/browse/ARTEMIS-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940015#comment-17940015 ] 

ASF subversion and git services commented on ARTEMIS-5372:
----------------------------------------------------------

Commit d7d57e6d265383e975764ff6ebbc45691aeb6986 in activemq-artemis's branch refs/heads/main from Gary Tully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=d7d57e6d26 ]

ARTEMIS-5372 trap load or parse errors and reflect in status for broker property files


> 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
>          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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact