Hi Hariprasath, Ideally fix should go with latest ESB. If you find the same issue with ESB 5 Alpha, please report a jira with highest priority.
On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah < haripras...@wso2.com> wrote: > Hi Malaka, > > I have changed the code in wso2-axis2 according to [1] and put it as a > patch. Now it's working perfectly. Thank you everyone for your suggestions. > > [1] > https://github.com/wso2-support/wso2-axis2/pull/1/files > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2-support%2Fwso2-axis2%2Fpull%2F1%2Ffiles&sa=D&sntz=1&usg=AFQjCNEaxillC4gy__715b9dQHPjV2jjfw> > > On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah < > haripras...@wso2.com> wrote: > >> Noted malaka. >> >> On Thursday, April 21, 2016, Malaka Silva <mal...@wso2.com> wrote: >> >>> Hi Hariprasath, >>> >>> Best is start debugging fresh pack with the release tag and apply the >>> fix and check [1]. >>> >>> Did you check this with esb 5 alpha alread? If not do so. >>> >>> [1] >>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests >>> >>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah < >>> haripras...@wso2.com> wrote: >>> >>>> As malaka said this is slightly different from the usual way and >>>> Malaka, I copied the patch to the folder and put the zip to the repository. >>>> Need to investigate further. >>>> >>>> >>>> On Wednesday, April 20, 2016, Malaka Silva <mal...@wso2.com> wrote: >>>> >>>>> Hariprasath is doing this for connectors. It is slightly different >>>>> than running esb integration tests. We need to copy the zip file >>>>> to repository folder. Hope you have updated the zip file with patch in >>>>> that >>>>> case. >>>>> >>>>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne < >>>>> thusit...@wso2.com> wrote: >>>>> >>>>>> Hi Hariprasath, >>>>>> >>>>>> Did you apply the patch manually to the pack when you run the >>>>>> integration test? AFAIK when you run integration tests it will use the >>>>>> already built default pack. It will not contains the patch. >>>>>> >>>>>> Thanks >>>>>> Thusitha >>>>>> >>>>>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva <mal...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> Hi Hariprasath, >>>>>>> >>>>>>> You need to debug and investigate this further. Find details on >>>>>>> debugging integration test in [1] >>>>>>> >>>>>>> [1] >>>>>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests >>>>>>> >>>>>>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah < >>>>>>> haripras...@wso2.com> wrote: >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> I have apply the patch to ESB 4.9.0 have mentioned above in [1], >>>>>>>> but I got the same error. If I create the test case for another >>>>>>>> method(describeSObject) also show the same error. I have attached the >>>>>>>> wire >>>>>>>> log for this method also, >>>>>>>> >>>>>>>> Can anyone give any suggestion on this? >>>>>>>> >>>>>>>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah < >>>>>>>> haripras...@wso2.com> wrote: >>>>>>>> >>>>>>>>> Noted Malaka, >>>>>>>>> >>>>>>>>> I will check and update on this. >>>>>>>>> >>>>>>>>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva <mal...@wso2.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Hariprasath, >>>>>>>>>> >>>>>>>>>> Seems like a issue is mentioned in [1]. Ideally this should be >>>>>>>>>> fixed in ESB alpha release. Please check. >>>>>>>>>> >>>>>>>>>> If not apply the fix and see if that works. If works add a jira >>>>>>>>>> for esb 5. >>>>>>>>>> >>>>>>>>>> [1] https://wso2.org/jira/browse/ESBJAVA-4388 >>>>>>>>>> >>>>>>>>>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah < >>>>>>>>>> haripras...@wso2.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi All, >>>>>>>>>>> >>>>>>>>>>> I am working on to create integration test for salesforce >>>>>>>>>>> connector. When I create the testcase for a particular >>>>>>>>>>> method(getUserInfo) >>>>>>>>>>> I got the response via the ESB call but after that I get the >>>>>>>>>>> following >>>>>>>>>>> error in [1]. >>>>>>>>>>> >>>>>>>>>>> I have added the proxy[2] and soap request[3] as well. >>>>>>>>>>> >>>>>>>>>>> Can anyone suggest me what could be the reason for this follwing >>>>>>>>>>> error. >>>>>>>>>>> >>>>>>>>>>> [1] >>>>>>>>>>> FAILED: testGetUserInfoWithMandatoryParameters >>>>>>>>>>> Salesforce {getUserInfo} integration test with mandatory >>>>>>>>>>> parameters. >>>>>>>>>>> java.lang.NullPointerException >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) >>>>>>>>>>> at >>>>>>>>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) >>>>>>>>>>> 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.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616) >>>>>>>>>>> at >>>>>>>>>>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60) >>>>>>>>>>> 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >>>>>>>>>>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) >>>>>>>>>>> at >>>>>>>>>>> org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) >>>>>>>>>>> at >>>>>>>>>>> org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) >>>>>>>>>>> at >>>>>>>>>>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) >>>>>>>>>>> at >>>>>>>>>>> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) >>>>>>>>>>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178) >>>>>>>>>>> at org.testng.TestRunner.privateRun(TestRunner.java:757) >>>>>>>>>>> at org.testng.TestRunner.run(TestRunner.java:608) >>>>>>>>>>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) >>>>>>>>>>> at >>>>>>>>>>> org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) >>>>>>>>>>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) >>>>>>>>>>> at org.testng.SuiteRunner.run(SuiteRunner.java:240) >>>>>>>>>>> at >>>>>>>>>>> org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >>>>>>>>>>> at >>>>>>>>>>> org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >>>>>>>>>>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >>>>>>>>>>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >>>>>>>>>>> at org.testng.TestNG.run(TestNG.java:999) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) >>>>>>>>>>> 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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) >>>>>>>>>>> at >>>>>>>>>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) >>>>>>>>>>> >>>>>>>>>>> [2] >>>>>>>>>>> <proxy xmlns="http://ws.apache.org/ns/synapse" >>>>>>>>>>> name="salesforce" >>>>>>>>>>> transports="https http" >>>>>>>>>>> startOnLoad="true" >>>>>>>>>>> trace="disable"> >>>>>>>>>>> <description/> >>>>>>>>>>> <target> >>>>>>>>>>> <inSequence> >>>>>>>>>>> <property xmlns:ns="wso2.connector.salesforce" >>>>>>>>>>> name="loginUrl" >>>>>>>>>>> expression="//ns:loginUrl/text()"/> >>>>>>>>>>> <property xmlns:ns="wso2.connector.salesforce" >>>>>>>>>>> name="username" >>>>>>>>>>> expression="//ns:username/text()"/> >>>>>>>>>>> <property xmlns:ns="wso2.connector.salesforce" >>>>>>>>>>> name="password" >>>>>>>>>>> expression="//ns:password/text()"/> >>>>>>>>>>> <property xmlns:ns="wso2.connector.salesforce" >>>>>>>>>>> name="method" >>>>>>>>>>> expression="//ns:method/text()"/> >>>>>>>>>>> <salesforce.init> >>>>>>>>>>> <loginUrl>{$ctx:loginUrl}</loginUrl> >>>>>>>>>>> <username>{$ctx:username}</username> >>>>>>>>>>> <password>{$ctx:password}</password> >>>>>>>>>>> <!--<blocking>{$ctx:blocking}</blocking>--> >>>>>>>>>>> </salesforce.init> >>>>>>>>>>> <switch source="get-property('method')"> >>>>>>>>>>> <case regex="getUserInfo"> >>>>>>>>>>> <salesforce.getUserInfo/> >>>>>>>>>>> </case> >>>>>>>>>>> </switch> >>>>>>>>>>> <respond/> >>>>>>>>>>> </inSequence> >>>>>>>>>>> <outSequence> >>>>>>>>>>> <send/> >>>>>>>>>>> </outSequence> >>>>>>>>>>> </target> >>>>>>>>>>> </proxy> >>>>>>>>>>> >>>>>>>>>>> [3] >>>>>>>>>>> <soapenv:Envelope xmlns:soapenv=" >>>>>>>>>>> http://schemas.xmlsoap.org/soap/envelope/" >>>>>>>>>>> xmlns:urn="wso2.connector.salesforce"> >>>>>>>>>>> <soapenv:Header/> >>>>>>>>>>> <soapenv:Body> >>>>>>>>>>> <urn:loginUrl>%s(loginUrl)</urn:loginUrl> >>>>>>>>>>> <urn:username>%s(username)</urn:username> >>>>>>>>>>> <urn:password>%s(password)</urn:password> >>>>>>>>>>> <!--<urn:blocking>%s(blocking)</urn:blocking>--> >>>>>>>>>>> <urn:method>getUserInfo</urn:method> >>>>>>>>>>> </soapenv:Body> >>>>>>>>>>> </soapenv:Envelope> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *Thank you and Regards**Hariprasath Thanarajah* >>>>>>>>>>> Associate Software Engineer | WSO2 >>>>>>>>>>> E: haripras...@wso2.com >>>>>>>>>>> M: +94752806528, 0777216903 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Best Regards, >>>>>>>>>> >>>>>>>>>> Malaka Silva >>>>>>>>>> Senior Tech Lead >>>>>>>>>> M: +94 777 219 791 >>>>>>>>>> Tel : 94 11 214 5345 >>>>>>>>>> Fax :94 11 2145300 >>>>>>>>>> Skype : malaka.sampath.silva >>>>>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>>>>>>>>> Blog : http://mrmalakasilva.blogspot.com/ >>>>>>>>>> >>>>>>>>>> WSO2, Inc. >>>>>>>>>> lean . enterprise . middleware >>>>>>>>>> http://www.wso2.com/ >>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/ >>>>>>>>>> <http://wso2.com/about/team/malaka-silva/> >>>>>>>>>> https://store.wso2.com/store/ >>>>>>>>>> >>>>>>>>>> Save a tree -Conserve nature & Save the world for your future. >>>>>>>>>> Print this email only if it is absolutely necessary. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> >>>>>>>>> *Thank you and Regards**Hariprasath Thanarajah* >>>>>>>>> Associate Software Engineer | WSO2 >>>>>>>>> E: haripras...@wso2.com >>>>>>>>> M: +94752806528, 0777216903 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> >>>>>>>> *Thank you and Regards**Hariprasath Thanarajah* >>>>>>>> Associate Software Engineer | WSO2 >>>>>>>> E: haripras...@wso2.com >>>>>>>> M: +94752806528, 0777216903 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Best Regards, >>>>>>> >>>>>>> Malaka Silva >>>>>>> Senior Tech Lead >>>>>>> M: +94 777 219 791 >>>>>>> Tel : 94 11 214 5345 >>>>>>> Fax :94 11 2145300 >>>>>>> Skype : malaka.sampath.silva >>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>>>>>> Blog : http://mrmalakasilva.blogspot.com/ >>>>>>> >>>>>>> WSO2, Inc. >>>>>>> lean . enterprise . middleware >>>>>>> http://www.wso2.com/ >>>>>>> http://www.wso2.com/about/team/malaka-silva/ >>>>>>> <http://wso2.com/about/team/malaka-silva/> >>>>>>> https://store.wso2.com/store/ >>>>>>> >>>>>>> Save a tree -Conserve nature & Save the world for your future. Print >>>>>>> this email only if it is absolutely necessary. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thusitha Dayaratne >>>>>> Software Engineer >>>>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>>>> >>>>>> Mobile +94712756809 >>>>>> Blog alokayasoya.blogspot.com >>>>>> About http://about.me/thusithathilina >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Best Regards, >>>>> >>>>> Malaka Silva >>>>> Senior Tech Lead >>>>> M: +94 777 219 791 >>>>> Tel : 94 11 214 5345 >>>>> Fax :94 11 2145300 >>>>> Skype : malaka.sampath.silva >>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>>>> Blog : http://mrmalakasilva.blogspot.com/ >>>>> >>>>> WSO2, Inc. >>>>> lean . enterprise . middleware >>>>> http://www.wso2.com/ >>>>> http://www.wso2.com/about/team/malaka-silva/ >>>>> <http://wso2.com/about/team/malaka-silva/> >>>>> https://store.wso2.com/store/ >>>>> >>>>> Save a tree -Conserve nature & Save the world for your future. Print >>>>> this email only if it is absolutely necessary. >>>>> >>>> >>>> >>>> -- >>>> >>>> >>>> *Thank you and Regards**Hariprasath Thanarajah* >>>> Associate Software Engineer | WSO2 >>>> E: haripras...@wso2.com >>>> M: +94752806528, 0777216903 >>>> >>>> >>>> >>> >>> >>> -- >>> >>> Best Regards, >>> >>> Malaka Silva >>> Senior Tech Lead >>> M: +94 777 219 791 >>> Tel : 94 11 214 5345 >>> Fax :94 11 2145300 >>> Skype : malaka.sampath.silva >>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>> Blog : http://mrmalakasilva.blogspot.com/ >>> >>> WSO2, Inc. >>> lean . enterprise . middleware >>> http://www.wso2.com/ >>> http://www.wso2.com/about/team/malaka-silva/ >>> <http://wso2.com/about/team/malaka-silva/> >>> https://store.wso2.com/store/ >>> >>> Save a tree -Conserve nature & Save the world for your future. Print >>> this email only if it is absolutely necessary. >>> >> >> >> -- >> >> >> *Thank you and Regards**Hariprasath Thanarajah* >> Associate Software Engineer | WSO2 >> E: haripras...@wso2.com >> M: +94752806528, 0777216903 >> >> >> > > > -- > > > *Thank you and Regards**Hariprasath Thanarajah* > Associate Software Engineer | WSO2 > E: haripras...@wso2.com > M: +94752806528, 0777216903 > > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> https://store.wso2.com/store/ Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev