Member since
10-08-2018
1
Post
0
Kudos Received
0
Solutions
08-21-2020
08:32 AM
Greetings. I tried the provided testelgroovy.txt unchanged and also with nifi-expression-language 1.11.4 to no vail. Here is the error I get no matter what expression I try: $ groovy testelgroovy.txt -D filename=hello '${filename:append("_world")}' Caught: org.apache.nifi.attribute.expression.language.exception.AttributeExpressionLanguageParsingException: Unexpected token '<EOF>' at line 1, column 0. Query: org.apache.nifi.attribute.expression.language.exception.AttributeExpressionLanguageParsingException: Unexpected token '<EOF>' at line 1, column 0. Query: at org.apache.nifi.attribute.expression.language.antlr.AttributeExpressionParser.displayRecognitionError(AttributeExpressionParser.java:191) at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186) at org.apache.nifi.attribute.expression.language.antlr.AttributeExpressionParser.expression(AttributeExpressionParser.java:3898) at org.apache.nifi.attribute.expression.language.antlr.AttributeExpressionParser.query(AttributeExpressionParser.java:3937) at org.apache.nifi.attribute.expression.language.compile.ExpressionCompiler.compile(ExpressionCompiler.java:231) at org.apache.nifi.attribute.expression.language.Query.compile(Query.java:293) at org.apache.nifi.attribute.expression.language.Query$compile.call(Unknown Source) at testelgroovy$_run_closure2.doCall(testelgroovy.txt:25) at testelgroovy.run(testelgroovy.txt:24) $ groovy --version Groovy Version: 3.0.4 JVM: 1.8.0_242 Vendor: OS: Windows 10 P.S. I run this test under Cygwin.
... View more