Hi,
Error at [1] is thrown when executing following:
PrivilegedCarbonContext.getCurrentContext().
getOSGiService(RealmService.class);
Earlier it was done as follows and worked fine:
SuperTenantCarbonContext.getCurrentContext().
getOSGiService(RealmService.class);
[1]
Caused by: java.lang.NullPointerException
at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:197)
at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:268)
at
org.wso2.carbon.context.PrivilegedCarbonContext.getOSGiService(PrivilegedCarbonContext.java:420)
Have we missed anything?
Thanks,
Hasini.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev