siddhi-execution-string-unit-tests

Tests passed/Failed/Skipped:132/0/0
Started on:Wed Aug 01 13:25:13 UTC 2018
Total time:1 seconds (1129 ms)
Included groups:
Excluded groups:

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

PASSED TESTS
Test method Exception Time (seconds) Instance
testCharAtFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionForIndexOutOfBoundException
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionVariableIndex
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f1a3235-8f85-44c6-8131-cbcf49c239cc' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:charat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f1a3235-8f85-44c6-8131-cbcf49c239cc' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:charat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a9730164-26aa-413a-a1fc-8914a64a0738' @ Line: 1. Position: 147, near 'str:charAt(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:charat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a9730164-26aa-413a-a1fc-8914a64a0738' @ Line: 1. Position: 147, near 'str:charAt(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:charat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b3f247bf-84b7-4d08-9f41-7d5341d325a5' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:charat() function, required 2, but found 3
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b3f247bf-84b7-4d08-9f41-7d5341d325a5' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:charat() function, required 2, but found 3
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionWithNullValues
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCharAtFunctionExtensionWithNullValues1
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@733aa9d8
testCoalesceFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@6dcc40f5
testCoalesceFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase@2b680207
testCoalesceFunctionExtensionWithInvalidDatatypes
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40d302a0-c664-466f-8167-311a4d025f92' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:79)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40d302a0-c664-466f-8167-311a4d025f92' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:79)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@6dcc40f5
testCoalesceFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5742e91c-5a51-40bb-b998-2f4d1856dd4e' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:concat() function requires at least two arguments, but found only 1
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5742e91c-5a51-40bb-b998-2f4d1856dd4e' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: str:concat() function requires at least two arguments, but found only 1
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase@2b680207
testCoalesceFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6ce801fe-1b0d-452c-8122-298b68b307d3' @ Line: 1. Position: 146, near 'str:coalesce()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:coalesce() function requires at least one argument, but found only 0
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6ce801fe-1b0d-452c-8122-298b68b307d3' @ Line: 1. Position: 146, near 'str:coalesce()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: str:coalesce() function requires at least one argument, but found only 0
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@6dcc40f5
testContainsFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@56da7487
testContainsFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e48a5565-ea9d-45c3-b792-1629f044511f' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.java:119)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:contains() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e48a5565-ea9d-45c3-b792-1629f044511f' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:contains() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3ace62b7-b29e-4732-872d-0b7fc87d9b42' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3ace62b7-b29e-4732-872d-0b7fc87d9b42' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@56da7487
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e1fa73a6-608d-4eda-a16f-edf8e312c3ee' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:contains() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e1fa73a6-608d-4eda-a16f-edf8e312c3ee' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:contains() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b775c453-cc58-490e-b60a-e354e04c69ac' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b775c453-cc58-490e-b60a-e354e04c69ac' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@56da7487
testContainsFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtensionWithNullValue1
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fc4f8e89-7cdf-4aeb-a033-38757e72cda4' @ Line: 1. Position: 143, near 'str:contains(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:contains() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fc4f8e89-7cdf-4aeb-a033-38757e72cda4' @ Line: 1. Position: 143, near 'str:contains(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:contains() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@70887727
testContainsFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '890dda5a-868f-42d4-9947-6ff2bab6fefd' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:equalsIgnoreCase() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '890dda5a-868f-42d4-9947-6ff2bab6fefd' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:equalsIgnoreCase() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@56da7487
testFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae699bec-ff42-49c2-83fb-d301be05ee4b' @ Line: 1. Position: 191, near 'str:groupConcat(symbol1, '-', false, 'ASC1')'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension7(GroupConcatFunctionExtensionTestCase.java:379)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's forth attribute `order` should be a constant `'ASC'` or `'DESC'`, but found 'ASC1'.
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:146)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae699bec-ff42-49c2-83fb-d301be05ee4b' @ Line: 1. Position: 191, near 'str:groupConcat(symbol1, '-', false, 'ASC1')'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension7(GroupConcatFunctionExtensionTestCase.java:379)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: str:groupConcat() function's forth attribute `order` should be a constant `'ASC'` or `'DESC'`, but found 'ASC1'.
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:146)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '251411c3-70ba-457f-89b5-7303c948d1b5' @ Line: 1. Position: 190, near 'str:groupConcat(symbol1, '-', 'ASC', false)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension8(GroupConcatFunctionExtensionTestCase.java:392)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's third attribute `distinct` should be a constant `BOOL`, but found STRING .
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:121)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '251411c3-70ba-457f-89b5-7303c948d1b5' @ Line: 1. Position: 190, near 'str:groupConcat(symbol1, '-', 'ASC', false)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension8(GroupConcatFunctionExtensionTestCase.java:392)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: str:groupConcat() function's third attribute `distinct` should be a constant `BOOL`, but found STRING .
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:121)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@588f63c
testLengthFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@328d044f
testLengthFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1273a9c9-e453-4c9c-b816-44d8d21cb8cf' @ Line: 1. Position: 140, near 'str:length(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:length() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1273a9c9-e453-4c9c-b816-44d8d21cb8cf' @ Line: 1. Position: 140, near 'str:length(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for str:length() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@328d044f
testLengthFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@328d044f
testLengthFunctionExtensionWithZeroArguments
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '610dc49b-2e13-4e1f-9bfd-528109000445' @ Line: 1. Position: 135, near 'str:length()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:length() function. Required 1. Found 0
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '610dc49b-2e13-4e1f-9bfd-528109000445' @ Line: 1. Position: 135, near 'str:length()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:length() function. Required 1. Found 0
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@328d044f
testLowerFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@10f7c76
testLowerFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '09ac6208-c095-47ca-8313-8d9c52a421d1' @ Line: 1. Position: 139, near 'str:lower(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:lower() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '09ac6208-c095-47ca-8313-8d9c52a421d1' @ Line: 1. Position: 139, near 'str:lower(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for str:lower() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@10f7c76
testLowerFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@10f7c76
testLowerFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3a524edd-6bc5-4261-810c-f60cf9ecf3e6' @ Line: 1. Position: 134, near 'str:lower()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:lower() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3a524edd-6bc5-4261-810c-f60cf9ecf3e6' @ Line: 1. Position: 134, near 'str:lower()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:lower() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@10f7c76
testProcess
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@599e4d41
testProcess
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@6b350309
testProcess1
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b332a8d3-42c9-4b0f-80e4-e01524e5ae1d' @ Line: 1. Position: 105, near 'str:unhex()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to math:unhex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:65)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b332a8d3-42c9-4b0f-80e4-e01524e5ae1d' @ Line: 1. Position: 105, near 'str:unhex()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 math:unhex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:65)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@6b350309
testProcess2
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b2f9a6d6-e9f5-4c3c-8b25-0d52fe9d1f54' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of math:unhex() function, required STRING but found INT
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b2f9a6d6-e9f5-4c3c-8b25-0d52fe9d1f54' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the argument of math:unhex() function, required STRING but found INT
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@6b350309
testProcess3
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@6b350309
testRegexpFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3676e9e2-70bb-4fb3-9a75-865610ecacdf' @ Line: 1. Position: 142, near 'str:regexp(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:regexp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3676e9e2-70bb-4fb3-9a75-865610ecacdf' @ Line: 1. Position: 142, near 'str:regexp(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:regexp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8a94ab32-c89e-4c96-a011-a9139d95e224' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8a94ab32-c89e-4c96-a011-a9139d95e224' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c0fdb8ca-7d7d-4870-8dd2-85480c5cc47b' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c0fdb8ca-7d7d-4870-8dd2-85480c5cc47b' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRegexpFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@4745e9c
testRepeatFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ee7ff50-737e-4088-8ebb-3ddabf703c5b' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ee7ff50-737e-4088-8ebb-3ddabf703c5b' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '71711d2a-ad12-41ca-ab29-38d08ae024a1' @ Line: 1. Position: 148, near 'str:repeat(symbol, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:repeat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '71711d2a-ad12-41ca-ab29-38d08ae024a1' @ Line: 1. Position: 148, near 'str:repeat(symbol, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:repeat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '34102232-8ad0-4e73-9bf5-b46c6296e490' @ Line: 1. Position: 140, near 'str:repeat(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:repeat() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '34102232-8ad0-4e73-9bf5-b46c6296e490' @ Line: 1. Position: 140, near 'str:repeat(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:repeat() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testRepeatFunctionExtensionVariableIndex
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@2f2bff16
testReplaceAllFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1008a5e8-3f65-4ddb-a752-c92be92ddb5c' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceAll() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1008a5e8-3f65-4ddb-a752-c92be92ddb5c' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:replaceAll() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'dbcb7507-2e19-41b0-b02b-17a11cb20f01' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.java:170)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'dbcb7507-2e19-41b0-b02b-17a11cb20f01' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '742cc83f-78c1-4381-9412-0664cb5fa833' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '742cc83f-78c1-4381-9412-0664cb5fa833' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '56bb920f-2c71-44ae-b169-2ae49a805693' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:92)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '56bb920f-2c71-44ae-b169-2ae49a805693' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:92)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceAllFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@75de29c0
testReplaceFirstByRegexFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c29eecc0-8201-4b82-8bb1-ef50326d99ec' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceFirst() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c29eecc0-8201-4b82-8bb1-ef50326d99ec' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:replaceFirst() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b7b102e8-94bd-419d-971d-7267fecb6d66' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b7b102e8-94bd-419d-971d-7267fecb6d66' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a5814afd-cab8-4186-be77-d72deebeec63' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a5814afd-cab8-4186-be77-d72deebeec63' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9033b8bd-3e2f-4b89-9069-87169b87e99d' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9033b8bd-3e2f-4b89-9069-87169b87e99d' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReplaceFirstFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@fc807c1
testReverseFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@296e281a
testReverseFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6e45b356-5efd-4b87-a0c5-5832c6c81bbb' @ Line: 1. Position: 136, near 'str:reverse()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:reverse() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6e45b356-5efd-4b87-a0c5-5832c6c81bbb' @ Line: 1. Position: 136, near 'str:reverse()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:reverse() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@296e281a
testReverseFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f6a135f7-eaf9-4fc6-8e4f-d5a78e31f66b' @ Line: 1. Position: 141, near 'str:reverse(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:reverse() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f6a135f7-eaf9-4fc6-8e4f-d5a78e31f66b' @ Line: 1. Position: 141, near 'str:reverse(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for str:reverse() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@296e281a
testReverseFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@296e281a
testSplitFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension10
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '94d527bd-00a9-43db-8753-ddbfc8c1858a' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:split() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '94d527bd-00a9-43db-8753-ddbfc8c1858a' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:split() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c8e08bc1-0d32-42d2-999d-2ada0f51653a' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c8e08bc1-0d32-42d2-999d-2ada0f51653a' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '783c0e67-a379-4a79-b2c5-6deeef1d8bc9' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '783c0e67-a379-4a79-b2c5-6deeef1d8bc9' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40205e92-2dba-45ae-83f0-180e0fe25de1' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required INT, but found STRING
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40205e92-2dba-45ae-83f0-180e0fe25de1' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:split() function, required INT, but found STRING
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testSplitFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@59cda16e
testStrcmpFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae963851-65b4-42ec-9ba7-c1153dcc1c51' @ Line: 1. Position: 147, near 'str:strcmp(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:strcmp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae963851-65b4-42ec-9ba7-c1153dcc1c51' @ Line: 1. Position: 147, near 'str:strcmp(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:strcmp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd70f8d65-568b-4ebd-8c8c-15cee0e67737' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd70f8d65-568b-4ebd-8c8c-15cee0e67737' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f150c919-b43a-4ca4-9e8a-0fa90ca1116a' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f150c919-b43a-4ca4-9e8a-0fa90ca1116a' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testStrcmpFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@5dd903be
testSubstrFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8d08dc80-4b6c-4213-ab0c-72273e81787e' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:substr() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8d08dc80-4b6c-4213-ab0c-72273e81787e' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the first argument of str:substr() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd91f4491-ba1d-4979-853c-dad81f88ce09' @ Line: 1. Position: 149, near 'str:substr(symbol, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:114)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd91f4491-ba1d-4979-853c-dad81f88ce09' @ Line: 1. Position: 149, near 'str:substr(symbol, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:114)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithInvalidDataType2
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a4a941f8-fb4d-40be-abef-249c6b74d8c6' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:substr() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:120)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a4a941f8-fb4d-40be-abef-249c6b74d8c6' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, 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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the third argument of str:substr() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:120)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithInvalidDataType3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bf0dcbba-d683-489c-adc8-d015f7b5e983' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.java:369)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:134)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bf0dcbba-d683-489c-adc8-d015f7b5e983' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:134)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithNullValues
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithNullValues1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithNullValues3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testSubstrFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c2b9db07-b77f-4239-a445-455b2ea34380' @ Line: 1. Position: 141, near 'str:substr(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of Arguments passed to str:substr() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:137)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c2b9db07-b77f-4239-a445-455b2ea34380' @ Line: 1. Position: 141, near 'str:substr(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:substr() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:137)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@12e0f1cb
testTokenizerExtension
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithDistincts
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithInvalidDataTypeForDistinct
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '707d432e-2755-4c6c-bfcc-0038cff1b360' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeForDistinct(TokenizerStreamProcessorExtensionTestCase.java:211)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Third attribute 'distinct' should be of type boolean. But found STRING
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:163)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '707d432e-2755-4c6c-bfcc-0038cff1b360' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeForDistinct(TokenizerStreamProcessorExtensionTestCase.java:211)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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.core.exception.SiddhiAppCreationException: Third attribute 'distinct' should be of type boolean. But found STRING
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:163)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithInvalidDataTypeforDelimiter
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b9fb1912-029a-4dcf-967f-926e7546d2be' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforDelimiter(TokenizerStreamProcessorExtensionTestCase.java:128)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b9fb1912-029a-4dcf-967f-926e7546d2be' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforDelimiter(TokenizerStreamProcessorExtensionTestCase.java:128)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithInvalidDataTypeforText
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '79d00642-b90b-400c-bce7-9cba0a7fe2a0' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforText(TokenizerStreamProcessorExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '79d00642-b90b-400c-bce7-9cba0a7fe2a0' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforText(TokenizerStreamProcessorExtensionTestCase.java:117)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd4283c0c-f89c-4cdc-b280-a57e2751ad87' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidNoOfArguments(TokenizerStreamProcessorExtensionTestCase.java:106)
Caused by: java.lang.IllegalArgumentException: Invalid no of arguments passed to str:tokenize() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:167)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd4283c0c-f89c-4cdc-b280-a57e2751ad87' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidNoOfArguments(TokenizerStreamProcessorExtensionTestCase.java:106)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: java.lang.IllegalArgumentException: Invalid no of arguments passed to str:tokenize() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:167)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithInvalidSyntaxForRegex
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '626bfee6-9bfe-49bd-8334-1a0f2af6431e' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidSyntaxForRegex(TokenizerStreamProcessorExtensionTestCase.java:94)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Syntax error in regular-expression pattern : Dangling meta character '*' near index 8
\s|\'|,|*
        ^
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:147)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '626bfee6-9bfe-49bd-8334-1a0f2af6431e' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidSyntaxForRegex(TokenizerStreamProcessorExtensionTestCase.java:94)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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: Syntax error in regular-expression pattern : Dangling meta character '*' near index 8
\s|\'|,|*
        ^
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:147)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTokenizerExtensionWithoutDistincts
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@4a163575
testTrimFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@7e642b88
testTrimFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e28e7787-9f5d-43c9-bc9c-77e6aee9a13b' @ Line: 1. Position: 133, near 'str:trim()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:trim() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e28e7787-9f5d-43c9-bc9c-77e6aee9a13b' @ Line: 1. Position: 133, near 'str:trim()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:trim() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@7e642b88
testTrimFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f0b6357-0c33-42d5-86e5-b34fdca7d204' @ Line: 1. Position: 138, near 'str:trim(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:trim() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f0b6357-0c33-42d5-86e5-b34fdca7d204' @ Line: 1. Position: 138, near 'str:trim(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for str:trim() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@7e642b88
testTrimFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@7e642b88
testUpperFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@7ecec90d
testUpperFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8985ea04-274d-4ee1-878b-1efb6b91ddee' @ Line: 1. Position: 139, near 'str:upper(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:upper() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8985ea04-274d-4ee1-878b-1efb6b91ddee' @ Line: 1. Position: 139, near 'str:upper(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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for str:upper() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@7ecec90d
testUpperFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@7ecec90d
testUpperFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ac1125df-cbd4-4a0d-99b1-18d4319e259e' @ Line: 1. Position: 134, near 'str:upper()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:upper() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ac1125df-cbd4-4a0d-99b1-18d4319e259e' @ Line: 1. Position: 134, near 'str:upper()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:upper() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@7ecec90d
testWithInvalidDatatype
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b1d075a9-1ce5-4d4c-b2a3-bc6711d8ceba' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of str:hex() function, required STRINGbut found INT
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b1d075a9-1ce5-4d4c-b2a3-bc6711d8ceba' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 parameter type found for the argument of str:hex() function, required STRINGbut found INT
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@599e4d41
testWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@599e4d41
testWithZeroArguments
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '305be702-eb7c-46d3-a241-e2dbe95b7eb5' @ Line: 1. Position: 103, near 'str:hex()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:hex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '305be702-eb7c-46d3-a241-e2dbe95b7eb5' @ Line: 1. Position: 103, near 'str:hex()'.
	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:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
	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:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	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 str:hex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@599e4d41