Hi,

I tried to run the single test class AutoAcknowledegementsTestCase using
the intellij. It gave the following error







































*ERROR
[org.wso2.carbon.automation.engine.configurations.AutomationConfiguration]
- Error While reading
configurations[Ljava.lang.StackTraceElement;@24177336java.lang.ExceptionInInitializerError
at
org.wso2.carbon.automation.engine.context.AutomationContext.assignParameters(AutomationContext.java:166)
at
org.wso2.carbon.automation.engine.context.AutomationContext.<init>(AutomationContext.java:129)
at
org.wso2.mb.integration.common.utils.backend.MBIntegrationBaseTest.init(MBIntegrationBaseTest.java:53)
at
org.wso2.mb.integration.tests.amqp.functional.AutoAcknowledgementsTestCase.prepare(AutoAcknowledgementsTestCase.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)    at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)    at
org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)    at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:767)    at
org.testng.TestRunner.run(TestRunner.java:617)    at
org.testng.SuiteRunner.runTest(SuiteRunner.java:334)    at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)    at
org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)    at
org.testng.SuiteRunner.run(SuiteRunner.java:240)    at
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)    at
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)    at
org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)    at
org.testng.TestNG.runSuitesLocally(TestNG.java:1149)    at
org.testng.TestNG.run(TestNG.java:1057)    at
org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)    at
org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)    at
org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)    at
org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:125)    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)    at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)Caused
by: java.lang.IllegalArgumentException: Error While reading
configurations[Ljava.lang.StackTraceElement;@2eedd06a    at
org.wso2.carbon.automation.engine.configurations.AutomationConfiguration.<clinit>(AutomationConfiguration.java:26)
... 34 more*

But I was able to run this test case when building the product-mb. What may
be the possible reason for this?


Thanks
-- 
Megala Uthayakumar
*Software Engineering Intern *| *WSO2 Lanka*
Mobile : +94 779 967 122
Tel      : +94 112 733 667
E-mail :  [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to