Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

UserSessionService.getUserSession() is throwing exception after long inactivity on vSphere web client

$
0
0

Hi,

We have a html plugin for vSphere Web Client. After a long inactivity (an hour or so) on vSphere web client, navigating around web client seems fine (session timeout has not occurred). But when navigated to our plugin, an null pointer exception is thrown in the service layer. When debugged further, we found that userSession or userSession.serversInfo is NULL. When this occurs, we always have to logout and relogin again to navigate to our plugin.

UserSession userSession = _userSessionService.getUserSession();

Do you have any suggestions why his might be occurring and how to fix it?

Appreciate any responses. Thanks in advance.


Viewing all articles
Browse latest Browse all 2218

Trending Articles