Polling Dequeue Strategy failed

generated more than 35 millions of errors in last 20 hours, and still generating

NServiceBus version 6.4

for some unknown reason there was a one in customer’s azure queue, and the message seems not correct.

Since then it is generating more than 1.5 millions of error messages in our logged Log Analytics. I have access to the queue which is azure cloud, but I didn’t have access to service that is installed on premise in one of our customers. I have manually deleted this message from queue, and there is no any messages in the queue now, but it is generating error, anyone can point it out why? and how can I stop this NServiceBus error because there is no more message.

Here is the error:
TimeGenerated [UTC]
2020-01-24T01:35:22.122Z

LogException_ClassName_s
System.NullReferenceException

LogException_Message_s
Object reference not set to an instance of an object.

LogException_StackTraceString_s
at NServiceBus.AzureStorageQueues.MessagePump.d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NServiceBus.AzureStorageQueues.MessagePump.d__6.MoveNext()

LogException_RemoteStackIndex_d
0

LogException_ExceptionMethod_s
8
MoveNext
NServiceBus.Azure.Transports.WindowsAzureStorageQueues, Version=7.0.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
NServiceBus.AzureStorageQueues.MessagePump+d__7
Void MoveNext()

LogException_HResult_d
-2147467261

LogException_Source_s
NServiceBus.Azure.Transports.WindowsAzureStorageQueues

LogProperties_Text_s
Polling Dequeue Strategy failed

Timestamp_t [UTC]
2020-01-24T01:35:12.124Z

LogLevel_s
Error

LogMessage_s
Polling Dequeue Strategy failed

LogProperties_SourceContext_s
NServiceBus.AzureStorageQueues.MessagePump

Hi

On which version of the Azure Storage Queue Transport are you? Would it be possible to share the complete stack trace as well?

If you can’t share it here in the forum feel free to submit a support ticket via Support options • Particular Software or support at particular dot net with the necessary details.

Regards
Daniel

For Reference we had a NullReference issue in the 7.x range of the ASQ transport

NServiceBus.6.4.3
NServiceBus.Azure.Transports.WindowsAzureStorageQueues.7.5.3

this service has been running for more than one year, then this error come out started from the day before yesterday.

var transport = configuration.UseTransport<AzureStorageQueueTransport>();
        transport.ConnectionString(_settings.TransportConnectionString)
                 .DefaultAccountAlias("NServiceBus_Alias")
                 .PeekInterval(TimeSpan.FromSeconds(_settings.PeekInterval))
                 .MessageInvisibleTime(TimeSpan.FromSeconds(_settings.MessageInvisibleTime))
                 .BatchSize(_settings.BatchSize);

Hi

Any reasons you are not yet on 7.5.7?

Could you please send us the full stack trace to support at particular dot net so that we can have a closer look at it? Unfortunately the stack trace in the first post is not complete enough to be able to trace down the source of the NullReferenceException

Regards
Daniel