Re: [Dev] Null pointer exception from api gateway component when logging as the tenant-admin

2015-10-15 Thread Harshan Liyanage
Hi all,

We have put "synapse" as the gateway type. Changing it to none resolved the
issue. Thanks for the feedback.

Regards,

Harshan Liyanage
Software Engineer
Mobile: *+94724423048*
Email: hars...@wso2.com
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.

On Thu, Oct 15, 2015 at 10:14 AM, Uvindra Dias Jayasinha 
wrote:

> Ok, to confirm what Amila is saying, Harsha can you check the value of the
> ** element in the api-manager.xml of MDM? The value should
> be *None*.
>
>
>
> On 15 October 2015 at 10:05, Amila De Silva  wrote:
>
>> Hi Uvindra,
>>
>> IIRC TenantServiceCreator ( the task which deploys synapse artifacts upon
>> a TenantLoading) is only registered, if the Gateway type is Synapse. If we
>>  set it to None, then that task should not get registered.
>>
>>
>> On Thursday, October 15, 2015, Uvindra Dias Jayasinha 
>> wrote:
>>
>>> Hi Harsha,
>>>
>>> This seems to be happening because you dont have the default sequences
>>> that are shipped with the APIM pack. When you login to the tenant for the
>>> first time the sequence are copied over to that tenant space, but you dont
>>> have these in the MDM pack. The Error and Warning above the NPE also shows
>>> that this is the case.
>>>
>>> We have not handled the scenario where the gateway feature would be used
>>> in when an actual synapse gateway does not exist. We need to validate the
>>> gateway type and only carry this step out if the gateway type is synapse to
>>> avoid the NPE.
>>>
>>> On 14 October 2015 at 23:07, Harshan Liyanage  wrote:
>>>
 Hi all,

 I'm getting the below exception when logging as the tenant-admin
 (latest EMM build). We are
 using org.wso2.carbon.apimgt.gateway.feature.group version 4.3.0-SNAPSHOT
 at the moment.

 Could please someone from APIM team can shed a light on this issue?

 [2015-10-14 23:00:18,924] hars...@wso2.com [1] [MDM] WARN
 {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Could not
 create
 /home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/tenants/1/synapse-configs/default/sequences
 [2015-10-14 23:00:18,925] hars...@wso2.com [1] [MDM]ERROR
 {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Error
 while reading API manager specific synapse
 sequencesjava.io.FileNotFoundException: File
 '/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/resources/apim-synapse-config/_auth_failure_handler_.xml'
 does not exist
 [2015-10-14 23:00:18,927] hars...@wso2.com [1] [MDM]ERROR
 {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Couldn't
 serialise the initial synapse configuration for the domain : wso2.com
 java.lang.NullPointerException
 at
 org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeSequence(MultiXMLConfigurationSerializer.java:470)
 at
 org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createTenantSynapseConfigHierarchy(TenantServiceCreator.java:234)
 at
 org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createdConfigurationContext(TenantServiceCreator.java:141)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:357)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148)
 at
 org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:134)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:117)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 

[Dev] Null pointer exception from api gateway component when logging as the tenant-admin

2015-10-14 Thread Harshan Liyanage
Hi all,

I'm getting the below exception when logging as the tenant-admin (latest
EMM build). We are using org.wso2.carbon.apimgt.gateway.feature.group
version 4.3.0-SNAPSHOT at the moment.

Could please someone from APIM team can shed a light on this issue?

[2015-10-14 23:00:18,924] hars...@wso2.com [1] [MDM] WARN
{org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Could not
create
/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/tenants/1/synapse-configs/default/sequences
[2015-10-14 23:00:18,925] hars...@wso2.com [1] [MDM]ERROR
{org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Error
while reading API manager specific synapse
sequencesjava.io.FileNotFoundException: File
'/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/resources/apim-synapse-config/_auth_failure_handler_.xml'
does not exist
[2015-10-14 23:00:18,927] hars...@wso2.com [1] [MDM]ERROR
{org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Couldn't
serialise the initial synapse configuration for the domain : wso2.com
java.lang.NullPointerException
at
org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeSequence(MultiXMLConfigurationSerializer.java:470)
at
org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createTenantSynapseConfigHierarchy(TenantServiceCreator.java:234)
at
org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createdConfigurationContext(TenantServiceCreator.java:141)
at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:357)
at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148)
at
org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:134)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
at
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
at
org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
at
org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:83)
at
org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:377)
at
org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:244)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at

Re: [Dev] Null pointer exception from api gateway component when logging as the tenant-admin

2015-10-14 Thread Uvindra Dias Jayasinha
Hi Harsha,

This seems to be happening because you dont have the default sequences that
are shipped with the APIM pack. When you login to the tenant for the first
time the sequence are copied over to that tenant space, but you dont have
these in the MDM pack. The Error and Warning above the NPE also shows that
this is the case.

We have not handled the scenario where the gateway feature would be used in
when an actual synapse gateway does not exist. We need to validate the
gateway type and only carry this step out if the gateway type is synapse to
avoid the NPE.

On 14 October 2015 at 23:07, Harshan Liyanage  wrote:

> Hi all,
>
> I'm getting the below exception when logging as the tenant-admin (latest
> EMM build). We are using org.wso2.carbon.apimgt.gateway.feature.group
> version 4.3.0-SNAPSHOT at the moment.
>
> Could please someone from APIM team can shed a light on this issue?
>
> [2015-10-14 23:00:18,924] hars...@wso2.com [1] [MDM] WARN
> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Could not
> create
> /home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/tenants/1/synapse-configs/default/sequences
> [2015-10-14 23:00:18,925] hars...@wso2.com [1] [MDM]ERROR
> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Error
> while reading API manager specific synapse
> sequencesjava.io.FileNotFoundException: File
> '/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/resources/apim-synapse-config/_auth_failure_handler_.xml'
> does not exist
> [2015-10-14 23:00:18,927] hars...@wso2.com [1] [MDM]ERROR
> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Couldn't
> serialise the initial synapse configuration for the domain : wso2.com
> java.lang.NullPointerException
> at
> org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeSequence(MultiXMLConfigurationSerializer.java:470)
> at
> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createTenantSynapseConfigHierarchy(TenantServiceCreator.java:234)
> at
> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createdConfigurationContext(TenantServiceCreator.java:141)
> at
> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:357)
> at
> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148)
> at
> org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:134)
> at
> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
> at
> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
> at
> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
> at
> org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
> at
> org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
> at
> org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
> at
> org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:83)
> at
> org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:377)
> at
> org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:244)
> at
> 

Re: [Dev] Null pointer exception from api gateway component when logging as the tenant-admin

2015-10-14 Thread Amila De Silva
Hi Uvindra,

IIRC TenantServiceCreator ( the task which deploys synapse artifacts upon a
TenantLoading) is only registered, if the Gateway type is Synapse. If we
 set it to None, then that task should not get registered.

On Thursday, October 15, 2015, Uvindra Dias Jayasinha 
wrote:

> Hi Harsha,
>
> This seems to be happening because you dont have the default sequences
> that are shipped with the APIM pack. When you login to the tenant for the
> first time the sequence are copied over to that tenant space, but you dont
> have these in the MDM pack. The Error and Warning above the NPE also shows
> that this is the case.
>
> We have not handled the scenario where the gateway feature would be used
> in when an actual synapse gateway does not exist. We need to validate the
> gateway type and only carry this step out if the gateway type is synapse to
> avoid the NPE.
>
> On 14 October 2015 at 23:07, Harshan Liyanage  > wrote:
>
>> Hi all,
>>
>> I'm getting the below exception when logging as the tenant-admin (latest
>> EMM build). We are using org.wso2.carbon.apimgt.gateway.feature.group
>> version 4.3.0-SNAPSHOT at the moment.
>>
>> Could please someone from APIM team can shed a light on this issue?
>>
>> [2015-10-14 23:00:18,924] hars...@wso2.com
>>  [1] [MDM] WARN
>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Could not
>> create
>> /home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/tenants/1/synapse-configs/default/sequences
>> [2015-10-14 23:00:18,925] hars...@wso2.com
>>  [1] [MDM]ERROR
>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Error
>> while reading API manager specific synapse
>> sequencesjava.io.FileNotFoundException: File
>> '/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/resources/apim-synapse-config/_auth_failure_handler_.xml'
>> does not exist
>> [2015-10-14 23:00:18,927] hars...@wso2.com
>>  [1] [MDM]ERROR
>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Couldn't
>> serialise the initial synapse configuration for the domain : wso2.com
>> java.lang.NullPointerException
>> at
>> org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeSequence(MultiXMLConfigurationSerializer.java:470)
>> at
>> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createTenantSynapseConfigHierarchy(TenantServiceCreator.java:234)
>> at
>> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createdConfigurationContext(TenantServiceCreator.java:141)
>> at
>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:357)
>> at
>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148)
>> at
>> org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:134)
>> at
>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:117)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>> at
>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>> at
>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>> at
>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
>> at
>> 

Re: [Dev] Null pointer exception from api gateway component when logging as the tenant-admin

2015-10-14 Thread Uvindra Dias Jayasinha
Ok, to confirm what Amila is saying, Harsha can you check the value of the
** element in the api-manager.xml of MDM? The value should be
*None*.



On 15 October 2015 at 10:05, Amila De Silva  wrote:

> Hi Uvindra,
>
> IIRC TenantServiceCreator ( the task which deploys synapse artifacts upon
> a TenantLoading) is only registered, if the Gateway type is Synapse. If we
>  set it to None, then that task should not get registered.
>
>
> On Thursday, October 15, 2015, Uvindra Dias Jayasinha 
> wrote:
>
>> Hi Harsha,
>>
>> This seems to be happening because you dont have the default sequences
>> that are shipped with the APIM pack. When you login to the tenant for the
>> first time the sequence are copied over to that tenant space, but you dont
>> have these in the MDM pack. The Error and Warning above the NPE also shows
>> that this is the case.
>>
>> We have not handled the scenario where the gateway feature would be used
>> in when an actual synapse gateway does not exist. We need to validate the
>> gateway type and only carry this step out if the gateway type is synapse to
>> avoid the NPE.
>>
>> On 14 October 2015 at 23:07, Harshan Liyanage  wrote:
>>
>>> Hi all,
>>>
>>> I'm getting the below exception when logging as the tenant-admin (latest
>>> EMM build). We are using org.wso2.carbon.apimgt.gateway.feature.group
>>> version 4.3.0-SNAPSHOT at the moment.
>>>
>>> Could please someone from APIM team can shed a light on this issue?
>>>
>>> [2015-10-14 23:00:18,924] hars...@wso2.com [1] [MDM] WARN
>>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Could not
>>> create
>>> /home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/tenants/1/synapse-configs/default/sequences
>>> [2015-10-14 23:00:18,925] hars...@wso2.com [1] [MDM]ERROR
>>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Error
>>> while reading API manager specific synapse
>>> sequencesjava.io.FileNotFoundException: File
>>> '/home/harshan/development/cdm/wso2mdm-2.0.0-SNAPSHOT/repository/resources/apim-synapse-config/_auth_failure_handler_.xml'
>>> does not exist
>>> [2015-10-14 23:00:18,927] hars...@wso2.com [1] [MDM]ERROR
>>> {org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator} -  Couldn't
>>> serialise the initial synapse configuration for the domain : wso2.com
>>> java.lang.NullPointerException
>>> at
>>> org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeSequence(MultiXMLConfigurationSerializer.java:470)
>>> at
>>> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createTenantSynapseConfigHierarchy(TenantServiceCreator.java:234)
>>> at
>>> org.wso2.carbon.apimgt.gateway.internal.TenantServiceCreator.createdConfigurationContext(TenantServiceCreator.java:141)
>>> at
>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:357)
>>> at
>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:148)
>>> at
>>> org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:134)
>>> at
>>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:117)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>> at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>> at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>>> at
>>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>> at
>>>