MSExchangeIS 停止回應,並每天多次傳回「System.NullReferenceExceptions」

套用到
Exchange Server 2019

症狀

Microsoft交換資訊庫 (MSExchangeIS) 服務偶爾會停止回應,並記錄以下事件 ID 1002 條目:

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)

   at Microsoft.Exchange.Server.Storage.LogicalDataModel.SearchFolder.<DoSearchPopulation>d__210.MoveNext()

   at Microsoft.Exchange.Protocols.MAPI.MapiViewMessage.<CreateMaterializedRestrictionAndPopulate>d__138.MoveNext()

   at Microsoft.Exchange.Server.Storage.MapiDisp.MailboxTaskQueue.RunTaskStep(MailboxTaskContext mailboxTaskContext, QueueItem

原因

MSExchangeIS 程序停止回應,是因為一個未處理的 System.NullReferenceExceptions 例外,且每天會產生多次。

解決方式

要解決這個問題,請安裝以下累積更新:

Exchange Server 2019 的累積更新 14 或 Exchange Server 2019 的後續累積更新