Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Object reference not set to an instance" error when you install cumulative update in Exchange Server 2013


View products that this article applies to.

Symptoms

This issue occurs in a Microsoft Exchange Server 2013 environment that has the UM Language Pack installed. A cumulative update installation removes the UM language pack before it continues the server upgrade. Additionally, if the log level for the MSExchange Management Application\ComponentInfoBasedTask event logging category in Exchange Server diagnostic logging is High or Expert, Exchange server 2013 cannot upgrade, and the following error message is displayed in the ExchangeSetup.log file:
Setup will run the task 'remove-umlanguagepack'
Setup launched task 'remove-umlanguagepack -DomainController 'dc1.contoso.com' <…>' 
[ERROR] Object reference not set to an instance of an object.
[WARNING] An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.

↑ Back to the top


Cause

This issue occurs because the initialization of internal PowerShell objects fails in some setup scenarios.

↑ Back to the top


Resolution

To resolve this issue, install Cumulative Update 9 for Exchange Server 2013.

↑ Back to the top


Workaround

To work around this issue, run the following cmdlet to decline the event log level for the ComponentInfoBasedTask event logging category:
Set-EventLogLevel -Identity "MSExchange Management Application\ComponentInfoBasedTask" -Level Lowest

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the logging levels for Exchange Server diagnostics logging, see Manage Diagnostic Logging Levels.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbfix, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 3055940
Revision : 1
Created on : 1/7/2017
Published on : 6/16/2015
Exists online : False
Views : 270