Closed Chocanto closed 4 months ago
Thanks for reporting the issue. Yes your analysis is correct. It should be a regression from the exception conversion change. We will fix it and release a new package.
Released 2.6.6
Thank you very much for this quick fix!
Hi,
After updating to the latest version (2.6.5) of Microsoft.Azure.Amqp (included in
azure.messaging.servicebus
starting 7.17.4) we are seeing more and more NullReferenceException being thrown when the internet connection is unstable. This makes our application crash multiple times per day.We were not seeing this error at all in the previous versions.
We wonder if this bug could have been introduced in this commit: 843ab89. In particular the piece of code added in
Microsoft.Azure.Amqp/Amqp/Transport/AmqpTransportInitiator.cs
to change the type of exception when catching anObjectDisposedException
.Please find below a stack trace of this exception:
Thank you for your help!