Question about Kotlin's JSR223 scripting

I used the Kotlin’s JSR223 scripting engine successfully in previous versions (i.e. 1.6.0) but in 1.6.20, 1.6.21 it fails with a message

ERROR @NotNull method org/jetbrains/kotlin/config/CompilerConfiguration.getNotNull must not return null: java.lang.IllegalStateException: @NotNull method org/jetbrains/kotlin/config/CompilerConfiguration

Anyone knows what happens?