activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Closed) (JIRA)" <>
Subject [jira] [Closed] (AMQNET-332) Rollback fails with Null Reference
Date Thu, 03 Nov 2011 13:09:32 GMT


Timothy Bish closed AMQNET-332.

    Resolution: Cannot Reproduce

I haven't been able to reproduce this.  If you find a test case that can show this happening
I'd be happy to dig further but so far I can't create any scenarios where this happens.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message