Hello,

I get this exception when trying to run tests in IOT server.

But all test cases are running without any problem.

Feb 02, 2016 10:44:42 AM
org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
<init>
WARNING: Failed to initializing the Extension Class
Feb 02, 2016 10:44:42 AM
org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
<init>
SEVERE: Error initializing the Automation Context
java.lang.NullPointerException
at
org.wso2.carbon.automation.engine.extensions.ListenerExtension.setParameterMap(ListenerExtension.java:51)
at
org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension.<init>(ExecutionListenerExtension.java:31)
at
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension.<init>(CarbonServerExtension.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at
org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.initiate(TestNGExtensionExecutor.java:97)
at
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:46)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
at org.testng.TestNG.run(TestNG.java:1015)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)


I debugged the test platform and the parameter map gets null.

What could be the reason for this?


Thanks and regards
Menaka Madusanka

-- 
Menaka Madushanka Jayawardena
Software Engineering Intern
[email protected]
Mobile:- +94 71 8851183/ +94 71 3505470
LinkedIn - Menaka Jayawardena <https://lk.linkedin.com/in/menakajayawardena>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to