scalasbtjline

Why is the exception "IllegalArgumentException: Missing closing quote on line '"'"


When I run sbt from my unix prompt, I get the following after every command inside the console.

[WARN] Unable to parse user configuration: 
java.lang.IllegalArgumentException: Missing closing quote on line '"'
        at jline.console.ConsoleKeys.loadKeys(ConsoleKeys.java:173)
        at jline.console.ConsoleKeys.loadKeys(ConsoleKeys.java:73)
        at jline.console.ConsoleKeys.<init>(ConsoleKeys.java:35)

Could anyone hint, point me to what's wrong?


Solution

  • sbt uses JLine for terminal handling and it appears that your issue might be with $HOME/.inputrc that's read by JLine at startup as described in the documentation of JLine:

    Next, the file $HOME/.inputrc is read.

    JLine does attempt honor as many of the settings in your .inputrc file as possible, including conditional settings (for example, binding a specific key only if being run withing a specific program).