| Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
|---|---|---|---|---|---|---|
| Siddhi-Execution-String_Test-Suite | ||||||
| siddhi-execution-string-unit-tests | 132 | 0 | 0 | 1,656 | ||
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f7aa77df-3819-42e4-bd64-e1e84446bd04' @ Line: 1. Position: 142, near 'str:charAt(price,1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType(CharAtFunctionExtensionTestCase.java:154)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:charat() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:78)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ea79f5c-4969-450b-bf9d-54b78fc47cb7' @ Line: 1. Position: 147, near 'str:charAt(symbol,price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidDataType1(CharAtFunctionExtensionTestCase.java:165)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:charat() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:84)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d672c09-93e0-474d-9ae0-99792d156380' @ Line: 1. Position: 145, near 'str:charAt(symbol,1,2)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtensionTestCase.testCharAtFunctionExtensionWithInvalidNoOfArguments(CharAtFunctionExtensionTestCase.java:142)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:charat() function, required 2, but found 3
at org.wso2.extension.siddhi.execution.string.CharAtFunctionExtension.init(CharAtFunctionExtension.java:71)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '0ac28fce-5e84-4a93-bf8e-d4f3d9ff6839' @ Line: 1. Position: 158, near 'str:coalesce(symbol1,symbol2)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithInvalidDatatypes(CoalesceFunctionExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the 2'th argument of str:coalesce() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '30ba6d9d-1ebe-49d3-9b41-c4c0ebb74918' @ Line: 1. Position: 146, near 'str:coalesce()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtensionTestCase.testCoalesceFunctionExtensionWithZeroArgument(CoalesceFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:coalesce() function requires at least one argument, but found only 0
at org.wso2.extension.siddhi.execution.string.CoalesceFunctionExtension.init(CoalesceFunctionExtension.java:73)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '5ee46dd8-6d14-45f8-b947-1b6059a69ed6' @ Line: 1. Position: 151, near 'str:concat(symbol1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtensionTestCase.testCoalesceFunctionExtensionWithOneArgument(ConcatFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:concat() function requires at least two arguments, but found only 1
at org.wso2.extension.siddhi.execution.string.ConcatFunctionExtension.init(ConcatFunctionExtension.java:68)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '47e21576-0267-4bb1-8cd6-9bdcd5d58a0c' @ Line: 1. Position: 150, near 'str:contains(price, 'WSO2')'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(ContainsFunctionExtensionTestCase.java:119)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:contains() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:86)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'eb757b05-795f-4d46-946e-0494a5417492' @ Line: 1. Position: 148, near 'str:contains(symbol, 123)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(ContainsFunctionExtensionTestCase.java:133)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:contains() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:91)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '985a237d-bf6a-42e6-8067-807a1732b917' @ Line: 1. Position: 143, near 'str:contains(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(ContainsFunctionExtensionTestCase.java:104)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:contains() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.ContainsFunctionExtension.init(ContainsFunctionExtension.java:80)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '1551249b-c0a4-4759-b9e9-32312f9a3c0a' @ Line: 1. Position: 158, near 'str:equalsIgnoreCase(price, 'WSO2')'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType(EqualsIgnoreCaseFunctionExtensionTestCase.java:118)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:equalsIgnoreCase() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:93)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4f9d7392-92ec-410d-a2f8-03de13f072b0' @ Line: 1. Position: 154, near 'str:equalsIgnoreCase(symbol, 1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithInvalidDataType1(EqualsIgnoreCaseFunctionExtensionTestCase.java:131)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:equalsIgnoreCase()) function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:99)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c52c9450-4297-48c9-9287-d780c27b3e7b' @ Line: 1. Position: 151, near 'str:equalsIgnoreCase(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtensionTestCase.testContainsFunctionExtensionWithOneArgument(EqualsIgnoreCaseFunctionExtensionTestCase.java:105)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:equalsIgnoreCase() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.EqualsIgnoreCaseFunctionExtension.init(EqualsIgnoreCaseFunctionExtension.java:85)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bd6317d3-060b-4701-aadf-9cabf1bd2944' @ Line: 1. Position: 191, near 'str:groupConcat(symbol1, '-', false, 'ASC1')'.
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:438)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension7(GroupConcatFunctionExtensionTestCase.java:379)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's forth attribute `order` should be a constant `'ASC'` or `'DESC'`, but found 'ASC1'.
at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:147)
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9b00c8e4-9f7f-4eda-ba6d-d3118ac9b521' @ Line: 1. Position: 190, near 'str:groupConcat(symbol1, '-', 'ASC', false)'.
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:438)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtensionTestCase.testFunctionExtension8(GroupConcatFunctionExtensionTestCase.java:392)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: str:groupConcat() function's third attribute `distinct` should be a constant `BOOL`, but found STRING .
at org.wso2.extension.siddhi.execution.string.GroupConcatFunctionExtension.init(GroupConcatFunctionExtension.java:122)
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce798fd8-359e-4023-bcb3-f85ffc10368e' @ Line: 1. Position: 107, near 'str:hex(inValue)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithInvalidDatatype(HexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of str:hex() function, required STRINGbut found INT
at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:75)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '16bb71c6-df5a-45e6-a18e-a359453f69d5' @ Line: 1. Position: 103, near 'str:hex()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.HexFunctionExtensionTestCase.testWithZeroArguments(HexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:hex() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.HexFunctionExtension.init(HexFunctionExtension.java:69)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '922169f4-955d-4f55-a3a7-b1f6bc847c1d' @ Line: 1. Position: 140, near 'str:length(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithInvalidDataType(LengthFunctionExtensionTestCase.java:109)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:length() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '40a816d2-5fb5-4316-9ae6-772c37712bc9' @ Line: 1. Position: 135, near 'str:length()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtensionTestCase.testLengthFunctionExtensionWithZeroArguments(LengthFunctionExtensionTestCase.java:98)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:length() function. Required 1. Found 0
at org.wso2.extension.siddhi.execution.string.LengthFunctionExtension.init(LengthFunctionExtension.java:69)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c4811f80-b30f-44de-85e5-1c1eb1ba2de7' @ Line: 1. Position: 139, near 'str:lower(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithInvalidDataType(LowerFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:lower() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c91db099-62dd-4bbd-a8c6-ecbeb2c26d67' @ Line: 1. Position: 134, near 'str:lower()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtensionTestCase.testLowerFunctionExtensionWithZeroArgument(LowerFunctionExtensionTestCase.java:100)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:lower() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.LowerFunctionExtension.init(LowerFunctionExtension.java:70)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7ed341fc-3737-4518-a1de-0ab6d0284d6d' @ Line: 1. Position: 142, near 'str:regexp(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension3(RegexpFunctionExtensionTestCase.java:144)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:regexp() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f313d433-22d0-4621-93d0-913a0217f0bd' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension4(RegexpFunctionExtensionTestCase.java:156)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:regexp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:89)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cd8fb74d-e4d0-43cf-9074-3c7e26dc2789' @ Line: 1. Position: 146, near 'str:regexp(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtensionTestCase.testRegexpFunctionExtension5(RegexpFunctionExtensionTestCase.java:168)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:regexp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.RegexpFunctionExtension.init(RegexpFunctionExtension.java:95)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '636fd6d2-23b4-4592-9bf4-8e1454faed2d' @ Line: 1. Position: 147, near 'str:repeat(volume, times)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension1(RepeatFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:repeat() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:78)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '876ebc67-51b5-4259-b891-07b7807dd21e' @ Line: 1. Position: 148, near 'str:repeat(symbol, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension2(RepeatFunctionExtensionTestCase.java:171)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:repeat() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:83)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '86db7a32-5fbf-4e2f-a0ff-224885551fdf' @ Line: 1. Position: 140, near 'str:repeat(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtensionTestCase.testRepeatFunctionExtension3(RepeatFunctionExtensionTestCase.java:186)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:repeat() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.RepeatFunctionExtension.init(RepeatFunctionExtension.java:72)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2755eb85-bdcc-443a-83b6-053a4c873287' @ Line: 1. Position: 161, near 'str:replaceAll(symbol, regex)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension3(ReplaceAllFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceAll() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:78)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '80c73a12-ad6f-4638-a30d-a303487d5a35' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension4(ReplaceAllFunctionExtensionTestCase.java:170)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:84)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd85a86df-cda9-43c0-8977-9995a63f8390' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension5(ReplaceAllFunctionExtensionTestCase.java:185)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:89)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c7d98476-3c23-4eb6-aaf3-d44a9c0e91be' @ Line: 1. Position: 171, near 'str:replaceAll(symbol, regex, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtensionTestCase.testReplaceAllFunctionExtension6(ReplaceAllFunctionExtensionTestCase.java:200)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceAll() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceAllFunctionExtension.init(ReplaceAllFunctionExtension.java:94)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ee77cd9e-4664-4fc6-948a-f89a6f84f898' @ Line: 1. Position: 165, near 'str:replaceFirst(symbol, target)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension3(ReplaceFirstFunctionExtensionTestCase.java:205)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:replaceFirst() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:78)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '182952ca-8c33-4217-bde6-a28fd662ef80' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension4(ReplaceFirstFunctionExtensionTestCase.java:220)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:84)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '856f200b-ee66-4e17-a86e-95d20a378867' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension5(ReplaceFirstFunctionExtensionTestCase.java:235)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:89)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4c618787-6499-451a-87b7-11d1f646e389' @ Line: 1. Position: 175, near 'str:replaceFirst(symbol, target, replacement)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtensionTestCase.testReplaceFirstFunctionExtension6(ReplaceFirstFunctionExtensionTestCase.java:250)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:replaceFirst() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.ReplaceFirstFunctionExtension.init(ReplaceFirstFunctionExtension.java:94)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4868966a-98e1-4e77-a89e-391b9886e7e7' @ Line: 1. Position: 136, near 'str:reverse()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension1(ReverseFunctionExtensionTestCase.java:99)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:reverse() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:68)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '772bd67c-3057-4998-8459-965f7a46a876' @ Line: 1. Position: 141, near 'str:reverse(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtensionTestCase.testReverseFunctionExtension2(ReverseFunctionExtensionTestCase.java:110)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:reverse() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.ReverseFunctionExtension.init(ReverseFunctionExtension.java:74)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'bfeef862-0e4c-413c-9fa8-d7f3c911b0cb' @ Line: 1. Position: 165, near 'str:split(symbol, splitCharacter)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension3(SplitFunctionExtensionTestCase.java:152)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:split() function, required 3, but found 2
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:77)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'aadb1357-a087-4615-86ad-ba0cbfa11c09' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension4(SplitFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:split() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:84)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4255d9e3-b52a-4029-80fd-1ddc2bf771ae' @ Line: 1. Position: 169, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension5(SplitFunctionExtensionTestCase.java:182)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:91)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'fa634506-99c7-49cb-8071-63ddd8213cc0' @ Line: 1. Position: 175, near 'str:split(symbol, splitCharacter, index)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtensionTestCase.testSplitFunctionExtension6(SplitFunctionExtensionTestCase.java:197)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:split() function, required INT, but found STRING
at org.wso2.extension.siddhi.execution.string.SplitFunctionExtension.init(SplitFunctionExtension.java:97)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'cb792521-fc50-4df1-8253-fc5cf1ba7af9' @ Line: 1. Position: 147, near 'str:strcmp(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension3(StrcmpFunctionExtensionTestCase.java:143)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:strcmp() function, required 2, but found 1
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '506ec999-900f-4dd4-a1da-a1d34d0eaefe' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension4(StrcmpFunctionExtensionTestCase.java:155)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:strcmp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:82)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '24ad185d-0adc-46cc-9fd0-41ef31bcd6c2' @ Line: 1. Position: 155, near 'str:strcmp(symbol, compareTo)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtensionTestCase.testStrcmpFunctionExtension5(StrcmpFunctionExtensionTestCase.java:167)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:strcmp() function, required STRING, but found INT
at org.wso2.extension.siddhi.execution.string.StrcmpFunctionExtension.init(StrcmpFunctionExtension.java:87)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '9da07989-0d26-4a7a-87d5-f18e792b3530' @ Line: 1. Position: 143, near 'str:substr(price, 4)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType(SubstrFunctionExtensionTestCase.java:333)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the first argument of str:substr() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:108)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8b5a6d33-dd23-4b76-8b08-ae62c337e79e' @ Line: 1. Position: 149, near 'str:substr(symbol, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType1(SubstrFunctionExtensionTestCase.java:345)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:123)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4d4a0aa2-1fde-4e69-ad6d-4b5d2750b50b' @ Line: 1. Position: 152, near 'str:substr(symbol, 2, volume)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType2(SubstrFunctionExtensionTestCase.java:357)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the third argument of str:substr() function, required INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:129)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '04b2a366-659c-47ff-9f7c-edf538ef8b86' @ Line: 1. Position: 152, near 'str:substr(symbol, volume, 1)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithInvalidDataType3(SubstrFunctionExtensionTestCase.java:369)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the second argument of str:substr() function, required STRING or INT, but found LONG
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:143)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '8f8f05d6-4052-490a-92b7-ebe77c352ec3' @ Line: 1. Position: 141, near 'str:substr(symbol)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtensionTestCase.testSubstrFunctionExtensionWithOneArgument(SubstrFunctionExtensionTestCase.java:380)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of Arguments passed to str:substr() function, required 2 or 3, but found 1
at org.wso2.extension.siddhi.execution.string.SubstrFunctionExtension.init(SubstrFunctionExtension.java:146)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '6816ae2c-2edf-46d9-bc5b-5524b3d528ab' @ Line: 1. Position: 110, near '#str:tokenize(data, ',', 'abc')'.
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeForDistinct(TokenizerStreamProcessorExtensionTestCase.java:211)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Third attribute 'distinct' should be of type boolean. But found STRING
at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:164)
at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:82)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '45ca83f9-b5f9-443d-a44c-fa1c3a3c0779' @ Line: 1. Position: 103, near '#str:tokenize(text2, 1)'.
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforDelimiter(TokenizerStreamProcessorExtensionTestCase.java:128)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:136)
at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:82)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'a51177a8-6ebc-42d4-95cc-fe2178923461' @ Line: 1. Position: 105, near '#str:tokenize(text2, ' ')'.
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidDataTypeforText(TokenizerStreamProcessorExtensionTestCase.java:117)
Caused by: org.wso2.siddhi.core.exception.SiddhiAppCreationException: Input string should be of type string. But found DOUBLE
at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:136)
at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:82)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '784eb77d-7f41-46d7-b51a-6ae9b896bb34' @ Line: 1. Position: 100, near '#str:tokenize(text2)'.
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidNoOfArguments(TokenizerStreamProcessorExtensionTestCase.java:106)
Caused by: java.lang.IllegalArgumentException: Invalid no of arguments passed to str:tokenize() function, required 2 or 3, but found 1
at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:168)
at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:82)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd0cdb8bb-3d17-481d-bfe3-f4a77bd9cf86' @ Line: 1. Position: 111, near '#str:tokenize(data, "\s|\'|,|*")'.
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:100)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.generateProcessor(SingleInputStreamParser.java:217)
at org.wso2.siddhi.core.util.parser.SingleInputStreamParser.parseInputStream(SingleInputStreamParser.java:122)
at org.wso2.siddhi.core.util.parser.InputStreamParser.parse(InputStreamParser.java:84)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:111)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TokenizerStreamProcessorExtensionTestCase.testTokenizerExtensionWithInvalidSyntaxForRegex(TokenizerStreamProcessorExtensionTestCase.java:94)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Syntax error in regular-expression pattern : Dangling meta character '*' near index 8
\s|\'|,|*
^
at org.wso2.extension.siddhi.execution.string.TokenizeStreamProcessorExtension.init(TokenizeStreamProcessorExtension.java:148)
at org.wso2.siddhi.core.query.processor.stream.StreamProcessor.init(StreamProcessor.java:77)
at org.wso2.siddhi.core.query.processor.stream.AbstractStreamProcessor.initProcessor(AbstractStreamProcessor.java:82)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '83b62d86-448a-4a04-b09c-e68a626d3bec' @ Line: 1. Position: 133, near 'str:trim()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension2(TrimFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:trim() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:69)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '79844843-41d1-4cbd-92ed-01c9e3b6a5e9' @ Line: 1. Position: 138, near 'str:trim(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtensionTestCase.testTrimFunctionExtension3(TrimFunctionExtensionTestCase.java:112)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:trim() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.TrimFunctionExtension.init(TrimFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'd8bf5e7c-61ba-4323-bf1d-389336dfa67a' @ Line: 1. Position: 105, near 'str:unhex()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess1(UnhexFunctionExtensionTestCase.java:89)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to math:unhex() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:67)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ae785e89-e318-4e05-b9a5-4a8f9709d705' @ Line: 1. Position: 109, near 'str:unhex(inValue)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtensionTestCase.testProcess2(UnhexFunctionExtensionTestCase.java:102)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for the argument of math:unhex() function, required STRING but found INT
at org.wso2.extension.siddhi.execution.string.UnhexFunctionExtension.init(UnhexFunctionExtension.java:73)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '4b90903d-5b80-484a-9e56-715d9235bf4d' @ Line: 1. Position: 139, near 'str:upper(price)'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithInvalidDataType(UpperFunctionExtensionTestCase.java:113)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid parameter type found for str:upper() function, required STRING, but found LONG
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:76)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |
| Expected Exception |
|---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '618b732a-f2a4-4ba0-a5f1-0a41095c2515' @ Line: 1. Position: 134, near 'str:upper()'.
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:58)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:427)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:245)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtensionTestCase.testUpperFunctionExtensionWithZeroArgument(UpperFunctionExtensionTestCase.java:101)
Caused by: org.wso2.siddhi.query.api.exception.SiddhiAppValidationException: Invalid no of arguments passed to str:upper() function, required 1, but found 0
at org.wso2.extension.siddhi.execution.string.UpperFunctionExtension.init(UpperFunctionExtension.java:70)
at org.wso2.siddhi.core.executor.function.FunctionExecutor.initExecutor(FunctionExecutor.java:56)
... 36 more
... Removed 28 stack frames |