siddhi-execution-string-unit-tests

Tests passed/Failed/Skipped:132/0/0
Started on:Thu Aug 30 15:20:56 UTC 2018
Total time:1 seconds (1817 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 '78d975eb-3a8c-42f2-8cef-f080a461e313' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:charat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '78d975eb-3a8c-42f2-8cef-f080a461e313' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:charat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ca55f33a-e347-4b83-88c5-7aeee1b15bc3' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:charat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ca55f33a-e347-4b83-88c5-7aeee1b15bc3' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:charat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@70887727
testCharAtFunctionExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9cf5d98c-c80e-484e-a11f-10187d7b6a03' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:charat() function, required 2, but found 3
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9cf5d98c-c80e-484e-a11f-10187d7b6a03' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:charat() function, required 2, but found 3
	at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase@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 '7b53f02c-a282-416c-b96e-be7a2e3fb8fd' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:79)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7b53f02c-a282-416c-b96e-be7a2e3fb8fd' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:79)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@56da7487
testCoalesceFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '17904f04-e475-4da3-a6b1-e35e33bda012' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:concat() function requires at least two arguments, but found only 1
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '17904f04-e475-4da3-a6b1-e35e33bda012' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:concat() function requires at least two arguments, but found only 1
	at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase@599e4d41
testCoalesceFunctionExtensionWithZeroArgument
Test class: org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e958dbd4-1f14-415d-896f-13766be626e0' @ Line: 1. Position: 146, near 'str:coalesce()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:coalesce() function requires at least one argument, but found only 0
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e958dbd4-1f14-415d-896f-13766be626e0' @ Line: 1. Position: 146, near 'str:coalesce()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:coalesce() function requires at least one argument, but found only 0
	at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase@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 '39f1d25f-73dd-40cf-8004-ca8e17c088bc' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.java:119)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:contains() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '39f1d25f-73dd-40cf-8004-ca8e17c088bc' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.java:119)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:contains() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithInvalidDataType
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '84a0bc95-4339-496c-9481-1d850136007b' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '84a0bc95-4339-496c-9481-1d850136007b' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:91)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@10f7c76
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '15358e61-6755-4b1a-833b-11249fce7852' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:contains() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '15358e61-6755-4b1a-833b-11249fce7852' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:contains() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '06ad77ef-e1ad-46b3-b03e-34d9ee9376ae' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '06ad77ef-e1ad-46b3-b03e-34d9ee9376ae' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:97)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@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 '06263c4d-ee2c-447c-afae-504da00da9f7' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:contains() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '06263c4d-ee2c-447c-afae-504da00da9f7' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:contains() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase@328d044f
testContainsFunctionExtensionWithOneArgument
Test class: org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd6d694d2-e5d4-45d6-a20d-504e4033eed4' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:equalsIgnoreCase() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd6d694d2-e5d4-45d6-a20d-504e4033eed4' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:equalsIgnoreCase() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase@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 'd6365ba5-1cb5-414e-b1b2-0a089358f121' @ Line: 1. Position: 191, near 'str:groupConcat(symbol1, '-', false, 'ASC1')'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension7(GroupConcatFunctionExtensionTestCase.java:379)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's forth attribute `order` should be a constant `'ASC'` or `'DESC'`, but found 'ASC1'.
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:146)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd6365ba5-1cb5-414e-b1b2-0a089358f121' @ Line: 1. Position: 191, near 'str:groupConcat(symbol1, '-', false, 'ASC1')'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension7(GroupConcatFunctionExtensionTestCase.java:379)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's forth attribute `order` should be a constant `'ASC'` or `'DESC'`, but found 'ASC1'.
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:146)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@118ffcfd
testFunctionExtension8
Test class: org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ac673a32-e30f-406c-bc67-be40eaf504cf' @ Line: 1. Position: 190, near 'str:groupConcat(symbol1, '-', 'ASC', false)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension8(GroupConcatFunctionExtensionTestCase.java:392)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's third attribute `distinct` should be a constant `BOOL`, but found STRING .
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:121)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ac673a32-e30f-406c-bc67-be40eaf504cf' @ Line: 1. Position: 190, near 'str:groupConcat(symbol1, '-', 'ASC', false)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension8(GroupConcatFunctionExtensionTestCase.java:392)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's third attribute `distinct` should be a constant `BOOL`, but found STRING .
	at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:121)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase@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 '91821cf4-ffd6-494c-ae74-119fd0274c48' @ Line: 1. Position: 140, near 'str:length(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:length() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '91821cf4-ffd6-494c-ae74-119fd0274c48' @ Line: 1. Position: 140, near 'str:length(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:length() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@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 'c5c960f6-dda9-4b11-8628-ba4a82a0a1ea' @ Line: 1. Position: 135, near 'str:length()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:length() function. Required 1. Found 0
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c5c960f6-dda9-4b11-8628-ba4a82a0a1ea' @ Line: 1. Position: 135, near 'str:length()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:length() function. Required 1. Found 0
	at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase@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 '4b33dbfb-cc80-4c02-bde3-34106a1d67f9' @ Line: 1. Position: 139, near 'str:lower(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:lower() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4b33dbfb-cc80-4c02-bde3-34106a1d67f9' @ Line: 1. Position: 139, near 'str:lower(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:lower() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@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 '36db76e3-c3be-4b92-9f25-54860c98c1ea' @ Line: 1. Position: 134, near 'str:lower()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:lower() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '36db76e3-c3be-4b92-9f25-54860c98c1ea' @ Line: 1. Position: 134, near 'str:lower()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:lower() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase@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 '83b6a62a-7209-4ced-88f5-a9fc415ea77f' @ Line: 1. Position: 105, near 'str:unhex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to math:unhex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:65)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '83b6a62a-7209-4ced-88f5-a9fc415ea77f' @ Line: 1. Position: 105, near 'str:unhex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to math:unhex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:65)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@5a6fa56e
testProcess2
Test class: org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cef7ab15-d2e2-4f5b-93fd-af7df093be7d' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of math:unhex() function, required STRING but found INT
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cef7ab15-d2e2-4f5b-93fd-af7df093be7d' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of math:unhex() function, required STRING but found INT
	at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:71)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase@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 '94ffebc5-6a64-4671-a973-5bbd5b8e59d1' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:regexp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '94ffebc5-6a64-4671-a973-5bbd5b8e59d1' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:regexp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '53677f46-fbe5-4ea4-8ebf-f90b8f9a01d7' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '53677f46-fbe5-4ea4-8ebf-f90b8f9a01d7' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@fc807c1
testRegexpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'abb30c91-c077-45b2-9f01-72637bd71580' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'abb30c91-c077-45b2-9f01-72637bd71580' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:regexp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase@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 'f07caf84-8af6-4a60-88bc-3f9a4bba5ca6' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f07caf84-8af6-4a60-88bc-3f9a4bba5ca6' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ff43b4d4-b48e-4efb-ae77-6eaba59d5c0a' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:repeat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ff43b4d4-b48e-4efb-ae77-6eaba59d5c0a' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:repeat() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:81)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@296e281a
testRepeatFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cdc21e28-5a09-458c-8450-3a7f358bfe89' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:repeat() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cdc21e28-5a09-458c-8450-3a7f358bfe89' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:repeat() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:70)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase@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 'ce101b8b-8724-4da4-ae5c-4448c9f9412e' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceAll() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce101b8b-8724-4da4-ae5c-4448c9f9412e' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceAll() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:76)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c8dc64e1-17d8-439a-bd86-317342b61927' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.java:170)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c8dc64e1-17d8-439a-bd86-317342b61927' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.java:170)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f2816c77-bcd1-43fd-b970-cc6e19a3183d' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f2816c77-bcd1-43fd-b970-cc6e19a3183d' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:87)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@59cda16e
testReplaceAllFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3172acce-a2bb-4148-9862-e09036d4401a' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:92)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3172acce-a2bb-4148-9862-e09036d4401a' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:92)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase@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 '1abcf89e-8010-4b57-a4f5-2334b959b9eb' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceFirst() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1abcf89e-8010-4b57-a4f5-2334b959b9eb' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceFirst() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:77)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '037ca725-4d54-468e-939c-9a39dc1846bb' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '037ca725-4d54-468e-939c-9a39dc1846bb' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:83)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '60e4fcd0-dac6-410d-af9d-8da908636765' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '60e4fcd0-dac6-410d-af9d-8da908636765' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:88)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@5dd903be
testReplaceFirstFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4cb52996-9f37-4c0f-9537-75872d735503' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4cb52996-9f37-4c0f-9537-75872d735503' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:93)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase@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 '090f40c3-b052-4495-b255-bee3f7987f35' @ Line: 1. Position: 136, near 'str:reverse()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:reverse() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '090f40c3-b052-4495-b255-bee3f7987f35' @ Line: 1. Position: 136, near 'str:reverse()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:reverse() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@12e0f1cb
testReverseFunctionExtension2
Test class: org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0fd3df5d-e9fe-4ec0-ad39-d12576dafd93' @ Line: 1. Position: 141, near 'str:reverse(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:reverse() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0fd3df5d-e9fe-4ec0-ad39-d12576dafd93' @ Line: 1. Position: 141, near 'str:reverse(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:reverse() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase@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 'b07b37e9-5e09-4b11-885a-019d018dd2b5' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:split() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b07b37e9-5e09-4b11-885a-019d018dd2b5' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:split() function, required 3, but found 2
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:75)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3145b904-34b5-4ece-9172-24a3cbc8c891' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3145b904-34b5-4ece-9172-24a3cbc8c891' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:82)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e07ad2a7-c202-443a-a4e8-2f01a4750983' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e07ad2a7-c202-443a-a4e8-2f01a4750983' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:89)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@4a163575
testSplitFunctionExtension6
Test class: org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5071dbce-2413-431a-bb2c-535b4af34d1d' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required INT, but found STRING
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5071dbce-2413-431a-bb2c-535b4af34d1d' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required INT, but found STRING
	at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:95)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase@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 'f7055428-52c3-4014-9f85-783a38237949' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:strcmp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f7055428-52c3-4014-9f85-783a38237949' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:strcmp() function, required 2, but found 1
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension4
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '22618d4a-c3ed-4fa2-b8c8-9be0e9201df6' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '22618d4a-c3ed-4fa2-b8c8-9be0e9201df6' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:80)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@7e642b88
testStrcmpFunctionExtension5
Test class: org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd30b3b74-b091-4f84-93fe-6efc8d1f1fa4' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd30b3b74-b091-4f84-93fe-6efc8d1f1fa4' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
	at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:85)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase@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 '371f6f3b-283b-422b-b31b-861f24282ad9' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:substr() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '371f6f3b-283b-422b-b31b-861f24282ad9' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:substr() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:99)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType1
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2d5e73ab-53b2-4f1b-98ce-f06ebf151bb8' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:114)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2d5e73ab-53b2-4f1b-98ce-f06ebf151bb8' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:114)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType2
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3ae20db2-f7cf-4d36-8b20-a8d0a6bb5bb8' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:substr() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:120)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3ae20db2-f7cf-4d36-8b20-a8d0a6bb5bb8' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:substr() function, required INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:120)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@6b350309
testSubstrFunctionExtensionWithInvalidDataType3
Test class: org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f0fd36b3-6c4f-4672-9a71-18d5fa655254' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.java:369)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:134)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f0fd36b3-6c4f-4672-9a71-18d5fa655254' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:134)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@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 '5ea38520-77ee-4cfa-9e00-6b460f134da9' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of Arguments passed to str:substr() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:137)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ea38520-77ee-4cfa-9e00-6b460f134da9' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of Arguments passed to str:substr() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:137)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase@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 '715c1959-8530-4dce-9783-f6ea86055cf9' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeForDistinct(TokenizerStreamProcessorExtensionTestCase.java:211)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Third attribute 'distinct' should be of type boolean. But found STRING
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:163)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '715c1959-8530-4dce-9783-f6ea86055cf9' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeForDistinct(TokenizerStreamProcessorExtensionTestCase.java:211)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Third attribute 'distinct' should be of type boolean. But found STRING
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:163)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidDataTypeforDelimiter
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7fa4cf43-443f-412f-aa9d-45e44a0d564d' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforDelimiter(TokenizerStreamProcessorExtensionTestCase.java:128)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7fa4cf43-443f-412f-aa9d-45e44a0d564d' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforDelimiter(TokenizerStreamProcessorExtensionTestCase.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidDataTypeforText
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c7927294-e1b4-41cc-afd9-8e2335251bdd' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforText(TokenizerStreamProcessorExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c7927294-e1b4-41cc-afd9-8e2335251bdd' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforText(TokenizerStreamProcessorExtensionTestCase.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:135)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidNoOfArguments
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ba4ad927-934f-4a4e-aaa9-a6126d54a673' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidNoOfArguments(TokenizerStreamProcessorExtensionTestCase.java:106)
Caused by: java.lang.IllegalArgumentException: Invalid no of arguments passed to str:tokenize() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:167)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ba4ad927-934f-4a4e-aaa9-a6126d54a673' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidNoOfArguments(TokenizerStreamProcessorExtensionTestCase.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: java.lang.IllegalArgumentException: Invalid no of arguments passed to str:tokenize() function, required 2 or 3, but found 1
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:167)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@7ecec90d
testTokenizerExtensionWithInvalidSyntaxForRegex
Test class: org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '67025320-7655-4c0e-b1e5-ceec467596b5' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidSyntaxForRegex(TokenizerStreamProcessorExtensionTestCase.java:94)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Syntax error in regular-expression pattern : Dangling meta character '*' near index 8
\s|\'|,|*
        ^
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:147)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '67025320-7655-4c0e-b1e5-ceec467596b5' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:101)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:218)
	at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
	at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidSyntaxForRegex(TokenizerStreamProcessorExtensionTestCase.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Syntax error in regular-expression pattern : Dangling meta character '*' near index 8
\s|\'|,|*
        ^
	at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:147)
	at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
	at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:83)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase@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 '9143646b-8580-4872-8f4a-7dd489d584b5' @ Line: 1. Position: 133, near 'str:trim()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:trim() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9143646b-8580-4872-8f4a-7dd489d584b5' @ Line: 1. Position: 133, near 'str:trim()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:trim() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:67)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@588f63c
testTrimFunctionExtension3
Test class: org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'abed64d9-f06b-4fe6-b4f2-86eceb889410' @ Line: 1. Position: 138, near 'str:trim(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:trim() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'abed64d9-f06b-4fe6-b4f2-86eceb889410' @ Line: 1. Position: 138, near 'str:trim(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:trim() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase@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 '9aea6805-7b8a-460b-b0df-2f60dc2d46ad' @ Line: 1. Position: 139, near 'str:upper(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:upper() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9aea6805-7b8a-460b-b0df-2f60dc2d46ad' @ Line: 1. Position: 139, near 'str:upper(price)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:upper() function, required STRING, but found LONG
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:74)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@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 '9d5c886a-1870-4fb3-bbbe-2ce9013c076e' @ Line: 1. Position: 134, near 'str:upper()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:upper() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9d5c886a-1870-4fb3-bbbe-2ce9013c076e' @ Line: 1. Position: 134, near 'str:upper()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:upper() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:68)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase@1981d861
testWithInvalidDatatype
Test class: org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6d775ce6-86e3-4551-abe1-0216a646dfe6' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of str:hex() function, required STRINGbut found INT
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6d775ce6-86e3-4551-abe1-0216a646dfe6' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of str:hex() function, required STRINGbut found INT
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:72)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@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 'e490c436-0fdb-46d9-a5fb-b80eb3a5ea71' @ Line: 1. Position: 103, near 'str:hex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:hex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e490c436-0fdb-46d9-a5fb-b80eb3a5ea71' @ Line: 1. Position: 103, near 'str:hex()'.
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:186)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:hex() function, required 1, but found 0
	at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:66)
	at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
	... 36 more
0 org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase@4745e9c