FEEL REPL is broken since version 1.17.0
saig0 opened this issue · 1 comments
saig0 commented
Describe the bug
The FEEL REPL is broken since version 1.17.0
. I can't evaluate expressions anymore.
The evaluation reports the following failure message:
java.lang.NoSuchMethodError: 'fastparse.internal.Msgs fastparse.ParsingRun.aggregateMsgs()'
org.camunda.feel.impl.parser.FeelParser$.fullExpression(FeelParser.scala:134)
org.camunda.feel.impl.parser.FeelParser$.$anonfun$parseExpression$2(FeelParser.scala:127)
fastparse.package$.parseInputRaw(package.scala:69)
fastparse.package$.$anonfun$parse$1(package.scala:35)
fastparse.ParserInputSource$fromParserInput.parseThrough(ParserInput.scala:25)
fastparse.package$.parse(package.scala:35)
org.camunda.feel.impl.parser.FeelParser$.parseExpression(FeelParser.scala:127)
org.camunda.feel.FeelEngine.$anonfun$parseExpression$1(FeelEngine.scala:286)
org.camunda.feel.FeelEngine.$anonfun$parse$1(FeelEngine.scala:135)
scala.util.Try$.apply(Try.scala:210)
org.camunda.feel.FeelEngine.parse(FeelEngine.scala:135)
org.camunda.feel.FeelEngine.parseExpression(FeelEngine.scala:286)
org.camunda.feel.FeelEngine.evalExpression(FeelEngine.scala:221)
org.camunda.feel.FeelEngine.evalExpression(FeelEngine.scala:213)
ammonite.predef.FilePredef$.feel(feel-repl.sc:18)
ammonite.$sess.cmd0$.<clinit>(cmd0.sc:1)
To Reproduce
Steps to reproduce the behavior:
- Run the following command on
main
branch:
amm --predef feel-repl.sc
- Type
feel("1 + 3")
to evaluate an expression - Verify that a failure message is printed
Expected behavior
The expression is evaluated successfully.
Environment
- FEEL engine version:
1.17.0
- Affects:
- Camunda Automation Platform 7: [7.x]
- Zeebe broker: [0.x]
saig0 commented
This issue is related to the Ammonite version. It's working again by using the latest Ammonite version (3.0.0-M1). 🚀