MessageConsumer.HandleBasicDeliver:: Error consuming or processing message from BUS. #1383
Replies: 2 comments 1 reply
-
@danammeansbear there can be any number of reasons why a consumer runs into an exception. See server logs for clues, as well as the Heartbeats guide. We do not guess in this community. |
Beta Was this translation helpful? Give feedback.
-
I don't have a good hypothesis what may cause a RabbitMQ can and will overload slower consumers if they do not use an appropriate prefetch value (in-flight delivery limit; covered in tutorial 2 on rabbitmq.com as well). How that can manifest itself in a given codebase will vary, in particular, most consumers, this client, frameworks such as MassTransit or NServiceBus use consumer thread pools of sorts for handling deliveries. It's fairly common to see the need to expand it with consumers operating at peak throughput but null pointers is not usually the exception you get in that scenario. @lukebakken anything comes to your mind? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Hello, I am getting this error when I have queues or messages processing large amounts of data records, any idea how I can resolve this? Thank you in advance!
Row/ID: 1/193719265
App: DataLoaderService - PRD
Msg: [RELEASE] MessageConsumer.HandleBasicDeliver:: Error consuming or processing message from BUS.
Err: System.NullReferenceException: Object reference not set to an instance of an object. at EXS.Interfaces.MessageConsumer.HandleBasicDeliver(String consumerTag, UInt64 deliveryTag, Boolean redelivered, String exchange, String routingKey, IBasicProperties properties, ReadOnlyMemory`1 body) in C:codeClinical SystemsPRDEventExtractionServiceInterfacesServiceBusConsume.cs:line 273
Reproduction steps
2.send a bunch of messages over the message bus
...
Expected behavior
not expecting to get this error.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions