The VMMService service crashes after you add an ESX or ESXi cluster

Article translations Article translations
Article ID: 2889979 - View products that this article applies to.
Expand all | Collapse all

Symptoms

After you add an ESX or ESXi cluster to Microsoft System Center 2012 Virtual Machine Manager (VMM), the VMMService service crashes. Additionally, the following error is logged in the VMM debug log:

System.NullReferenceException: Object reference not set to an instance of an object

And you receive the following, corresponding error message in the Application log on the VMM server:

Fault bucket , type 0
Event Name: VMM20
Response: Not available
Cab Id: 0

Problem signature:
P1: vmmservice
P2: 3.1.6011.0
P3: VMWareImplementation
P4: 3.1.6011.0
P5: M.C.V.VmwVMService.PopulateDistributedNetworkingData
P6: System.NullReferenceException
P7: 2452

Cause

This issue can occur if there is an inconsistency in the VMware vCenter database. This usually occurs if there are ports in the distributed switch that are connected to VMs that no longer exist in the vCenter database.

Resolution

To resolve this issue, update the port information in the vCenter database. You can do this from the VMware vSphere console. To do this, follow these steps:
  1. Open the vSphere console, and then connect to the vCenter server. 
  2. In the vCenter server, click Inventory, and then click Networking
  3. Select the distributed switch.
  4. On the Ports tab, click Start Monitoring Port State. This action updates the port information in the vCenter database. 


More information

This issue is scheduled to be fixed in Update Rollup 4 for System Center 2012 Virtual Machine Manager Service Pack 1. 

This error stack can be found in the VMM debug log:

System.NullReferenceException: Object reference not set to an instance of an object.at Microsoft.Carmine.VMWareImplementation.VmwVMService.PopulateDistributedNetworkingData()at Microsoft.Carmine.VMWareImplementation.VmwVMService.RefreshService(Boolean hardRefresh)at Microsoft.Carmine.VMWareImplementation.VmwVMService..ctor(WSManConnectionParameters connParams, VimServiceConnection service)at Microsoft.Carmine.VSImplementation.VirtualizationFactory.GetVMService(WSManConnectionParameters connParams, HostWSManGetter wsmanCache)at Microsoft.VirtualManager.Engine.BitBos.VMRefresherBase.UpdateHostAndVMs(VMRefresherType refresherType, Guid vmObjectId, VM tempVm)at Microsoft.VirtualManager.Engine.BitBos.VmLightRefresher.RefreshData(HostReference hostRef)at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2147467261 

Properties

Article ID: 2889979 - Last Review: September 24, 2013 - Revision: 2.0
Applies to
  • Microsoft System Center 2012 Virtual Machine Manager
Keywords: 
KB2889979

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com