Hi,

Please ack and fix this ASAP.

sure-fire plugin reports attached.

Thanks,
AmilaM.
-------------------------------------------------------------------------------
Test set: org.wso2.carbon.service.mgt.TestServiceAdmin
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.628 sec <<< 
FAILURE!
testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin)  Time elapsed: 1.498 
sec  <<< ERROR!
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't initialize 
EmbeddedRegistryService. Failed to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:635)
        at 
org.wso2.carbon.service.mgt.TestServiceAdmin.setUp(TestServiceAdmin.java:79)
        at junit.framework.TestCase.runBare(TestCase.java:128)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.<init>(EmbeddedRegistryService.java:98)
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:631)
        ... 22 more
Caused by: java.lang.NullPointerException
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
        at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
        ... 31 more
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.<init>(EmbeddedRegistryService.java:98)
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:631)
        ... 22 more
Caused by: java.lang.NullPointerException
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
        at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
        ... 31 more

-------------------------------------------------------------------------------
Test set: org.wso2.carbon.service.mgt.TestServiceGroupAdmin
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.07 sec <<< 
FAILURE!
testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin)  Time elapsed: 
0.062 sec  <<< ERROR!
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't initialize 
EmbeddedRegistryService. Failed to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:635)
        at 
org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:54)
        at junit.framework.TestCase.runBare(TestCase.java:128)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.<init>(EmbeddedRegistryService.java:98)
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:631)
        ... 22 more
Caused by: java.lang.NullPointerException
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
        at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
        ... 31 more
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
        at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.<init>(EmbeddedRegistryService.java:98)
        at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:631)
        ... 22 more
Caused by: java.lang.NullPointerException
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
        at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
        at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
        ... 31 more

_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to