On Tue, Oct 9, 2012 at 12:37 PM, Afkham Azeez <[email protected]> wrote:

> (UserRealm) realmService.getTenantUserRealm(tenantId); is returning null.
> Who is looking into this?


Dimuthu is looking into this. I did some debugging and noticed realmService
was returning the realm properly.  It looked like the issue was coming from
GhostRegistry<init>.


>
> On Tue, Oct 9, 2012 at 12:26 PM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>>
>>
>> On Mon, Oct 8, 2012 at 3:51 PM, Amila Maha Arachchi <[email protected]>wrote:
>>
>>>
>>> -------------------------------------------------------------------------------
>>> Test set: TestSuite
>>>
>>> -------------------------------------------------------------------------------
>>> Tests run: 115, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>>> 163.727 sec <<< FAILURE!
>>> testWebappDeployement(org.wso2.appserver.integration.tests.TenantWebappDeploymentTestCase)
>>> Time elapsed: 0.02 sec  <<< FAILURE!
>>> java.lang.NullPointerException
>>>         at
>>> org.wso2.appserver.integration.tests.TenantWebappDeploymentTestCase.testWebappDeployement(TenantWebappDeploymentTestCase.java:157)
>>>
>>
>> This should get fixed once the tenant related login issues get fixed.
>>
>> TID: [0] [AS] [2012-10-09 12:08:35,076] ERROR
>> {org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve} -  Could not
>> handle request: /t/
>> test1349764576215.org/webapps/example/carbon/authentication/login.jsp{org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve}
>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
>> obtain the user realm for tenant: 1.
>>         at
>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:270)
>>         at
>> org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:226)
>>         at
>> org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:205)
>>         at
>> org.wso2.carbon.registry.core.ghostregistry.GhostRegistry.<init>(GhostRegistry.java:54)
>>         at
>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.initCarbonContext(CarbonContextCreatorValve.java:87)
>>         at
>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:51)
>>         at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>         at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>         at
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
>>         at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
>>         at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>          at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>         at java.lang.Thread.run(Thread.java:662)
>>
>>
>>> Please fix.
>>>
>>> --
>>> *Amila Maharachchi*
>>> Technical Lead
>>> Member, Management Committee - Cloud & Platform TG
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Software Engineer,
>> Development Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud & Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to