SwiftMQ 9.2.1 QueueException: rollback failed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SwiftMQ 9.2.1 QueueException: rollback failed

mpoornima
Have been seeing a lot of these exceptions lately. Not sure what this means.

com.swiftmq.swiftlet.queue.QueueException: rollback failed: PULL_TRANSACTIONTxId=37, Exception: com.swiftmq.impl.store.standard.index.QueueIndexEntry cannot be cast to com.swift
mq.impl.store.standard.swap.SwapAddress
        at com.swiftmq.impl.queue.standard.MessageQueue.rollback(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueuePullTransaction.rollback(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueueTransactionHandler.close(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueueReceiver.close(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueueHandler.queueStopInitiated(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.a(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.b(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.deleteQueue(Unknown Source)
        at com.swiftmq.impl.queue.standard.b.onEntityRemove(Unknown Source)
        at com.swiftmq.mgmt.Entity.removeEntity(Unknown Source)
        at com.swiftmq.mgmt.EntityList$4.execute(Unknown Source)
        at com.swiftmq.mgmt.CommandRegistry.executeCommand(Unknown Source)
        at com.swiftmq.mgmt.RouterConfigInstance$1.execute(Unknown Source)
        at com.swiftmq.mgmt.CommandRegistry.executeCommand(Unknown Source)
        at com.swiftmq.mgmt.RouterConfigInstance.executeCommand(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.v750.DispatcherImpl.visit(Unknown Source)
        at com.swiftmq.mgmt.protocol.v750.CommandRequest.accept(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.v750.DispatcherImpl.visit(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.po.ClientRequest.accept(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.v750.DispatcherImpl.process(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.DispatchQueue.a(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.DispatchQueue.visit(Unknown Source)
        at com.swiftmq.impl.mgmt.standard.po.ClientRequest.accept(Unknown Source)
        at com.swiftmq.tools.pipeline.PipelineQueue.process(Unknown Source)
        at com.swiftmq.tools.queue.SingleProcessorQueue.dequeue(Unknown Source)
        at com.swiftmq.tools.pipeline.PipelineQueue$QueueProcessor.run(Unknown Source)
        at com.swiftmq.impl.threadpool.standard.PoolThread.run(Unknown Source)
java.lang.NullPointerException
        at com.swiftmq.impl.queue.standard.MessageQueue.moveToTransactionReturnSize(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueuePullTransaction.moveToTransactionReturnSize(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.Session.visit(Unknown Source)
        at com.swiftmq.impl.jms.xaasf.v750.TransactedXASession.visit(Unknown Source)
        at com.swiftmq.jms.smqp.v750.MessageDeliveredRequest.accept(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.SessionQueue.process(Unknown Source)
        at com.swiftmq.tools.queue.SingleProcessorQueue.dequeue(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.s.run(Unknown Source)
        at com.swiftmq.impl.threadpool.standard.PoolThread.run(Unknown Source)

One more:
com.swiftmq.swiftlet.queue.QueueTransactionClosedException: transaction is closed!
        at com.swiftmq.swiftlet.queue.QueueTransaction.verifyTransactionState(Unknown Source)
        at com.swiftmq.swiftlet.queue.QueuePullTransaction.moveToTransactionReturnSize(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.Session.visit(Unknown Source)
        at com.swiftmq.impl.jms.xaasf.v750.TransactedXASession.visit(Unknown Source)
        at com.swiftmq.jms.smqp.v750.MessageDeliveredRequest.accept(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.SessionQueue.process(Unknown Source)
        at com.swiftmq.tools.queue.SingleProcessorQueue.dequeue(Unknown Source)
        at com.swiftmq.impl.jms.standard.v750.s.run(Unknown Source)
        at com.swiftmq.impl.threadpool.standard.PoolThread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: SwiftMQ 9.2.1 QueueException: rollback failed

IIT Software
Administrator
You've deleted a queue with messages in the swap store. The queue had active receivers with open transactions which were rolled back as part of the delete of the queue. The first class cast exception is definitely a bug and will be fixed. The others are follow-ups of the delete and should not not happen too. Will be fixed.