-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
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.
- clones
-
ENTMQBR-7848 Failure in exporting broker's journal
- Closed