siddhi-execution-string-unit-tests

Tests passed/Failed/Skipped:132/0/0
Started on:Wed Feb 13 05:49:00 UTC 2019
Total time:1 seconds (1656 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@70887727
testCharAtFunctionExtensionForIndexOutOfBoundException
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionVariableIndex
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f7aa77df-3819-42e4-bd64-e1e84446bd04' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f7aa77df-3819-42e4-bd64-e1e84446bd04' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ea79f5c-4969-450b-bf9d-54b78fc47cb7' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ea79f5c-4969-450b-bf9d-54b78fc47cb7' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d672c09-93e0-474d-9ae0-99792d156380' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d672c09-93e0-474d-9ae0-99792d156380' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithNullValues
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithNullValues1
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCoalesceFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@56da7487
testCoalesceFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase@599e4d41
testCoalesceFunctionExtensionWithInvalidDatatypes
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0ac28fce-5e84-4a93-bf8e-d4f3d9ff6839' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0ac28fce-5e84-4a93-bf8e-d4f3d9ff6839' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@56da7487
testCoalesceFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ee46dd8-6d14-45f8-b947-1b6059a69ed6' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ee46dd8-6d14-45f8-b947-1b6059a69ed6' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase@599e4d41
testCoalesceFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '30ba6d9d-1ebe-49d3-9b41-c4c0ebb74918' @ Line: 1. Position: 146, near 'str:coalesce()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:73)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '30ba6d9d-1ebe-49d3-9b41-c4c0ebb74918' @ Line: 1. Position: 146, near 'str:coalesce()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:73)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@56da7487
testContainsFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@10f7c76
testContainsFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '47e21576-0267-4bb1-8cd6-9bdcd5d58a0c' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:86)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '47e21576-0267-4bb1-8cd6-9bdcd5d58a0c' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:86)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1551249b-c0a4-4759-b9e9-32312f9a3c0a' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1551249b-c0a4-4759-b9e9-32312f9a3c0a' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@10f7c76
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'eb757b05-795f-4d46-946e-0494a5417492' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'eb757b05-795f-4d46-946e-0494a5417492' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f9d7392-92ec-410d-a2f8-03de13f072b0' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f9d7392-92ec-410d-a2f8-03de13f072b0' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@10f7c76
testContainsFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithNullValue1
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '985a237d-bf6a-42e6-8067-807a1732b917' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '985a237d-bf6a-42e6-8067-807a1732b917' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c52c9450-4297-48c9-9287-d780c27b3e7b' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c52c9450-4297-48c9-9287-d780c27b3e7b' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@10f7c76
testFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bd6317d3-060b-4701-aadf-9cabf1bd2944' @ 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:438)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:147)
	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 'bd6317d3-060b-4701-aadf-9cabf1bd2944' @ 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:438)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:147)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9b00c8e4-9f7f-4eda-ba6d-d3118ac9b521' @ 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:438)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:122)
	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 '9b00c8e4-9f7f-4eda-ba6d-d3118ac9b521' @ 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:438)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:122)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testLengthFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@2f2bff16
testLengthFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '922169f4-955d-4f55-a3a7-b1f6bc847c1d' @ Line: 1. Position: 140, near 'str:length(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '922169f4-955d-4f55-a3a7-b1f6bc847c1d' @ Line: 1. Position: 140, near 'str:length(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@2f2bff16
testLengthFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@2f2bff16
testLengthFunctionExtensionWithZeroArguments
Test class: org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40a816d2-5fb5-4316-9ae6-772c37712bc9' @ Line: 1. Position: 135, near 'str:length()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40a816d2-5fb5-4316-9ae6-772c37712bc9' @ Line: 1. Position: 135, near 'str:length()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@2f2bff16
testLowerFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@75de29c0
testLowerFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c4811f80-b30f-44de-85e5-1c1eb1ba2de7' @ Line: 1. Position: 139, near 'str:lower(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c4811f80-b30f-44de-85e5-1c1eb1ba2de7' @ Line: 1. Position: 139, near 'str:lower(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@75de29c0
testLowerFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@75de29c0
testLowerFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c91db099-62dd-4bbd-a8c6-ecbeb2c26d67' @ Line: 1. Position: 134, near 'str:lower()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c91db099-62dd-4bbd-a8c6-ecbeb2c26d67' @ Line: 1. Position: 134, near 'str:lower()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@75de29c0
testProcess
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@4745e9c
testProcess
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@5a6fa56e
testProcess1
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd8bf5e7c-61ba-4323-bf1d-389336dfa67a' @ Line: 1. Position: 105, near 'str:unhex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd8bf5e7c-61ba-4323-bf1d-389336dfa67a' @ Line: 1. Position: 105, near 'str:unhex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@5a6fa56e
testProcess2
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae785e89-e318-4e05-b9a5-4a8f9709d705' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:73)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae785e89-e318-4e05-b9a5-4a8f9709d705' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:73)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@5a6fa56e
testProcess3
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@5a6fa56e
testRegexpFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7ed341fc-3737-4518-a1de-0ab6d0284d6d' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7ed341fc-3737-4518-a1de-0ab6d0284d6d' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f313d433-22d0-4621-93d0-913a0217f0bd' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f313d433-22d0-4621-93d0-913a0217f0bd' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cd8fb74d-e4d0-43cf-9074-3c7e26dc2789' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cd8fb74d-e4d0-43cf-9074-3c7e26dc2789' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRepeatFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '636fd6d2-23b4-4592-9bf4-8e1454faed2d' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '636fd6d2-23b4-4592-9bf4-8e1454faed2d' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '876ebc67-51b5-4259-b891-07b7807dd21e' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '876ebc67-51b5-4259-b891-07b7807dd21e' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '86db7a32-5fbf-4e2f-a0ff-224885551fdf' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '86db7a32-5fbf-4e2f-a0ff-224885551fdf' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtensionVariableIndex
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testReplaceAllFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2755eb85-bdcc-443a-83b6-053a4c873287' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2755eb85-bdcc-443a-83b6-053a4c873287' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '80c73a12-ad6f-4638-a30d-a303487d5a35' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '80c73a12-ad6f-4638-a30d-a303487d5a35' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd85a86df-cda9-43c0-8977-9995a63f8390' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd85a86df-cda9-43c0-8977-9995a63f8390' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c7d98476-3c23-4eb6-aaf3-d44a9c0e91be' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:94)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c7d98476-3c23-4eb6-aaf3-d44a9c0e91be' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:94)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceFirstByRegexFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ee77cd9e-4664-4fc6-948a-f89a6f84f898' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ee77cd9e-4664-4fc6-948a-f89a6f84f898' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:78)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '182952ca-8c33-4217-bde6-a28fd662ef80' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '182952ca-8c33-4217-bde6-a28fd662ef80' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '856f200b-ee66-4e17-a86e-95d20a378867' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '856f200b-ee66-4e17-a86e-95d20a378867' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4c618787-6499-451a-87b7-11d1f646e389' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:94)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4c618787-6499-451a-87b7-11d1f646e389' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:94)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReverseFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@12e0f1cb
testReverseFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4868966a-98e1-4e77-a89e-391b9886e7e7' @ Line: 1. Position: 136, near 'str:reverse()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4868966a-98e1-4e77-a89e-391b9886e7e7' @ Line: 1. Position: 136, near 'str:reverse()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@12e0f1cb
testReverseFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '772bd67c-3057-4998-8459-965f7a46a876' @ Line: 1. Position: 141, near 'str:reverse(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '772bd67c-3057-4998-8459-965f7a46a876' @ Line: 1. Position: 141, near 'str:reverse(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@12e0f1cb
testReverseFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@12e0f1cb
testSplitFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension10
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bfeef862-0e4c-413c-9fa8-d7f3c911b0cb' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bfeef862-0e4c-413c-9fa8-d7f3c911b0cb' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'aadb1357-a087-4615-86ad-ba0cbfa11c09' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'aadb1357-a087-4615-86ad-ba0cbfa11c09' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:84)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4255d9e3-b52a-4029-80fd-1ddc2bf771ae' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4255d9e3-b52a-4029-80fd-1ddc2bf771ae' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fa634506-99c7-49cb-8071-63ddd8213cc0' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fa634506-99c7-49cb-8071-63ddd8213cc0' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension9
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testStrcmpFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cb792521-fc50-4df1-8253-fc5cf1ba7af9' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cb792521-fc50-4df1-8253-fc5cf1ba7af9' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '506ec999-900f-4dd4-a1da-a1d34d0eaefe' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '506ec999-900f-4dd4-a1da-a1d34d0eaefe' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '24ad185d-0adc-46cc-9fd0-41ef31bcd6c2' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '24ad185d-0adc-46cc-9fd0-41ef31bcd6c2' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension7
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testSubstrFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9da07989-0d26-4a7a-87d5-f18e792b3530' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:108)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9da07989-0d26-4a7a-87d5-f18e792b3530' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:108)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8b5a6d33-dd23-4b76-8b08-ae62c337e79e' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:123)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8b5a6d33-dd23-4b76-8b08-ae62c337e79e' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:123)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType2
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d4a0aa2-1fde-4e69-ad6d-4b5d2750b50b' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:129)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d4a0aa2-1fde-4e69-ad6d-4b5d2750b50b' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:129)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '04b2a366-659c-47ff-9f7c-edf538ef8b86' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:143)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '04b2a366-659c-47ff-9f7c-edf538ef8b86' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:143)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithNullValues
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithNullValues1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithNullValues3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8f8f05d6-4052-490a-92b7-ebe77c352ec3' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:146)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8f8f05d6-4052-490a-92b7-ebe77c352ec3' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:146)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testTokenizerExtension
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithDistincts
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidDataTypeForDistinct
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6816ae2c-2edf-46d9-bc5b-5524b3d528ab' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:164)
	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:82)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6816ae2c-2edf-46d9-bc5b-5524b3d528ab' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:498)
	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:164)
	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:82)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidDataTypeforDelimiter
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '45ca83f9-b5f9-443d-a44c-fa1c3a3c0779' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:136)
	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:82)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '45ca83f9-b5f9-443d-a44c-fa1c3a3c0779' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:498)
	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:136)
	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:82)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidDataTypeforText
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a51177a8-6ebc-42d4-95cc-fe2178923461' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:136)
	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:82)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a51177a8-6ebc-42d4-95cc-fe2178923461' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:498)
	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:136)
	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:82)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '784eb77d-7f41-46d7-b51a-6ae9b896bb34' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:168)
	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:82)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '784eb77d-7f41-46d7-b51a-6ae9b896bb34' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:498)
	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:168)
	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:82)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidSyntaxForRegex
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd0cdb8bb-3d17-481d-bfe3-f4a77bd9cf86' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:148)
	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:82)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd0cdb8bb-3d17-481d-bfe3-f4a77bd9cf86' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
	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:245)
	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:498)
	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:148)
	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:82)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithoutDistincts
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTrimFunctionExtension1
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@588f63c
testTrimFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '83b62d86-448a-4a04-b09c-e68a626d3bec' @ Line: 1. Position: 133, near 'str:trim()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '83b62d86-448a-4a04-b09c-e68a626d3bec' @ Line: 1. Position: 133, near 'str:trim()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@588f63c
testTrimFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '79844843-41d1-4cbd-92ed-01c9e3b6a5e9' @ Line: 1. Position: 138, near 'str:trim(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '79844843-41d1-4cbd-92ed-01c9e3b6a5e9' @ Line: 1. Position: 138, near 'str:trim(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@588f63c
testTrimFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@588f63c
testUpperFunctionExtension
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@1981d861
testUpperFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4b90903d-5b80-484a-9e56-715d9235bf4d' @ Line: 1. Position: 139, near 'str:upper(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4b90903d-5b80-484a-9e56-715d9235bf4d' @ Line: 1. Position: 139, near 'str:upper(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@1981d861
testUpperFunctionExtensionWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@1981d861
testUpperFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '618b732a-f2a4-4ba0-a5f1-0a41095c2515' @ Line: 1. Position: 134, near 'str:upper()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '618b732a-f2a4-4ba0-a5f1-0a41095c2515' @ Line: 1. Position: 134, near 'str:upper()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@1981d861
testWithInvalidDatatype
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce798fd8-359e-4023-bcb3-f85ffc10368e' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce798fd8-359e-4023-bcb3-f85ffc10368e' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@4745e9c
testWithNullValue
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@4745e9c
testWithZeroArguments
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '16bb71c6-df5a-45e6-a18e-a359453f69d5' @ Line: 1. Position: 103, near 'str:hex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '16bb71c6-df5a-45e6-a18e-a359453f69d5' @ Line: 1. Position: 103, near 'str:hex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
	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:498)
	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:69)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@4745e9c