Hi Kasun,

I didn't get the same error even after building whole trunk.

BTW, are you building with clean repo ?

Thanks,
Krishantha.

On Sat, Aug 3, 2013 at 9:52 PM, Krishantha Samaraweera
<[email protected]>wrote:

> Will looking to this.
>
> Thanks,
> Krishantha.
>
>
> On Sat, Aug 3, 2013 at 4:24 PM, Kasun Gajasinghe <[email protected]> wrote:
>
>>
>> Just noticed an API incompatibility in automation framework and
>> user-manager while building AS intg tests. Probably because of API
>> changes in user-manger.
>>
>> *Caused by: java.lang.NoSuchMethodError:
>> org.wso2.carbon.user.mgt.stub.UserAdminStub.addRole(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
>> *
>> *
>> *
>> *
>> *
>>
>> java.lang.reflect.InvocationTargetException
>>  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)
>> *Caused by: java.lang.NoSuchMethodError:
>> org.wso2.carbon.user.mgt.stub.UserAdminStub.addRole(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
>> *
>>  
>> atorg.wso2.carbon.automation.api.clients.user.mgt.UserManagementClient.addRole(UserManagementClient.java:57)
>> at org.wso2.carbon.automation.core.UserPopulator.
>> createRoleWithAllPermissions(UserPopulator.java:221)
>>  at
>> org.wso2.carbon.automation.core.UserPopulator.createProductUsers(UserPopulator.java:105)
>> at org.wso2.carbon.automation.core.UserPopulator.populateUsers(
>> UserPopulator.java:97)
>>  at org.wso2.carbon.automation.core.PlatformSuiteManager.onStart(
>> PlatformSuiteManager.java:115)
>>  at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:197)
>>  at org.testng.SuiteRunner.run(SuiteRunner.java:238)
>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>>  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
>>  at org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
>> at org.testng.TestNG.run(TestNG.java:1031)
>> at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
>>  at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
>>  ... 9 more
>>
>>
>> --
>> *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