Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6964

Store COMMIT FAILED: ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.14.5
    • None
    • Message Store
    • None

    Description

      Cl2018-05-09 02:35:17,497 | WARN | Store COMMIT FAILED: | org.apache.activemq.transaction.XATransaction | ActiveMQ Transport: tcp:///10.203.14.143:45625@61616
      java.lang.ClassCastException: java.lang.String incompatible with java.lang.Long
      at java.lang.Long.compareTo(Long.java:65)[:]
      at java.util.Arrays.binarySearch0(Arrays.java:2783)[:1.8.0]
      at java.util.Arrays.binarySearch(Arrays.java:2723)[:1.8.0]
      at org.apache.activemq.store.kahadb.disk.index.BTreeNode.remove(BTreeNode.java:353)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.disk.index.BTreeNode.remove(BTreeNode.java:295)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.disk.index.BTreeIndex.remove(BTreeIndex.java:194)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase.updateIndex(MessageDatabase.java:1546)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase$RemoveOperation.execute(MessageDatabase.java:3112)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase$16.execute(MessageDatabase.java:1382)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1378)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase$10.visit(MessageDatabase.java:1217)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.data.KahaCommitCommand.visit(KahaCommitCommand.java:130)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1199)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:1114)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:1090)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.store.kahadb.KahaDBTransactionStore.commit(KahaDBTransactionStore.java:301)[activemq-kahadb-store-5.14.5.jar:5.14.5]
      at org.apache.activemq.transaction.XATransaction.storeCommit(XATransaction.java:86)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.transaction.XATransaction.commit(XATransaction.java:76)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:252)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:118)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.broker.TransportConnection.processCommitTransactionTwoPhase(TransportConnection.java:547)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:102)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:336)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:200)[activemq-broker-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:301)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233)[activemq-client-5.14.5.jar:5.14.5]
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)[activemq-client-5.14.5.jar:5.14.5]
      at java.lang.Thread.run(Thread.java:785)[:]

      Attachments

        1. activemq.log
          877 kB
          Alessandro Capomassi
        2. activemq.xml
          6 kB
          Alessandro Capomassi

        Activity

          People

            Unassigned Unassigned
            acapom Alessandro Capomassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: