StoreWorker fails because of BaseViewOperatorDefinition

Applies To
Exchange Server 2019 Exchange Server 2016

Symptoms

The StoreWorker process stops responding in Microsoft Exchange Server 2019 or 2016. When this issue occurs, the mailboxes get quarantined, and the following error entry is logged:

ProviderName : MSExchangeIS

Id           : 1002

Message      : Unhandled exception (System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Exchange.Server.Storage.LogicalDataModel.SearchFolder.BaseViewOperatorDefinition(Context context, Mailbox mailbox, IList`1 columnsToFetch, SearchCriteria criteria, Nullable`1 associated)

Resolution

To fix this issue, install the following cumulative updates, as appropriate: