As it seems there is an NPE from UM Realm Service when obtaining the realm.

Thanks,
Senaka.

On Mon, Apr 18, 2011 at 12:14 PM, Chamara Ariyarathne <[email protected]>wrote:

> Error log;
>
> [2011-04-18 12:04:49,464]  INFO
> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  :
> https://10.100.0.111:9443/carbon/
> [2011-04-18 12:04:49,478]  INFO
> {org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS} -
>  Successfully registered the event broker
> [2011-04-18 12:04:49,488]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
> Transport Listener Manager
> [2011-04-18 12:04:49,490]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
>         :  WSO2 Business Activity Monitor-1.3.0-SNAPSHOT
> [2011-04-18 12:04:49,491]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
> Carbon started in 38 sec
> [2011-04-18 12:04:52,961] ERROR
> {org.wso2.carbon.user.core.common.DefaultRealmService} -
> java.lang.NullPointerException
> at
> org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
>  at
> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199)
>  at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
>  at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
> at
> org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
>  at
> org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
> at
> org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
>  at
> org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
> at
> org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
>  at
> org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
> at
> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
>  at
> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
> at
> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
>  at
> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
> at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>  at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>  at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>  at
> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
>  at
> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
> at
> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
>  at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> [2011-04-18 12:04:52,964] ERROR
> {org.wso2.carbon.registry.core.session.UserRegistry} -  An error occurred
> while obtaining the user realm for the tenant: -1.
> [2011-04-18 12:04:52,964] ERROR
> {org.wso2.carbon.dataservices.core.engine.DataService} -  Error in setting
> event broker
> DS Code: UNKNOWN_ERROR
> Nested Exception:-
> org.wso2.carbon.event.core.exception.EBRuntimeException: Can not access the
> registry
>
> at
> org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:393)
>  at
> org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
> at
> org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
>  at
> org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
> at
> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
>  at
> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
> at
> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
>  at
> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
> at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>  at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>  at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>  at
> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
>  at
> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
> at
> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
>  at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
>
>
> --
> *Chamara Ariyarathne*
> Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; *0772786766*
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to