Kotlin / Kotlin/kotlin-script-examples
Unable to find extension point configuration extensions/compiler.xml
- Dominant language
- Kotlin
- Stars
- 339
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
javax.script.ScriptException: ERROR Unable to initialize repl compiler:
DEBUG Using JDK home inferred from java.home: D:\2_My_Work_Application\graalvm-ce-java17-22.3.0
DEBUG Using JVM IR backend
ERROR Unable to find extension point configuration extensions/compiler.xml (cp:
null): java.lang.IllegalStateException: Unable to find extension point configuration extensions/compiler.xml (cp:
null): java.lang.IllegalStateException: Unable to initialize repl compiler:
DEBUG Using JDK home inferred from java.home: D:\2_My_Work_Application\graalvm-ce-java17-22.3.0
DEBUG Using JVM IR backend
ERROR Unable to find extension point configuration extensions/compiler.xml (cp:
null): java.lang.IllegalStateException: Unable to find extension point configuration extensions/compiler.xml (cp:
null)
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 cn.hutool.script.FullSupportScriptEngine.eval(FullSupportScriptEngine.java:101)
at com.jnvago.jniot.terminal.resolver.subscribe.second.ScriptCache.set(ScriptCache.kt:77)
... 34 common frames omitted
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the failing call in ScriptCache.kt:77 and trace into KotlinJsr223JvmScriptEngineBase, where initialization reports the missing extensions/compiler.xml resource. Reproduce the failure with the reported GraalVM Java 17 environment and determine the expected resource-loading behavior; done means the reported script engine initialization error is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100