JSR-223 scripting

I used the Kotlin JSR-223 scripting engine from Java with Kotlin 1.6.0 successfully,
but at the current Kotlin, the code fails with:

javax.script.ScriptException: ERROR Unable to initialize repl compiler:
DEBUG Using JVM IR backend
ERROR @NotNull method org/jetbrains/kotlin/config/CompilerConfiguration.getNotNull must not return null: java.lang.IllegalStateException: @NotNull method org/jetbrains/kotlin/config/CompilerConfigu
at org.jetbrains.kotlin.cli.common.repl.KotlinJsr223JvmScriptEngineBase.asJsr223EvalResult(KotlinJsr223JvmScriptEngineBase.kt:104)

at org.jetbrains.kotlin.cli.common.repl.KotlinJsr223JvmScriptEngineBase.compileAndEval(KotlinJsr223JvmScriptEngineBase.kt:63)

at kotlin.script.experimental.jvmhost.jsr223.KotlinJsr223ScriptEngineImpl.compileAndEval(KotlinJsr223ScriptEngineImpl.kt:95)

at org.jetbrains.kotlin.cli.common.repl.KotlinJsr223JvmScriptEngineBase.eval(KotlinJsr223JvmScriptEngineBase.kt:31)

at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:262)

at kotlinLabGlobal.Interpreter.GlobalValues.initKotlinEngine(GlobalValues.java:458)

at kotlinLabExec.kotlinLab.kotlinLab.<init>(kotlinLab.java:123)

at kotlinLabExec.kotlinLab.kotlinLab.main(kotlinLab.java:240)

Anyone can understand the cause?