## Siddhi-execution-map-tests

Tests passed/Failed/Skipped: | 36/0/0
Started on: | Thu Aug 09 15:14:31 UTC 2018
Total time: | 0 seconds (984 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@3531f3ca
testCreateFromJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@3531f3ca
testCreateFromJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '76001388-c49d-4211-b14c-a68f71e5f020' @ 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:186)
    	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:243)
    	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:75)
    	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 '76001388-c49d-4211-b14c-a68f71e5f020' @ 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:186)
    	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:243)
    	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:75)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@3531f3ca
testCreateFromJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@3531f3ca
testCreateFromJSONFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@3531f3ca
testCreateFromXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@7bebcd65
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@7bebcd65
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cc2e4a5d-7f8a-40b0-87b5-28173ef8f274' @ 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:186)
    	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:243)
    	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: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 'cc2e4a5d-7f8a-40b0-87b5-28173ef8f274' @ 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:186)
    	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:243)
    	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:77)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@7bebcd65
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '778bf4ea-700d-40cd-a4a5-4945bef44954' @ 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:186)
    	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:243)
    	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 '778bf4ea-700d-40cd-a4a5-4945bef44954' @ 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:186)
    	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:243)
    	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@5e671e20
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@7bebcd65
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@7bebcd65
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testCreateFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@5e671e20
testCreateFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@5e671e20
testCreateFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@5e671e20
testGetFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@65f2f9b0
testGetFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@65f2f9b0
testGetFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '24e5fde2-a275-4725-b89d-a6ca6acd9799' @ 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:186)
    	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:243)
    	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: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 '24e5fde2-a275-4725-b89d-a6ca6acd9799' @ 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:186)
    	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:243)
    	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:73)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@65f2f9b0
testGetFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@65f2f9b0
testIsMapFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@7fcf294e
testIsMapFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '349d50f6-cbc3-47d1-a004-c3f2ac2b0f5d' @ 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:186)
    	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:243)
    	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:66)
    	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 '349d50f6-cbc3-47d1-a004-c3f2ac2b0f5d' @ 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:186)
    	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:243)
    	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:66)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@7fcf294e
testPutFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@59e43e8c
testPutFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '48807b73-b683-4a22-a90e-499479193431' @ 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:186)
    	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:243)
    	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: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 '48807b73-b683-4a22-a90e-499479193431' @ 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:186)
    	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:243)
    	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:76)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@59e43e8c
testPutFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@59e43e8c
testRemoveFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@2caa5d7c
testRemoveFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c92d0a01-4c98-49b6-91b1-3652cf13fa1f' @ 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:186)
    	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:243)
    	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:72)
    	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 'c92d0a01-4c98-49b6-91b1-3652cf13fa1f' @ 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:186)
    	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:243)
    	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:72)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@2caa5d7c
testToJSONFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@1aa6e3c0
testToJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@1aa6e3c0
testToJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0bd21484-5b5a-48e9-8a12-4e92cd934e7a' @ 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:186)
    	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:243)
    	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:72)
    	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 '0bd21484-5b5a-48e9-8a12-4e92cd934e7a' @ 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:186)
    	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:243)
    	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:72)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@1aa6e3c0
testToJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@1aa6e3c0
testToXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testToXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testToXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '782f5b3e-71bf-4c02-bc6d-f952c2853deb' @ 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:186)
    	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:243)
    	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:80)
    	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 '782f5b3e-71bf-4c02-bc6d-f952c2853deb' @ 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:186)
    	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:243)
    	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:80)
    	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
    	... 35 more
| 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f
testToXMLFunctionExtension6 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@4867ab9f