## Siddhi-execution-map-tests

Tests passed/Failed/Skipped: | 36/0/0
Started on: | Wed Nov 01 15:08:24 UTC 2017
Total time: | 1 seconds (1103 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@2a066689
testCreateFromJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2a066689
testCreateFromJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0b9ad7c2-73d6-4932-974e-ae4963f3868d' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase.testCreateFromJSONFunctionExtension3(CreateFromJSONFunctionExtensionTestCase.java:148)
    	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 '0b9ad7c2-73d6-4932-974e-ae4963f3868d' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase.testCreateFromJSONFunctionExtension3(CreateFromJSONFunctionExtensionTestCase.java:148)
    	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@2a066689
testCreateFromJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2a066689
testCreateFromJSONFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromJSONFunctionExtensionTestCase@2a066689
testCreateFromXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@144ab54
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@144ab54
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4df03f3f-58e9-419f-ae18-d87c78f0ad9e' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFromXMLFunctionExtensionTestCase.java:176)
    	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 '4df03f3f-58e9-419f-ae18-d87c78f0ad9e' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase.testCreateFromXMLFunctionExtension3(CreateFromXMLFunctionExtensionTestCase.java:176)
    	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@144ab54
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd21b1fd4-b754-428b-832c-45d18d9769a1' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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 'd21b1fd4-b754-428b-832c-45d18d9769a1' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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@11b455e5
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@144ab54
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@144ab54
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872
testCreateFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@11b455e5
testCreateFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@11b455e5
testCreateFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@11b455e5
testGetFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6b2e0f78
testGetFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6b2e0f78
testGetFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '06a473ce-5b5a-401a-be63-ec6f0649c074' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase.testGetFunctionExtension3(GetFunctionExtensionTestCase.java:170)
    	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 '06a473ce-5b5a-401a-be63-ec6f0649c074' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase.testGetFunctionExtension3(GetFunctionExtensionTestCase.java:170)
    	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@6b2e0f78
testGetFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6b2e0f78
testIsMapFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@1a87b51
testIsMapFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b316828f-70db-45cb-8dd7-0860e7ef1060' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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 'b316828f-70db-45cb-8dd7-0860e7ef1060' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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@1a87b51
testPutFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@6c518474
testPutFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '611d3a16-3085-44a2-aaca-c97952c2b93c' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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 '611d3a16-3085-44a2-aaca-c97952c2b93c' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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@6c518474
testPutFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@6c518474
testRemoveFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@2cfa2c4f
testRemoveFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5caaa9f7-b424-4881-b0bd-cc35b756ae94' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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 '5caaa9f7-b424-4881-b0bd-cc35b756ae94' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	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@2cfa2c4f
testToJSONFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@12968227
testToJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@12968227
testToJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b830e1af-d45c-4d22-ae86-6ed90e210125' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase.testToJSONFunctionExtension3(ToJSONFunctionExtensionTestCase.java:187)
    	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 'b830e1af-d45c-4d22-ae86-6ed90e210125' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase.testToJSONFunctionExtension3(ToJSONFunctionExtensionTestCase.java:187)
    	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@12968227
testToJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@12968227
testToXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872
testToXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872
testToXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6c39d7e9-6a20-4699-bc0f-2fd4043d954b' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase.testToXMLFunctionExtension5(ToXMLFunctionExtensionTestCase.java:369)
    	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 '6c39d7e9-6a20-4699-bc0f-2fd4043d954b' @ 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:160)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:84)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:239)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:63)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:72)
    	at org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase.testToXMLFunctionExtension5(ToXMLFunctionExtensionTestCase.java:369)
    	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@6ecab872
testToXMLFunctionExtension6 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@6ecab872