VMware {code} Community
CathyBr
Enthusiast
Enthusiast
Jump to solution

HTML Client (GA) - Null pointer exception when selecting vCenter

Hi, I have downloaded the GA version of the HTML Client, and have started testing my plug-in.  Things seem to work pretty much as in older fling versions - but unfortunately when I have my plug-in attached the following happens.

1) I navigate to Global Inventory Lists -> vCenter Servers. It shows me my vcenter (I have only one in this sso).  When I click on the vCenter  nothing happens, so I looked in the virgo.log and found this exception:

[2018-04-20T10:06:38.774+02:00] [ERROR] https-jsse-nio-9443-exec-22  70001765 100025 200006 com.vmware.vise.mvc.exception.GlobalExceptionHandler            

Exception handled:  java.lang.NullPointerException: null

at com.vmware.vise.mvc.controllers.NavigationServiceController.excludePluginExtensions(NavigationServiceController.java:496)

at com.vmware.vise.mvc.controllers.NavigationServiceController.navigate(NavigationServiceController.java:200)

at com.vmware.vise.mvc.controllers.NavigationServiceController.getNavigationData(NavigationServiceController.java:148)

My plug-in does have an extension to the vCenter->Monitor, but that has been working all the time.  We have a vSphere Client Version 6.6.3.150  together with our plug-in, and I can not reproduce this  effect.

Does anyone have an idea?

0 Kudos
1 Solution

Accepted Solutions
_vladi_
VMware Employee
VMware Employee
Jump to solution

Hi Cathy,

Is it possible that the extension is missing the metadata tag? 

Something like:

      <metadata>          <objectType>Folder</objectType>       </metadata>

 

Cheers,

Vladi

View solution in original post

0 Kudos
2 Replies
_vladi_
VMware Employee
VMware Employee
Jump to solution

Hi Cathy,

Is it possible that the extension is missing the metadata tag? 

Something like:

      <metadata>          <objectType>Folder</objectType>       </metadata>

 

Cheers,

Vladi

0 Kudos
CathyBr
Enthusiast
Enthusiast
Jump to solution

Hi Vladi,

thanks for the info - I checked my plugin.xml and did find an extension for a Cluster where the objectType was missing.  So before I changed this, I wanted to reproduce the behavior I had had on Friday- but now I can not reproduce it - and everything is working as expected.  Maybe there was something old in the java cache somewhere.

0 Kudos