Hi all, After offline chat had with dharshanaw this issue got fixed by setting executionEnvironment to platform in automation.xml
Thank you On Sun, May 17, 2015 at 3:37 PM, Shashika Karunatilaka <[email protected]> wrote: > Im in the process of creating platform test case.I need to get some > registry data in GREG product for my test case. My test case runs inside > the Application server. > When i add 2 product groups in automation.xml it throws an exception [1], > according to schema its possible to add multiple product groups, what > should be the issue, i have attached my automation.xml as well. > > > [1] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on > project org.wso2.appserver.platform.tests: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: There was > an error in the forked process > > [ERROR] java.lang.ExceptionInInitializerError > > [ERROR] at > org.wso2.carbon.automation.engine.context.AutomationContext.<init>(AutomationContext.java:141) > > [ERROR] at > org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:41) > > [ERROR] at org.testng.TestNG.runExecutionListeners(TestNG.java:1032) > > [ERROR] at org.testng.TestNG.run(TestNG.java:983) > > [ERROR] at > org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295) > > [ERROR] at > org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84) > > [ERROR] at > org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90) > > [ERROR] at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) > > [ERROR] at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) > > [ERROR] at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > > [ERROR] Caused by: java.lang.IllegalArgumentException: Error While reading > configurations[Ljava.lang.StackTraceElement;@2d7aece8 > > [ERROR] at > org.wso2.carbon.automation.engine.configurations.AutomationConfiguration.<clinit>(AutomationConfiguration.java:26) > > [ERROR] ... 10 more > > -- > Shashika Prabath Karunatilaka, > Software Engineer, > WSO2, Inc: http://wso2.com/ > mobile : +94 77 7487792 > -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
