## Siddhi-execution-map-tests

Tests passed/Failed/Skipped: | 36/0/0
Started on: | Thu Dec 07 22:04:45 UTC 2017
Total time: | 1 seconds (1120 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 'dcd81110-2e02-4c5e-9df4-aee13c1929d2' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 'dcd81110-2e02-4c5e-9df4-aee13c1929d2' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@3659d7b1
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@3659d7b1
testCreateFromXMLFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fd46e38b-4e46-4517-92a3-5de4d7f8a36a' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 'fd46e38b-4e46-4517-92a3-5de4d7f8a36a' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@3659d7b1
testCreateFromXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f1f456c7-2fc1-4887-beb5-5cf03d3f7cc4' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 'f1f456c7-2fc1-4887-beb5-5cf03d3f7cc4' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@144ab54
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@3659d7b1
testCreateFromXMLFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFromXMLFunctionExtensionTestCase@3659d7b1
testCreateFromXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040
testCreateFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@144ab54
testCreateFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@144ab54
testCreateFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.CreateFunctionExtensionTestCase@144ab54
testGetFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6c518474
testGetFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6c518474
testGetFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9f08d10c-af4b-4fa6-be8c-1ac7d4404095' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 '9f08d10c-af4b-4fa6-be8c-1ac7d4404095' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@6c518474
testGetFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.GetFunctionExtensionTestCase@6c518474
testIsMapFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase@6ecab872
testIsMapFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.IsMapFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '34b27758-4507-4b18-93d7-47db17d6a204' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 '34b27758-4507-4b18-93d7-47db17d6a204' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@6ecab872
testPutFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@2cfa2c4f
testPutFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3be78e84-3c35-47a1-8ee2-adaeddb681c8' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 '3be78e84-3c35-47a1-8ee2-adaeddb681c8' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@2cfa2c4f
testPutFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.PutFunctionExtensionTestCase@2cfa2c4f
testRemoveFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase@48eb9836
testRemoveFunctionExtension1 Test class: org.wso2.extension.siddhi.execution.map.RemoveFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ba295df1-bc5f-4803-9854-16646a55a02c' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 'ba295df1-bc5f-4803-9854-16646a55a02c' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@48eb9836
testToJSONFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@3e3861d7
testToJSONFunctionExtension2 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@3e3861d7
testToJSONFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '403face1-b4ab-4b74-83f7-645decd37d6d' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 '403face1-b4ab-4b74-83f7-645decd37d6d' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@3e3861d7
testToJSONFunctionExtension4 Test class: org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToJSONFunctionExtensionTestCase@3e3861d7
testToXMLFunctionExtension Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040
testToXMLFunctionExtension3 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040
testToXMLFunctionExtension5 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |
    org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ec64d05b-c1d3-435f-97e4-36464f871314' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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 'ec64d05b-c1d3-435f-97e4-36464f871314' @ 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:181)
    	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
    	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
    	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:236)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
    	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
    	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@5e2a3040
testToXMLFunctionExtension6 Test class: org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase |  | 0 | org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtensionTestCase@5e2a3040