activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Commented] (AMQNET-332) Rollback fails with Null Reference
Date Fri, 08 Jul 2011 19:57:16 GMT


Timothy Bish commented on AMQNET-332:

Creating a NUnit test case that reproduces this would be helpful to us, I haven't seen such
an error before.

> Rollback fails with Null Reference
> ----------------------------------
>                 Key: AMQNET-332
>                 URL:
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: NMS
>    Affects Versions: 1.5.0
>         Environment: Windows .NET client
>            Reporter: Matthew Good
>            Assignee: Jim Gomes
> I call rollback several times and retries occur as expected.  At some point, the rollback
fails and I no longer receive the message.  I would like to give information on how to produce
this but it just happens randomly.  I'm hoping from the stack trace, you might have an idea
of the cause.  
> There are no errors logged on the server.  This error is on the client side:
> Message: Unable to rollback transaction.
> Stack:SessionExecutor.Dispatch => MessageConsumer.Dispatch => MessageListenerDelegate.OnMessage
> System.NullReferenceException: Object reference not set to an instance of an object.
>    at Apache.NMS.ActiveMQ.Util.SimplePriorityMessageDispatchChannel.GetPriority(MessageDispatch
>    at Apache.NMS.ActiveMQ.Util.SimplePriorityMessageDispatchChannel.GetList(MessageDispatch
>    at Apache.NMS.ActiveMQ.Util.SimplePriorityMessageDispatchChannel.EnqueueFirst(MessageDispatch
>    at Apache.NMS.ActiveMQ.SessionExecutor.ExecuteFirst(MessageDispatch dispatch)
>    at Apache.NMS.ActiveMQ.Session.Redispatch(MessageDispatchChannel channel)
>    at Apache.NMS.ActiveMQ.MessageConsumer.Rollback()
>    at Apache.NMS.ActiveMQ.MessageConsumer.MessageConsumerSynchronization.AfterRollback()
>    at Apache.NMS.ActiveMQ.TransactionContext.AfterRollback()
>    at Apache.NMS.ActiveMQ.TransactionContext.Rollback()
>    at Apache.NMS.ActiveMQ.Session.DoRollback()
>    at Apache.NMS.ActiveMQ.Session.Rollback()
>    at Ipc.General.ActiveMQ.ActiveMqListenerBase.MessageListenerDelegate.OnMessage(IMessage

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message