wso2-dev/carbon-commons — pull request #1 by vanjikumaran (2014-04-15 21:23:36+00:00)
Title: Removing activation from the bundling

During the run time of the ESB 4.9.0-SNAPSHOT, we got the below error stack.

[2014-04-09 17:06:56,018] ERROR - AxisEngine Failed to determine Activation status.
org.apache.axis2.AxisFault: Failed to determine Activation status.
at org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:102)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException: Tenant domain has not been set in CarbonContext
at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
at org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:288)
at org.wso2.carbon.registry.core.utils.RegistryUtils.getResourceCache(RegistryUtils.java:271)
at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.getCache(CacheBackedRegistry.java:62)
at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:246)
at org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
at org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:155)
at org.wso2.carbon.stratos.common.util.CloudServicesUtil.isCloudServiceActive(CloudServicesUtil.java:140)
at org.wso2.carbon.activation.module.ActivationHandler.invoke(ActivationHandler.java:93)
... 10 more