Kotlinc-jvm -version throws Exception?


#1

$ bin/kotlinc-jvm -version INFO: Kotlin Compiler version 0.4.68 Exception in thread "main" java.lang.ExceptionInInitializerError      at org.jetbrains.jet.cli.jvm.repl.ReplFromTerminal.<init>(ReplFromTerminal.java:61)      at org.jetbrains.jet.cli.jvm.repl.ReplFromTerminal.run(ReplFromTerminal.java:197)      at org.jetbrains.jet.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.java:75)      at org.jetbrains.jet.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.java:54)      at org.jetbrains.jet.cli.common.CLICompiler.exec(CLICompiler.java:117)      at org.jetbrains.jet.cli.jvm.K2JVMCompiler.exec(K2JVMCompiler.java:182)      at org.jetbrains.jet.cli.jvm.K2JVMCompiler.exec(K2JVMCompiler.java:54)      at org.jetbrains.jet.cli.common.CLICompiler.exec(CLICompiler.java:47)      at org.jetbrains.jet.cli.common.CLICompiler.doMainNoExit(CLICompiler.java:160)      at org.jetbrains.jet.cli.common.CLICompiler.doMain(CLICompiler.java:151)      at org.jetbrains.jet.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.java:58) Caused by: java.util.MissingResourceException: Can't find bundle for base name jline.console.completer.CandidateListCompletionHandler, locale en_US      at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)      at java.util.ResourceBundle.getBundle(ResourceBundle.java:724)      at jline.console.ConsoleReader.<clinit>(ConsoleReader.java:79)      ... 11 more Caused by: java.lang.ClassCastException: jline.console.completer.CandidateListCompletionHandler cannot be cast to ResourceBundle      at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2573)      at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1436)      at java.util.ResourceBundle.findBundle(ResourceBundle.java:1400)      at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)      at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1296)      ... 13 more

That’s not pretty.


#2

http://youtrack.jetbrains.com/issue/KT-3047