VMware Cloud Community
buckmp
Enthusiast
Enthusiast

Problem connecting to VCenter with vsphere

Guys,

Need your help,  on friday for an as yet unknown reason our VCenter server stopped allowing direct connections to it.  We have 4 servers in linked mode and you can connect to one of the others and admin the server that way, and you can Admin it via the https://localhost/ui site, but when you try and connect to it direct using vsphere, on any client when it gets to the "Loading Main Form" part of the startup you get a popup that says:

Error: An internal error occurred in the vSphere Client.
Details: Object reference not set to an instance of an object.
You close that and vshpere shuts down.
Creating the logs zip file displays this:
[        :ShowExcp:M: 6] 2011-06-01 09:25:05.326  Error: An internal error occurred in the vSphere Client.
Details: Object reference not set to an instance of an object.

Contact VMware support if necessary.
System.NullReferenceException: Object reference not set to an instance of an object.
   at VimSearchUI.Services.Impl.SearchSpecBuilderImpl.GetSimpleProperties(PropertyOwner owner, Type parentType)
   at VimSearchUI.Services.Impl.SearchSpecBuilderImpl.BuildTypes()
   at VimSearchUI.Services.SearchServiceAdaptor.CreateSearchSpec()
   at VimSearchUI.Controllers.Impl.SearchController`1.CreateSearchSpec()
   at VpxClient.Home.ChromeView.InitializeChromeView()
   at VpxClient.Home.ChromeView.OnFirstVimContext()
   at VpxClient.Home.ChromeView.set_VimContext(VimContext value)
   at VpxClient.Form1.OnFirstVimContext()
   at VpxClient.Form1.set_VimContext(VimContext value)
   at VpxClient.UI.OnSuccessfulLogin()
   at VpxClient.UI.OnLoginEvent(String message, Object[] args)

Has anyone seen this before? I started thinking it was due to a rogue plugin, but this is happening on the server, my laptop and a collegues laptop in the US, all getting exactly the same.  I've done a full removal of the client from my PC, and installed 4.1 update 1, but still does the same.  so the error appears to be driven by VCenter.  Its installed on a Windows 2008 R2 64bit, with  the DB on a seperate server.  the ODBC connector tests fine.

Any help would be greatful!

Thanks

mike

Reply
0 Kudos
4 Replies
badazws6
Enthusiast
Enthusiast

Any luck with this?  I have the same problem, but not linked mode, I actaully moved vcenter from OS to another.

Reply
0 Kudos
Matrix_1970
Enthusiast
Enthusiast

I have the same problem... Any idea????

Thanks

Matrix

Reply
0 Kudos
grace27
Enthusiast
Enthusiast

Hi

Welcome to the communities.

Please review and share this log file .

vpxd-alert.log:

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.update_manager.doc%2FGUID-9A...

Reply
0 Kudos
Matrix_1970
Enthusiast
Enthusiast

Hi,

my farm is 4.1U1. The vCenter is in Linked mode with others (3 others farms). When I connect to another farm, all is OK. If I connect to this vCenter (with IP, localhost, hostname, from RDP or not, etc,) I cannot. The logs "says" the same things

Error: An internal error occurred in the vSphere Client.

Details: Object reference not set to an instance of an object.

You close that and vshpere shuts down.

Creating the logs zip file displays this:

[        :ShowExcp:M: 6] 2011-06-01 09:25:05.326  Error: An internal error occurred in the vSphere Client.

Details: Object reference not set to an instance of an object.

...

I have tried re-installing vSphere Client, but nothing...

Thank you

Matrix

Reply
0 Kudos