The System Center 2012 Virtual Machine Manager console terminates unexpectedly with NullReferenceException

SYMPTOMS
After adding an ESX 4.1 host to System Center 2012 Virtual Machine Manager (VMM) fabric, the VMM console may terminate unexpectedly. 

In reviewing the application log you find the following event:

Log Name: Application
Source:        Windows Error Reporting
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Description:
Fault bucket , type 0
Event Name: VMM20
Response: Not available
Cab Id: 0

Problem signature:
P1: vmmservice
P2: 3.0.6019.0
P3: E.Adhc.Operations
P4: 3.0.6019.0
P5: M.V.E.A.VMWareESXHostDataProperties.GetHostManagementPorts
P6: System.NullReferenceException
P7: 6b59
P8:
P9:
P10:

or

Log Name: Application
Source:        Windows Error Reporting
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Description:
Fault bucket , type 0
Event Name: VMM20
Response: Not available
Cab Id: 0

Problem signature:
P1: vmmservice
P2: 3.0.6019.0
P3: VMWareImplementation
P4: 3.0.6005.0
P5: M.C.V.VmwVMService.PopulateDistributedNetworkingData
P6: System.NullReferenceException
P7: 3b81
P8:
P9:
P10:

NOTE To ensure you are encountering the issue discussed here, verify that the values shown in the Windows Error report log have the same values for P5 and P6 as seen in one of the above examples

CAUSE
This is a known issue in System Center 2012 Virtual Machine Manager. The issue is related to the absence of a standard VMware virtual switch (vSwitch) on the VMware hosts. The VMM refresher fails to handle such a configuration.


RESOLUTION
To verify the problem host perform the following steps:

Open vSphere Client 

-          Open Hosts and Clusters
-          Select Host, Go to Configuration tab
-          Select Networking, you should see no vSphere Standard Switches.

To workaround this issue, create a vSwitch on each failing host using the VMware management tools such as vSphere client.


MORE INFORMATION
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 2709961 - Last Review: 07/09/2012 22:11:00 - Revision: 5.0

Microsoft System Center 2012 Virtual Machine Manager

  • kbtshoot KB2709961
Feedback