Thanks Ajith, Now all test pass in registry core. As well as Carbon kernel build with all test without any failures in 4.2.0 branch.
Thanks, Shameera. On Sat, Aug 17, 2013 at 3:28 PM, Sagara Gunathunga <[email protected]> wrote: > > > > On Sat, Aug 17, 2013 at 2:46 PM, Ajith Vitharana <[email protected]> wrote: > >> Hi Sagara, >> >> r181732. Fixed. >> > > Thanks Ajaith, now I can pass above point. > > Thanks ! > >> >> Thanks >> Ajith >> >> >> On Sat, Aug 17, 2013 at 12:12 PM, Sagara Gunathunga <[email protected]>wrote: >> >>> >>> Building 4.2.0 branch and getting number of test failures on >>> org.wso2.carbon.registry.core tests any idea ? >>> >>> >>> Caused by: java.lang.NullPointerException >>> at java.util.Hashtable.put(Hashtable.java:394) >>> at java.util.Properties.setProperty(Properties.java:143) >>> at java.lang.System.setProperty(System.java:729) >>> at >>> org.wso2.carbon.utils.CarbonUtils.getCarbonHome(CarbonUtils.java:207) >>> at >>> org.wso2.carbon.utils.CarbonUtils.getCarbonConfigDirPath(CarbonUtils.java:251) >>> at >>> org.wso2.carbon.utils.CarbonUtils.getServerXml(CarbonUtils.java:198) >>> at >>> org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:565) >>> at >>> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContextFactoryBuilder.<clinit>(CarbonContextDataHolder.java:676) >>> ... 29 more >>> testCollectionCopy(org.wso2.carbon.registry.core.test.jdbc.CopyTest) >>> Time elapsed: 0.001 sec <<< ERROR! >>> java.lang.NoClassDefFoundError: Could not initialize class >>> org.wso2.carbon.context.internal.CarbonContextDataHolder >>> at >>> org.wso2.carbon.context.CarbonContext.<init>(CarbonContext.java:66) >>> at >>> org.wso2.carbon.context.CarbonContext.getCurrentContext(CarbonContext.java:89) >>> at >>> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setupCarbonHome(BaseTestCase.java:64) >>> at >>> org.wso2.carbon.registry.core.test.utils.BaseTestCase.setUp(BaseTestCase.java:36) >>> at >>> org.wso2.carbon.registry.core.test.jdbc.CopyTest.setUp(CopyTest.java:33) >>> at junit.framework.TestCase.runBare(TestCase.java:128) >>> >>> Thanks ! >>> >>> -- >>> Sagara Gunathunga >>> >>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>> V.P Apache Web Services; http://ws.apache.org/ >>> Linkedin; http://www.linkedin.com/in/ssagara >>> Blog ; http://ssagara.blogspot.com >>> >>> >> >> >> -- >> Ajith Vitharana. >> WSO2 Inc. - http://wso2.org >> Email : [email protected] >> Mobile : +94772217350 >> >> > > > -- > Sagara Gunathunga > > Senior Technical Lead; WSO2, Inc.; http://wso2.com > V.P Apache Web Services; http://ws.apache.org/ > Linkedin; http://www.linkedin.com/in/ssagara > Blog ; http://ssagara.blogspot.com > > -- *Software Engineer - WSO2 Inc.* *email: shameera AT wso2.com <[email protected]> , shameera AT apache.org<[email protected]> * *phone: +9471 922 1454* * * *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 *Twitter : *https://twitter.com/Shameera_R
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
