VMware Cloud Community
JCOEN
Enthusiast
Enthusiast
Jump to solution

vSphere Web Client Error - An internal error has occurred - Error #1009.

I am running into an issues accessing the client plug-ins page in the vSphere Web Client. The error is in the subject line and a snippet from the vsphere_client_virgo log is below. Here's the scenario in which I believe is causing the problem, I just don't know how to fix it.

I had a third-party web client-plugin registered (Cisco Nexus 1000v Manager). and I disabled it. I then went through the steps to unregister the webclient plugin which involved removing the extension from the extension manager via the MOB. I successfully removed the extension from within the MOB and deleted the web client plugin files on the vCenter server, but now I'm getting the aforementioned error. I think I'm getting this because the web client is trying to find a reference to the disabled extension, either the binaries from the vCenter server or the extension I removed from the MOB. Either way, I have no idea how to move forward. Any ideas are welcome!

vCenter Version: 5.5 build 1476327

Caused by: java.lang.NullPointerException: null

  at com.vmware.vise.extensionfw.ExtensionManager.getDisabledPluginPackageInfos(ExtensionManager.java:618)

  at com.vmware.vise.extensionfw.impl.ExtensionServiceImpl.getDisabledPluginPackageInfos(ExtensionServiceImpl.java:110)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

  at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

  at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

  at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

  at com.sun.proxy.$Proxy223.getDisabledPluginPackageInfos(Unknown Source)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

  ... 53 common frames omitted

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
JCOEN
Enthusiast
Enthusiast
Jump to solution

I ended up just doing a reinstall of vCenter. Once I uninstalled it I also had to remove everything from <install drive>\ProgramData\VMware.

View solution in original post

Reply
0 Kudos
7 Replies
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Hi JCOEN,

Just reload/relogin web client once again & avoid the operations that you had been doing (removing plugin etc..). If you do this, you can use web client as usual for all other operations without any issue.

As per me, there can be NULL check missing in web client code that handles this plugin removal module. Hence that particular web client UI workflow is crashing.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Reply
0 Kudos
JCOEN
Enthusiast
Enthusiast
Jump to solution

Hi Vikas, I don't have an issue right now using the web client, however, I'm trying to install a third party application that has a web client plugin (Cisco Nexus 1000v Manager) and it is failing to deploy. I believe because it can't register the extension. The extension I had removed manually was from the same product and I'm now trying to reinstall it, but I am unable to. I believe because it's not able to register the new extension because there is some remnants left over from the old one. So I would like to try to find a way to "clean it up" as opposed to doing a complete reinstall of vCenter -Josh

Reply
0 Kudos
JCOEN
Enthusiast
Enthusiast
Jump to solution

I did try uninstall the web client and reinstalling. I still get the same error.

Reply
0 Kudos
VRBitman
Hot Shot
Hot Shot
Jump to solution

Hello,

can you confirm that you followed the steps below when initially removing the third party plugin? (from KB 1025360)

"

To remove unwanted plug-ins from the Available Plug-ins list:

  1. In a web browser, navigate to http://vCenter_Server_name_or_IP/mob.

    Where vCenter_Server_name_or_IP is the name of your vCenter Server or its IP address.

  2. Click Content.
  3. Click ExtensionManager.
  4. Select and copy the name of the plug-in you want to remove from the list of values under Properties. For a list of default plug-ins, see the Additional Information section of this article.
  5. Click UnregisterExtension. A new window appears.
  6. Paste the name of the plug-in and click Invoke Method. This removes the plug-in.
  7. Close the window.
  8. Refresh the Managed Object Type:ManagedObjectReference:ExtensionManager window to verify that the plug-in is removed successfully.

Note: If the plug-in still appears, you may have to restart the vSphere Client.

"

-- VR Bitman | http://virtualis.info | vSphere 5.5 Guide: http://goo.gl/QUqTH7 VMware professional, virtualization & FOSS evangelist, informatician, geek VCA-Cloud, VCA-WM, VCA-DCV, VCP-DCV
Reply
0 Kudos
JCOEN
Enthusiast
Enthusiast
Jump to solution

Yes I did. In doing some other things prior to the removal I had disabled the plugin, which may or may not be the reason for the problem I'm experiencing now.

Reply
0 Kudos
VRBitman
Hot Shot
Hot Shot
Jump to solution

I see... I can't think of any solution that does not involve reinstalling vCenter, perhaps the more experienced experts can chime in with their thoughts...

-- VR Bitman | http://virtualis.info | vSphere 5.5 Guide: http://goo.gl/QUqTH7 VMware professional, virtualization & FOSS evangelist, informatician, geek VCA-Cloud, VCA-WM, VCA-DCV, VCP-DCV
Reply
0 Kudos
JCOEN
Enthusiast
Enthusiast
Jump to solution

I ended up just doing a reinstall of vCenter. Once I uninstalled it I also had to remove everything from <install drive>\ProgramData\VMware.

Reply
0 Kudos