Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.5.0 M5
    • Fix Version/s: 4.5.0 M5
    • Component/s: Core Engine
    • Labels:
      None
    • Environment:
    • Severity:
      Blocker
    • Estimated Complexity:
      Moderate
    • Test cases added:
      No

      Description

      Steps to reproduce
      ===============
      1. Create a new tenant
      2. Login from the tenant and create a proxy service
      3. Invoke the proxy and you will see the following exception.

      TID: [1] [WSO2 Enterprise Service Bus] [2012-08-29 17:39:03,110] @antilia.com [1] [WSO2 Enterprise Service Bus] WARN

      {org.apache.axis2.deployment.AxisConfigBuilder} - Unable to instantiate deployer org.wso2.carbon.dataservices.core.DBDeployer; see debug logs for more details {org.apache.axis2.deployment.AxisConfigBuilder}

      TID: [] [WSO2 Enterprise Service Bus] [2012-08-29 17:39:03,133] ERROR

      {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Error occurred while running deployment for tenant antilia.com {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}

      java.lang.NullPointerException
      at org.wso2.carbon.stratos.landing.page.deployer.LandingPageWebappDeployer.init(LandingPageWebappDeployer.java:46)
      at org.wso2.carbon.utils.deployment.GhostDeployer.init(GhostDeployer.java:88)
      at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165)
      at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:287)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:121)
      at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:161)
      at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:68)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
      at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:409)
      at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      TID: [] [WSO2 Enterprise Service Bus] [2012-08-29 17:39:03,134] ERROR

      {org.apache.synapse.transport.nhttp.ServerWorker} - Error processing POST request {org.apache.synapse.transport.nhttp.ServerWorker}

      java.lang.RuntimeException: Cannot create tenant ConfigurationContext for tenant antilia.com
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:124)
      at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:161)
      at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:68)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
      at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:409)
      at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)
      at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: Error occurred while running deployment for tenant
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:335)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:121)
      ... 10 more
      Caused by: java.lang.NullPointerException
      at org.wso2.carbon.stratos.landing.page.deployer.LandingPageWebappDeployer.init(LandingPageWebappDeployer.java:46)
      at org.wso2.carbon.utils.deployment.GhostDeployer.init(GhostDeployer.java:88)
      at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165)
      at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89)
      at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:287)
      ... 11 more

        Attachments

          Activity

            People

            • Assignee:
              miyuru@wso2.com Miyuru Wanninayaka
              Reporter:
              evanthika@wso2.com Evanthika Amarasiri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: