Skip to Content
0
Jun 26, 2009 at 08:16 AM

NullPointerException while using ICacheService interface.

40 Views

Hello Xperts,

I am using ICacheService and following part of code is throws exception

		
ICacheService cache = (ICacheService) PortalRuntime.getRuntimeResources().getService(ICacheService.KEY);
			
cache.put(EB_Constants.CKEY_COMPANIES, companies, true);

Any idea if I am missing any configuration on the server?

-Ashutosh