Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3857

[LTS] Met NPE when trying to export the messages

XMLWordPrintable

      I met many errors like below when starting the broker:

      2020-06-24 10:28:08,630 ERROR [org.apache.activemq.artemis.core.server] AMQ224009: Cannot find message 20,491,425
      2020-06-24 10:28:08,630 ERROR [org.apache.activemq.artemis.core.server] AMQ224010: Cannot find queue messages for queueID=996 on ack for messageID=20,491,432
      
      

      the broker can be started up successfully, but I want to export the messages to do some backup work, I met NPE when exporting the messages through the cli:

      artemis data exp --output ./export.data --verbose
      
      Error:null
      
      java.lang.NullPointerException
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.removeAcked(XmlDataExporter.java:279)
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.processMessageJournal(XmlDataExporter.java:267)
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.writeXMLData(XmlDataExporter.java:149)
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.writeOutput(XmlDataExporter.java:143)
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.process(XmlDataExporter.java:132)
       at org.apache.activemq.artemis.cli.commands.tools.xml.XmlDataExporter.execute(XmlDataExporter.java:99)
       at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
      
      

      Pls provide a way to export the data even if my journal files maybe corrupt.

              rhn-support-jbertram Justin Bertram
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: