I have temporarily commented it out. Need to move this in to AS integration
tests.




On Fri, Aug 2, 2013 at 11:37 PM, Kasun Gajasinghe <[email protected]> wrote:

>
> I'll look in to this.
>
> Thanks,
> KasunG
>
>
> On Fri, Aug 2, 2013 at 10:20 PM, Ajith Vitharana <[email protected]> wrote:
>
>> Test set: org.wso2.carbon.module.mgt.service.TestModuleAdminService
>>
>> -------------------------------------------------------------------------------
>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 8.951 sec
>> <<< FAILURE!
>> testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService)
>>  Time elapsed: 8.907 sec  <<< ERROR!
>> org.apache.axis2.AxisFault: Configuration Registry is not available
>>         at
>> org.wso2.carbon.core.persistence.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:125)
>>         at
>> org.wso2.carbon.core.persistence.ModulePersistenceManager.<init>(ModulePersistenceManager.java:90)
>>         at
>> org.wso2.carbon.module.mgt.service.TestModuleAdminService.setUp(TestModuleAdminService.java:101)
>>         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:95)
>>         at
>> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
>>         at
>> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
>>         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.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:103)
>>         at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>> testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService)
>>  Time elapsed: 0.001 sec  <<< ERROR!
>> org.wso2.carbon.module.mgt.ModuleMgtException
>>         at
>> org.wso2.carbon.module.mgt.service.ModuleAdminService.listModulesForServiceGroup(ModuleAdminService.java:214)
>>         at
>> org.wso2.carbon.module.mgt.service.TestModuleAdminService.testAxisMethodStuff(TestModuleAdminService.java:145)
>> testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService)
>>  Time elapsed: 0 sec  <<< ERROR!
>> java.lang.NullPointerException
>>         at
>> org.wso2.carbon.module.mgt.service.TestModuleAdminService.testEngageModules(TestModuleAdminService.java:173)
>> testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService)
>>  Time elapsed: 0.012 sec  <<< ERROR!
>> org.wso2.carbon.module.mgt.ModuleMgtException
>>
>>                                                                    1,1
>>       Top
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  [email protected]
>> Mobile : +94772217350
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com
>
>
>  ,
> *email: **kasung AT spamfree wso2.com
>
>
> ** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
>
> *
> *
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
>
> *
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
>
> *
> *
>



-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe


*
*
*blog: **http://kasunbg.org* <http://kasunbg.org>


*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>


*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to