Hi everyone,
We’ve just released NServiceBus.RabbitMQ 8.0.2, 7.0.5, and 6.1.6.
Fixed bugs
- #1226 Retries of headerless message causes indefinite re-queuing on classic queues
How to know if you are affected
You are affected if:
- Consuming messages without headers from Non-NServiceBus endpoints
- Using RabbitMQ classic queues
Symptoms
Retries fail with:
ERROR NServiceBus.Transport.RabbitMQ.MessagePump Message processing failed. System.NullReferenceException: Object reference not set to an instance of an object.
at NServiceBus.Transport.RabbitMQ.MessagePump.GetDeliveryAttempts(BasicDeliverEventArgs message, String messageIdKey) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 460
at NServiceBus.Transport.RabbitMQ.MessagePump.Process(AsyncEventingBasicConsumer consumer, BasicDeliverEventArgs message, CancellationToken messageProcessingCancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 446
at NServiceBus.Transport.RabbitMQ.MessagePump.ProcessAndSwallowExceptions(AsyncEventingBasicConsumer consumer, BasicDeliverEventArgs message, CancellationToken messageProcessingCancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 348
System.NullReferenceException
Int32 GetDeliveryAttempts(RabbitMQ.Client.Events.BasicDeliverEventArgs, System.String)
at NServiceBus.Transport.RabbitMQ.MessagePump.GetDeliveryAttempts(BasicDeliverEventArgs message, String messageIdKey) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 460
at NServiceBus.Transport.RabbitMQ.MessagePump.Process(AsyncEventingBasicConsumer consumer, BasicDeliverEventArgs message, CancellationToken messageProcessingCancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 446
at NServiceBus.Transport.RabbitMQ.MessagePump.ProcessAndSwallowExceptions(AsyncEventingBasicConsumer consumer, BasicDeliverEventArgs message, CancellationToken messageProcessingCancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Receiving/MessagePump.cs:line 348
When to upgrade
You should upgrade immediately if affected.
Where to get it
You can install the new versions of NServiceBus.RabbitMQ from NuGet.
With thanks,
The team in Particular
Please read our release policy for more details.