TestMethods
Passed
Scenarios
Passed
# skipped# failedTotal
Time
Included
Groups
Excluded
Groups
Surefire test1616008.7 seconds
ClassMethod# of
Scenarios
StartTime
(ms)
Surefire test — passed
org.wso2.extension.siddhi.script.scala.EvalScriptTestCasetestDefineFunctionsWithSameFunctionID 11556099364227339
testDefineManyFunctionsAndCallThemRandom 115560993645676639
testEvalJavaScriptConcat 1155609937120757
testEvalScalaConcat 11556099371264750
testJavaScriptCompilationFailure 1155609937201522
testMissingBrackets 115560993720383
testMissingDefineKeyWord 115560993720421
testMissingFunctionKeyWord 115560993720441
testMissingFunctionName 115560993720461
testMissingLanguage 115560993720472
testMissingReturnType 115560993720491
testMissingReturnTypeWhileParsing 115560993720511
testReturnType 11556099372053588
testScalaCompilationFailure 11556099372642288
testUseUndefinedFunction 115560993729318
testWrongBrackets 115560993729402

Surefire test

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testDefineManyFunctionsAndCallThemRandom

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingDefineKeyWord

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 0. Syntax error in SiddhiQL, mismatched input 'function' expecting {'@', DEFINE, UNEXPECTED_CHAR}.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:327)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:139)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:474)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingDefineKeyWord(EvalScriptTestCase.java:439)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testScalaCompilationFailure

Error on '0647d4eb-3806-479f-aced-b3b4fa2273b6' @ Line: 1. Position: 146, near 'define function concat[Scala] return string { for(i <- 0 until data.length){ concatenatedString += data(i).toString } concatenatedString }'. Compilation Failure of the Scala Function concat

org.wso2.extension.siddhi.script.scala.EvalScala.init(EvalScala.java:58)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addFunction(DefinitionParserHelper.java:251)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineFunction(SiddhiAppRuntimeBuilder.java:230)
at io.siddhi.core.util.parser.SiddhiAppParser.defineFunctionDefinitions(SiddhiAppParser.java:350)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:232)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testScalaCompilationFailure(EvalScriptTestCase.java:155)
30 lines not shown

Caused by 2 error(s) occured : Eval.scala:6: not found: value concatenatedString concatenatedString += data(i).toString ^ Eval.scala:8: not found: value concatenatedString concatenatedString ^

com.googlecode.scalascriptengine.internals.CompilerManager.doCompile$1(CompilerManager.scala:81)
at com.googlecode.scalascriptengine.internals.CompilerManager.all$1(CompilerManager.scala:89)
at com.googlecode.scalascriptengine.internals.CompilerManager.compile(CompilerManager.scala:94)
at com.googlecode.scalascriptengine.ScalaScriptEngine.refresh(ScalaScriptEngine.scala:95)
at com.googlecode.scalascriptengine.RefreshSynchronously$class.doRefresh(RefreshPolicies.scala:94)
at com.googlecode.scalascriptengine.ScalaScriptEngine$$anon$1.doRefresh(ScalaScriptEngine.scala:334)
at com.googlecode.scalascriptengine.OnChangeRefresh$class.get(RefreshPolicies.scala:69)
at com.googlecode.scalascriptengine.ScalaScriptEngine$$anon$1.get(ScalaScriptEngine.scala:334)
at com.googlecode.scalascriptengine.EvalCodeImpl.<init>(EvalCode.scala:68)
at com.googlecode.scalascriptengine.EvalCode$.apply(EvalCode.scala:93)
at com.googlecode.scalascriptengine.EvalCode$.withoutArgs(EvalCode.scala:96)
at org.wso2.extension.siddhi.script.scala.ScalaEvaluationEngine.eval(ScalaEvaluationEngine.scala:26)
at org.wso2.extension.siddhi.script.scala.EvalScala.init(EvalScala.java:56)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addFunction(DefinitionParserHelper.java:251)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineFunction(SiddhiAppRuntimeBuilder.java:230)
at io.siddhi.core.util.parser.SiddhiAppParser.defineFunctionDefinitions(SiddhiAppParser.java:350)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:232)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testScalaCompilationFailure(EvalScriptTestCase.java:155)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testReturnType

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testWrongBrackets

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 22. Syntax error in SiddhiQL, mismatched input '(' expecting '['.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:327)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:139)
at io.siddhi.query.compiler.SiddhiQLParser.definition_function(SiddhiQLParser.java:1291)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:349)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testWrongBrackets(EvalScriptTestCase.java:519)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testDefineFunctionsWithSameFunctionID

Error between @ Line: 7. Position: 2 and @ Line: 7. Position: 170. The function definition with the same id exists concat

io.siddhi.query.api.SiddhiApp.checkDuplicateFunctionExist(SiddhiApp.java:351)
at io.siddhi.query.api.SiddhiApp.defineFunction(SiddhiApp.java:343)
at io.siddhi.query.compiler.internal.SiddhiQLBaseVisitorImpl.visitSiddhi_app(SiddhiQLBaseVisitorImpl.java:137)
at io.siddhi.query.compiler.internal.SiddhiQLBaseVisitorImpl.visitSiddhi_app(SiddhiQLBaseVisitorImpl.java:101)
at io.siddhi.query.compiler.SiddhiQLParser$Siddhi_appContext.accept(SiddhiQLParser.java:287)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18)
at io.siddhi.query.compiler.internal.SiddhiQLBaseVisitorImpl.visitParse(SiddhiQLBaseVisitorImpl.java:114)
at io.siddhi.query.compiler.SiddhiQLParser$ParseContext.accept(SiddhiQLParser.java:167)
at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:18)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:75)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testDefineFunctionsWithSameFunctionID(EvalScriptTestCase.java:208)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingFunctionKeyWord

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 7. Syntax error in SiddhiQL, no viable alternative at input 'define concat'.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:310)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:136)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:474)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingFunctionKeyWord(EvalScriptTestCase.java:419)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingFunctionName

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 16. Syntax error in SiddhiQL, extraneous input '[' expecting {ID_QUOTES, ID}.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportUnwantedToken(DefaultErrorStrategy.java:377)
at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenDeletion(DefaultErrorStrategy.java:548)
at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:467)
at io.siddhi.query.compiler.SiddhiQLParser.id(SiddhiQLParser.java:8840)
at io.siddhi.query.compiler.SiddhiQLParser.function_name(SiddhiQLParser.java:1321)
at io.siddhi.query.compiler.SiddhiQLParser.definition_function(SiddhiQLParser.java:1280)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:349)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingFunctionName(EvalScriptTestCase.java:459)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingBrackets

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 23. Syntax error in SiddhiQL, missing '[' at 'Scala'.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:409)
at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:519)
at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:476)
at org.antlr.v4.runtime.Parser.match(Parser.java:206)
at io.siddhi.query.compiler.SiddhiQLParser.definition_function(SiddhiQLParser.java:1281)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:349)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingBrackets(EvalScriptTestCase.java:499)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingLanguage

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 23. Syntax error in SiddhiQL, missing {ID_QUOTES, ID} at ']'.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:409)
at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:519)
at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:476)
at io.siddhi.query.compiler.SiddhiQLParser.id(SiddhiQLParser.java:8840)
at io.siddhi.query.compiler.SiddhiQLParser.language_name(SiddhiQLParser.java:1356)
at io.siddhi.query.compiler.SiddhiQLParser.definition_function(SiddhiQLParser.java:1282)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:349)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingLanguage(EvalScriptTestCase.java:479)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testEvalScalaConcat

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testEvalJavaScriptConcat

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingReturnTypeWhileParsing

Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 30. Syntax error in SiddhiQL, mismatched input '{\n var concatenatedString = ""\n for(i <- 0 until data.length) {\n concatenatedString += data(i).toString\n }\n concatenatedString\n}' expecting RETURN.

io.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:327)
at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:139)
at io.siddhi.query.compiler.SiddhiQLParser.definition_function(SiddhiQLParser.java:1291)
at io.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:349)
at io.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:178)
at io.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:72)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingReturnTypeWhileParsing(EvalScriptTestCase.java:539)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testJavaScriptCompilationFailure

Error on '781416c4-43b2-4ad5-8897-be1a8c5e917a' @ Line: 1. Position: 168, near 'define function concatJ[JavaScript] return string { var str1 = data[0; var str2 = data[1]; var str3 = data[2]; var res = str1.concat(str2,str3); return res; }'. Compilation Failure of the JavaScript Function concatJ

org.wso2.extension.siddhi.script.js.EvalJavaScript.init(EvalJavaScript.java:78)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addFunction(DefinitionParserHelper.java:251)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineFunction(SiddhiAppRuntimeBuilder.java:230)
at io.siddhi.core.util.parser.SiddhiAppParser.defineFunctionDefinitions(SiddhiAppParser.java:350)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:232)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testJavaScriptCompilationFailure(EvalScriptTestCase.java:177)
30 lines not shown

Caused by concatJ:2:19 Expected ] but found ; var str1 = data[0; ^ in concatJ at line number 2 at column number 19

jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:470)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:537)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:524)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.wso2.extension.siddhi.script.js.EvalJavaScript.init(EvalJavaScript.java:76)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addFunction(DefinitionParserHelper.java:251)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineFunction(SiddhiAppRuntimeBuilder.java:230)
at io.siddhi.core.util.parser.SiddhiAppParser.defineFunctionDefinitions(SiddhiAppParser.java:350)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:232)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testJavaScriptCompilationFailure(EvalScriptTestCase.java:177)
30 lines not shown

Caused by concatJ:2:19 Expected ] but found ; var str1 = data[0; ^

jdk.nashorn.internal.parser.AbstractParser.error(AbstractParser.java:294)
at jdk.nashorn.internal.parser.AbstractParser.error(AbstractParser.java:279)
at jdk.nashorn.internal.parser.AbstractParser.expectDontAdvance(AbstractParser.java:350)
at jdk.nashorn.internal.parser.AbstractParser.expect(AbstractParser.java:337)
at jdk.nashorn.internal.parser.Parser.memberExpression(Parser.java:2527)
at jdk.nashorn.internal.parser.Parser.leftHandSideExpression(Parser.java:2372)
at jdk.nashorn.internal.parser.Parser.unaryExpression(Parser.java:3147)
at jdk.nashorn.internal.parser.Parser.assignmentExpression(Parser.java:3353)
at jdk.nashorn.internal.parser.Parser.variableStatement(Parser.java:1088)
at jdk.nashorn.internal.parser.Parser.statement(Parser.java:884)
at jdk.nashorn.internal.parser.Parser.sourceElements(Parser.java:773)
at jdk.nashorn.internal.parser.Parser.functionBody(Parser.java:2901)
at jdk.nashorn.internal.parser.Parser.functionExpression(Parser.java:2663)
at jdk.nashorn.internal.parser.Parser.statement(Parser.java:875)
at jdk.nashorn.internal.parser.Parser.sourceElements(Parser.java:773)
at jdk.nashorn.internal.parser.Parser.program(Parser.java:709)
at jdk.nashorn.internal.parser.Parser.parse(Parser.java:283)
at jdk.nashorn.internal.parser.Parser.parse(Parser.java:249)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:1284)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1251)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:627)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:535)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:524)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.wso2.extension.siddhi.script.js.EvalJavaScript.init(EvalJavaScript.java:76)
at io.siddhi.core.util.parser.helper.DefinitionParserHelper.addFunction(DefinitionParserHelper.java:251)
at io.siddhi.core.util.SiddhiAppRuntimeBuilder.defineFunction(SiddhiAppRuntimeBuilder.java:230)
at io.siddhi.core.util.parser.SiddhiAppParser.defineFunctionDefinitions(SiddhiAppParser.java:350)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:232)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testJavaScriptCompilationFailure(EvalScriptTestCase.java:177)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testUseUndefinedFunction

Error on 'a59a83b5-27f5-4e2f-8837-fbaea2ae88e0' @ Line: 1. Position: 160, near 'undefinedFunc(symbol,' ',price)'. 'undefinedFunc' is neither a function extension nor an aggregated attribute extension

io.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:436)
at io.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:215)
at io.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:92)
at io.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:135)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:253)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testUseUndefinedFunction(EvalScriptTestCase.java:382)
30 lines not shown

back to summary

org.wso2.extension.siddhi.script.scala.EvalScriptTestCase:testMissingReturnType

Return type should not be null for Function Definition

io.siddhi.query.api.SiddhiApp.defineFunction(SiddhiApp.java:335)
at org.wso2.extension.siddhi.script.scala.EvalScriptTestCase.testMissingReturnType(EvalScriptTestCase.java:362)
30 lines not shown

back to summary