Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2016-10-24 Thread Chanaka Fernando
On Wed, Oct 7, 2015 at 5:35 PM, Chanaka Fernando wrote: > Hi Nuwan, > > Here is the mail thread. > [Dev][ESB] EmptyStackException when resuming a paused message processor > > On Wed, Oct 7, 2015 at 5:22 PM, Nuwan Dias wrote: > >> Hi Chanaka, >> >> Thanks for

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-07 Thread Nuwan Dias
Hi Chanaka, Thanks for looking into this. Hope we can get it merged to the kernel soon :). Thanks, NuwanD. On Wed, Oct 7, 2015 at 5:19 PM, Chanaka Fernando wrote: > Hi NuwanD, > > I have found the root cause for this issue. As mentioned in [1], this > error is coming from

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-07 Thread Chanaka Fernando
Hi NuwanD, I have found the root cause for this issue. As mentioned in [1], this error is coming from kernel level and that has been propagated to the synapse level. Actual root cause is mentioned below. [2015-10-07 17:13:38,135] ERROR - ServerWorker Error processing GET reguest for :

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-07 Thread Chanaka Fernando
Hi Nuwan, Here is the mail thread. [Dev][ESB] EmptyStackException when resuming a paused message processor On Wed, Oct 7, 2015 at 5:22 PM, Nuwan Dias wrote: > Hi Chanaka, > > Thanks for looking into this. Hope we can get it merged to the kernel soon > :). > > Thanks, > NuwanD.

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Chanaka Fernando
Hi Nuwan, I had a look into the code which is causing this NPE. According to the way it is written, this NPE can be occurred. I have tried to replicate what NuwanD has mentioned but couldn't reproduce the same NPE. This can be occurred due to synapse configuration issue. @NuwanD: Can you share

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Nuwan Dias
Attaching the two APIs I used for testing. To reproduce this issue, create a tenant with the domain as 'wso2.com' and deploy these two APIs within the tenant space and restart the server. Then access the API without the version using the following URL.

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Chanaka Fernando
Hi NuwanD, I can reproduce the issue with the provided configuration. I have already created a fix for this issue and currently testing it. I'll update the thread once I finalized the fix and merge the PR. On Tue, Oct 6, 2015 at 2:59 PM, Nuwan Dias wrote: > Attaching the two

[Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Nuwan Dias
Hi, I have a scenario on the ESB where I have created two APIs with the same context in the tenant space. The first API doesn't have a version and the second API has a version. The first API receives the request and forwards to the second API. See illustration below. Client (/twitter) -->

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Chanaka Fernando
Hi All, We are looking into this issue. On Thu, Oct 1, 2015 at 10:37 AM, Sandapa Handakumbura wrote: > Hi Nuwan, > > I faced a similar issue during ESB 4.9.0 release testing. First request > for proxy services (after tenant unloading/ server restart) failed in > tenant mode

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-09-30 Thread Sandapa Handakumbura
Hi Nuwan, I faced a similar issue during ESB 4.9.0 release testing. First request for proxy services (after tenant unloading/ server restart) failed in tenant mode [1]. Unfortunately ESB team could not reproduce it and I could not identify the exact steps to reproduce it either. Hope the team