Local FEEL playground issues

Hi,
I’ve been trying to set up FEEL REPL (local) | FEEL-Scala to try out my FEEL expressions in development locally (they contain sensitive data) and I’m having issues no matter what I try.
They range from:

scala.reflect.internal.FatalError:
  bad constant pool index: 0 at pos: 48445

to
not found: value predef
value sc is not a member of ammonite.repl.FullReplAPI
ammonite.$sess.feel.type does not take parameters

First one went away after I downgraded from openjdk 21 to openjdk 17.
I’m suspecting some incompatibility between java/scala/script version but I have 0 experience in scala, so it’s trial and error. I was hoping someone would have some hints, any help appreciated:)
What I tried:

  • putting the feel-repl.sc in the predef folder
  • using import $file instead of --predef
  • various versions of ammonite (download link in their instruction for Windows doesn’t work)

Are you trying out in windows or linux or mac?

I mentioned it already but maybe not clearly - Windows (10 if that matters)

The ammonite assets I tried:
2.13-2.4.0
2.12-2.5.6
2.12-3.0.0-M1

I tested the following code it works as expected.

  1. Go to Ammonite and click https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0/2.13-3.0.0-2-6342755f
  2. Rename the file as amm.bat
  3. Download the feel-repl.sc file as per Camunda documentation.
  4. Run the command as mentioned the documents.
  5. I am using OpenJDK 21.0.1

Screenshot:

Please let me know once you perform the steps.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.