Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Servicebus provider might throw NullReferenceException

Found in

EPiServer.Azure 11.0.0

Fixed in

EPiServer.Azure 11.1.1

(Or a related package)

Created

Oct 02, 2023

Updated

Oct 17, 2023

Area

CMS Core

State

Closed, Fixed and tested


Description

When CMS starts and fails early, the Azure ServiceBus provider throws a NullReferenceException in Uninitialize.

Warning can be ignored.

[15:02:25 WRN] Failed to stop processing subscriptions
System.NullReferenceException: Object reference not set to an instance of an object.
   at EPiServer.Azure.Events.Internal.DefaultServiceBusEventProvider.Uninitialize() in E:\BuildAgent2\work\edfe936b4017877a\src\EPiServer.Azure\Events\Internal\DefaultServiceBusEventProvider.cs:line 435