On Thu, Dec 13, 2012 at 5:12 PM, Hasini Gunasinghe <[email protected]> wrote:
> Hi Shariq, > > I was testing in the stand alone mode. i.e super tenant mode. > You need to check what the tenantId is in CC context when ur getting null .. do a .getTenantId() and check whats the tennatId .. I think it should be -1 ... there was a similar issue in kernel integration test that we fixed be starting a super tenant flow ... > > Thanks, > Hasini. > > > On Thu, Dec 13, 2012 at 5:08 PM, Muhammed Shariq <[email protected]> wrote: > >> On Thu, Dec 13, 2012 at 4:53 PM, Hasini Gunasinghe <[email protected]>wrote: >> >>> Hi, >>> >>> The deprecated method in the $subject is called when accessing OpenID >>> page of IS which throws a null pointer exception. >>> >>> Any idea why the above method is returning null? This worked perfectly >>> with carbon 4.0.3..? >>> >>> Inside the above method, it executes the following which is the cause >>> for returning null: >>> >>> >>> CarbonContext.getCurrentContext().getRegistry(RegistryType.SYSTEM_CONFIGURATION); >>> >> >> Is the tenant information in the CarbonContext correct, check what the >> tenantId is .. ? Previously CC was simply returning the ST registry >> regardless of the tenant, so before you would always get the ST registry. >> Make sure the tenant information is correct in the CC when retrieving >> registry .. >> >>> >>> Thanks, >>> Hasini. >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thanks, >> Shariq. >> Phone: +94 777 202 225 >> >> > -- Thanks, Shariq. Phone: +94 777 202 225
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
