[
https://issues.apache.org/jira/browse/ARTEMIS-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-2765.
-------------------------------------
Fix Version/s: 2.13.0
Resolution: Fixed
> StringIndexOutOfBoundsException while processing broker.xml
> -----------------------------------------------------------
>
> Key: ARTEMIS-2765
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2765
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.12.0
> Reporter: Chris Rog
> Priority: Critical
> Fix For: 2.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When processing a {{broker.xml}} file that contains either an unterminated
> property reference ({{$\{}}) or has unrelated right curly braces as part of
> the content, the following exception is thrown:
> {noformat}
> java.lang.StringIndexOutOfBoundsException: String index out of range: -110
> at java.lang.String.substring(String.java:1967)
> at
> org.apache.activemq.artemis.utils.XMLUtil.replaceSystemPropsInString(XMLUtil.java:262)
> at ...
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)