Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddhi-Execution-String_Test-Suite | ||||||
siddhi-execution-string-unit-tests | 124 | 0 | 0 | 1,499 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9d94f749-78fe-43ac-84ea-3bc09fc1220f' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:charat() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:75)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e1f3d307-8d2c-49f5-ae31-625d301ee814' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:charat() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:81)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e66fce78-3c75-48cf-8ae3-c557d99ba012' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:charat() function, required 2, but found 3
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:68)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '480aa2c4-e708-4a6d-adae-47632b227d3a' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:79)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f40865d5-a4e1-4641-8322-430c279f3874' @ Line: 1. Position: 146, near 'str:coalesce()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:coalesce() function requires at least one argument, but found only 0
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:70)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '59c8f05f-72d5-4056-8c4b-31c9b58719fc' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:concat() function requires at least two arguments, but found only 1
at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:66)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3db7cca1-4003-4a01-b702-0dbef1cf9a31' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.java:119)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:contains() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:83)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '3fa34c8f-454e-493d-aa2b-cbfe6edf27ee' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:contains() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:88)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1b86d7b5-39df-41e9-94aa-c2fa60ec2784' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:contains() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:77)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0726584f-6336-46a0-8a35-77929799610c' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:90)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a77cbc32-0730-40d8-85f2-bf569f2ac542' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:96)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a6dac4bd-b6ed-48ae-b504-82cb4b35528a' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:equalsIgnoreCase() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce7fe9fb-d0e5-4507-8e5c-a20b021ec449' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of str:hex() function, required STRINGbut found INT
at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:72)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '18b04a9f-929c-4c81-87ee-085caa1d1518' @ Line: 1. Position: 103, near 'str:hex()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:hex() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:66)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6174afef-fe82-48f6-8c4b-28c2e80d7cff' @ Line: 1. Position: 140, near 'str:length(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:length() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:71)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a73ff46d-a0cb-4f27-a110-8ba1531b144f' @ Line: 1. Position: 135, near 'str:length()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:length() function. Required 1. Found 0
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:66)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '27e997e2-d402-43f8-a77b-769016de2ace' @ Line: 1. Position: 139, near 'str:lower(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:lower() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '996810c6-8336-4794-be54-d91d6f9b7f24' @ Line: 1. Position: 134, near 'str:lower()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:lower() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:68)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '01fff43d-cd5e-4500-ac91-b1aa4b816783' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:regexp() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:79)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1b432ef4-d330-4aaf-b5a7-e9eead5afa15' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:regexp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:86)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d26f582-c9f7-4fd6-84a8-29cab07f84f4' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:regexp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:92)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '886cad09-0779-4aaa-9fe4-212ac7a25adf' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bcc981d6-cce3-4e7c-84b3-5d08d72d27ac' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:repeat() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:81)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c462a5f7-ab0b-42e9-9ce6-5d4fbbf7e9e0' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:repeat() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:70)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5d086474-0c81-4cde-b6b9-b931b84c338d' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceAll() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '62c57756-24e7-4d88-87e2-d1ec44fdf951' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.java:170)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6c55b80c-4dd0-4ab8-bd24-fa8858b24a7d' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:87)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '235c3e2f-d774-4f2b-b237-ef0c06c0e4e4' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:92)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'eecf48f2-836e-48dd-a691-4673b533309d' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceFirst() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fe2cf3d3-b6ab-445a-a3c9-0a2160319745' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'baf5204c-6d45-42ec-a440-6962ee6c7927' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:87)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bde5e0b6-ebfc-423b-af53-5116bd5acd07' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:92)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '14622623-d41f-42ed-a5b9-d585c6db12ec' @ Line: 1. Position: 136, near 'str:reverse()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:reverse() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:66)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'b5238db9-2ee1-4e46-a41a-970990daa336' @ Line: 1. Position: 141, near 'str:reverse(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:reverse() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:72)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ebd145c4-8afd-471c-bcee-6c64c3470168' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:split() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '123aa95c-48af-4372-9f94-01ed37482ba6' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:split() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:81)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a35db042-babe-42a7-93c6-ab8857d4b5a0' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:88)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '218c208d-5399-43f9-b64e-32718a246d5e' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required INT, but found STRING
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:94)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '07a8b858-8e3f-4528-a300-330bf65fda36' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:strcmp() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:71)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'caba4ee0-ec12-41d7-95f0-caffe85c3c73' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:77)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '03050319-4b79-4d1f-b0f2-4832ff97e8ca' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '33ec3dc5-b261-496d-90a5-51c91369e620' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:substr() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:98)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '274003e6-4795-4181-8c25-e67b85707a7a' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:113)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fd05d97b-7e68-412d-8a8b-59c968097ca7' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:substr() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:119)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f102091f-5de5-44d5-85ae-d0b6a21b1ebd' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.java:369)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:133)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '36807f68-31c3-419e-83e5-23035b17aaa3' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of Arguments passed to str:substr() function, required 2 or 3, but found 1
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:136)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1c521bc6-d342-4a9d-afab-8ad2b1c0f30b' @ 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:151)
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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '63827bff-274f-43e4-84f9-b7b461a16ef8' @ 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:123)
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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e87a836e-cfa8-42d1-9f2d-a01effccb95d' @ 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:123)
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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ad5be073-021e-4b40-986d-2aff59a7c0c4' @ 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:155)
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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8b53ff1f-8968-40e0-8cd8-4bc615d4874c' @ 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: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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '730c6a13-405f-444a-9105-d35f54351c4e' @ Line: 1. Position: 133, near 'str:trim()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:trim() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:67)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ba76af3e-1483-48f7-bfb7-833d3fa7723d' @ Line: 1. Position: 138, near 'str:trim(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:trim() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'e2c09de7-52db-4962-b570-30e1f2bf8ec2' @ Line: 1. Position: 105, near 'str:unhex()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to math:unhex() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:66)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7169c1d6-672e-4a5e-881d-918ef10bf749' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of math:unhex() function, required STRING but found INT
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:72)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '758066e2-fb4c-4a39-9435-bc76b7ce480d' @ Line: 1. Position: 139, near 'str:upper(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:upper() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '36ba996b-03a7-4a59-9a43-a78a65ec46a3' @ Line: 1. Position: 134, near 'str:upper()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:59)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:426)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:upper() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:68)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:57)
... 36 more
... Removed 28 stack frames |