## Siddhi-execution-map-tests

Tests passed/Failed/Skipped: | 39/0/0
Started on: | Tue Jan 08 08:29:59 UTC 2019
Total time: | 1 seconds (1162 ms)
Included groups: |
Excluded groups: |

(Hover the method name to see the test class name)

PASSED TESTS
Test method | Exception | Time (seconds) | Instance
testCreateFromJSONFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2eadc9f6
testCreateFromJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2eadc9f6
testCreateFromJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4c9a9aee-1604-4db4-8d37-49ee8dd09ebe' @ Line: 2. Position: 225, near 'map:createFromJSON("{'symbol':'IBM','price':100,'volume':100 }" , "{'symbol':'IBM','price':100,'volume':100 }")'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase.testCreateFromJSONFunctionExtension3(CreateFromJSONFunctionExtensionTestCase.java:150)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:create() function, required only 1, but found 2
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtension.init(CreateFromJSONFunctionExtension.java:74)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4c9a9aee-1604-4db4-8d37-49ee8dd09ebe' @ Line: 2. Position: 225, near 'map:createFromJSON("{'symbol':'IBM','price':100,'volume':100 }" , "{'symbol':'IBM','price':100,'volume':100 }")'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase.testCreateFromJSONFunctionExtension3(CreateFromJSONFunctionExtensionTestCase.java:150)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:create() function, required only 1, but found 2
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtension.init(CreateFromJSONFunctionExtension.java:74)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2eadc9f6
testCreateFromJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2eadc9f6
testCreateFromJSONFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2eadc9f6
testCreateFromXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@35764bef
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@35764bef
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9e1265b4-cc9b-4385-a62d-1d4cefc1219e' @ Line: 2. Position: 544, near 'map:createFromXML(str:concat('<sensor><commonAttr1>',longAttr,'</commonAttr1><commonAttr2>',doubleAttr,'</commonAttr2><commonAttr3>',booleanAttr,'</commonAttr3><commonAttr4>',strAttr,'</commonAttr4></sensor>'),str:concat('<sensor><commonAttr1>',longAttr,'</commonAttr1><commonAttr2>',doubleAttr,'</commonAttr2><commonAttr3>',booleanAttr,'</commonAttr3><commonAttr4>',strAttr,'</commonAttr4></sensor>'))'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFromXMLFunctionExtensionTestCase.java:178)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:createFromXML() function, required only 1, but found 2
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtension.init(CreateFromXMLFunctionExtension.java:78)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9e1265b4-cc9b-4385-a62d-1d4cefc1219e' @ Line: 2. Position: 544, near 'map:createFromXML(str:concat('<sensor><commonAttr1>',longAttr,'</commonAttr1><commonAttr2>',doubleAttr,'</commonAttr2><commonAttr3>',booleanAttr,'</commonAttr3><commonAttr4>',strAttr,'</commonAttr4></sensor>'),str:concat('<sensor><commonAttr1>',longAttr,'</commonAttr1><commonAttr2>',doubleAttr,'</commonAttr2><commonAttr3>',booleanAttr,'</commonAttr3><commonAttr4>',strAttr,'</commonAttr4></sensor>'))'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFromXMLFunctionExtensionTestCase.java:178)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:createFromXML() function, required only 1, but found 2
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtension.init(CreateFromXMLFunctionExtension.java:78)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@35764bef
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2578a85a-3bb8-4e24-b780-9114f8a1cac5' @ Line: 2. Position: 159, near 'map:create(symbol,price,volume)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFunctionExtensionTestCase.java:202)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:create() function, required 0 or multiple of 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.CreateFunctionExtension.init(CreateFunctionExtension.java:78)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2578a85a-3bb8-4e24-b780-9114f8a1cac5' @ Line: 2. Position: 159, near 'map:create(symbol,price,volume)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFunctionExtensionTestCase.java:202)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:create() function, required 0 or multiple of 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.CreateFunctionExtension.init(CreateFunctionExtension.java:78)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@6ba30587
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@35764bef
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@35764bef
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testCreateFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@6ba30587
testCreateFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@6ba30587
testCreateFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@6ba30587
testGetFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@216914
testGetFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@216914
testGetFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '101101b4-07a1-4711-95cd-0427a8b6edba' @ Line: 2. Position: 383, near 'map:get(map1,symbol,price)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase.testGetFunctionExtension3(GetFunctionExtensionTestCase.java:172)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:get() function, required 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtension.init(GetFunctionExtension.java:76)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '101101b4-07a1-4711-95cd-0427a8b6edba' @ Line: 2. Position: 383, near 'map:get(map1,symbol,price)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase.testGetFunctionExtension3(GetFunctionExtensionTestCase.java:172)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:get() function, required 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtension.init(GetFunctionExtension.java:76)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@216914
testGetFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@216914
testIsMapFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@2903c6ff
testIsMapFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '07e61a68-2dc5-4bcc-9d3d-db7ad0ec3c39' @ Line: 2. Position: 398, near 'map:isMap(symbol,price)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase.testIsMapFunctionExtension1(IsMapFunctionExtensionTestCase.java:119)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:isMap() function, required only one, but found 2
    	at org.wso2.extension.siddhi.execution.map.IsMapFunctionExtension.init(IsMapFunctionExtension.java:67)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '07e61a68-2dc5-4bcc-9d3d-db7ad0ec3c39' @ Line: 2. Position: 398, near 'map:isMap(symbol,price)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase.testIsMapFunctionExtension1(IsMapFunctionExtensionTestCase.java:119)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:isMap() function, required only one, but found 2
    	at org.wso2.extension.siddhi.execution.map.IsMapFunctionExtension.init(IsMapFunctionExtension.java:67)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@2903c6ff
testPutAllFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase@61af1510
testPutAllFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a640c782-c579-4e43-b8da-d2bae3abf428' @ Line: 2. Position: 253, near 'map:putAll(map1, map2, map3)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase.testPutAllFunctionExtension1(PutAllFunctionExtensionTestCase.java:135)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:putAll() function, required 2 parameters, but found 3
    	at org.wso2.extension.siddhi.execution.map.PutAllFunctionExtension.init(PutAllFunctionExtension.java:71)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a640c782-c579-4e43-b8da-d2bae3abf428' @ Line: 2. Position: 253, near 'map:putAll(map1, map2, map3)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase.testPutAllFunctionExtension1(PutAllFunctionExtensionTestCase.java:135)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:putAll() function, required 2 parameters, but found 3
    	at org.wso2.extension.siddhi.execution.map.PutAllFunctionExtension.init(PutAllFunctionExtension.java:71)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase@61af1510
testPutAllFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutAllFunctionExtensionTestCase@61af1510
testPutFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@23382f76
testPutFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '76b0b8b9-71a6-4134-920b-bbf481f92170' @ Line: 2. Position: 262, near 'map:put(tmpMap,symbol)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase.testPutFunctionExtension1(PutFunctionExtensionTestCase.java:166)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:put() function, required 3 parameters, but found 2
    	at org.wso2.extension.siddhi.execution.map.PutFunctionExtension.init(PutFunctionExtension.java:77)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '76b0b8b9-71a6-4134-920b-bbf481f92170' @ Line: 2. Position: 262, near 'map:put(tmpMap,symbol)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase.testPutFunctionExtension1(PutFunctionExtensionTestCase.java:166)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:put() function, required 3 parameters, but found 2
    	at org.wso2.extension.siddhi.execution.map.PutFunctionExtension.init(PutFunctionExtension.java:77)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@23382f76
testPutFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@23382f76
testRemoveFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@5633dafd
testRemoveFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '361c2ce7-afde-4dc3-ae37-03b4deb5452a' @ Line: 2. Position: 373, near 'map:remove(map1)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase.testRemoveFunctionExtension1(RemoveFunctionExtensionTestCase.java:116)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:remove() function, required one or more keys, but found 1
    	at org.wso2.extension.siddhi.execution.map.RemoveFunctionExtension.init(RemoveFunctionExtension.java:74)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '361c2ce7-afde-4dc3-ae37-03b4deb5452a' @ Line: 2. Position: 373, near 'map:remove(map1)'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase.testRemoveFunctionExtension1(RemoveFunctionExtensionTestCase.java:116)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:remove() function, required one or more keys, but found 1
    	at org.wso2.extension.siddhi.execution.map.RemoveFunctionExtension.init(RemoveFunctionExtension.java:74)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@5633dafd
testToJSONFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@37af1f93
testToJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@37af1f93
testToJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3f61e639-cbc7-4095-a019-759f3701c181' @ Line: 2. Position: 290, near 'map:toJSON()'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase.testToJSONFunctionExtension3(ToJSONFunctionExtensionTestCase.java:189)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:toJSON() function, required only 1, but found 0
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtension.init(ToJSONFunctionExtension.java:73)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3f61e639-cbc7-4095-a019-759f3701c181' @ Line: 2. Position: 290, near 'map:toJSON()'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase.testToJSONFunctionExtension3(ToJSONFunctionExtensionTestCase.java:189)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:toJSON() function, required only 1, but found 0
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtension.init(ToJSONFunctionExtension.java:73)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@37af1f93
testToJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@37af1f93
testToXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testToXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testToXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7a8cb89d-b630-4db5-a590-137f74265ba2' @ Line: 2. Position: 469, near 'map:toXML(hashMap, 'wso2' ,'ibm')'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase.testToXMLFunctionExtension5(ToXMLFunctionExtensionTestCase.java:371)
    	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:toXML() function, required only 1 or 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtension.init(ToXMLFunctionExtension.java:79)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
    ... Removed 21 stack frames
Click to show all stack frames
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7a8cb89d-b630-4db5-a590-137f74265ba2' @ Line: 2. Position: 469, near 'map:toXML(hashMap, 'wso2' ,'ibm')'.
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
    	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase.testToXMLFunctionExtension5(ToXMLFunctionExtensionTestCase.java:371)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    	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: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:281)
    	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to map:toXML() function, required only 1 or 2, but found 3
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtension.init(ToXMLFunctionExtension.java:79)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9
testToXMLFunctionExtension6 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@778d82e9