-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.8.7.GA
-
False
-
None
-
False
-
-
-
When exporting the AMQ journal, the following error is triggered:
sh-4.2$ bin/artemis data exp --output /opt/amq/data/backup-msg/messages --verbose Executing org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter data exp --output /opt/amq/data/backup-msg/messages --verbose Home::/opt/amq, Instance::/home/jboss/broker java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(String.java:1967) at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.printBindingsAsXML(XmlDataExporter.java:342) at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.writeXMLData(XmlDataExporter.java:150)2) at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.process(XmlDataExporter.java:132)143) at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:153)e(XmlDataExporter.java:99) at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:498)DelegatingMethodAccessorImpl.java:43) at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50)134)
According to a discussion in the messaging ML it is possible to reproduce this issue by creating an address without routingTypes.
- is cloned by
-
ENTMQBR-7972 [7.11] Failure in exporting broker's journal
- Closed