Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to construct terminal" in 2.11.12 #11723

som-snytt opened this issue Sep 3, 2019 · 0 comments


Copy link

commented Sep 3, 2019

Probably just a jline upgrade interaction but I keep falling back to a previous point release of scala:

$ ./scala-2.11.12/bin/scala
Welcome to Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_222).
Type in expressions for evaluation. Or try :help.
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
	at java.lang.NumberFormatException.forInputString(
	at java.lang.Integer.parseInt(
	at java.lang.Integer.valueOf(
	at jline.internal.InfoCmp.parseInfoCmp(
	at jline.UnixTerminal.parseInfoCmp(
	at jline.UnixTerminal.<init>(
	at jline.UnixTerminal.<init>(
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at java.lang.Class.newInstance(
	at jline.TerminalFactory.getFlavor(
	at jline.TerminalFactory.create(
	at jline.TerminalFactory.get(
	at jline.TerminalFactory.get(
	at jline.console.ConsoleReader.<init>(
	at jline.console.ConsoleReader.<init>(
	at jline.console.ConsoleReader.<init>(

@SethTisue SethTisue added this to the 2.11.13 milestone Sep 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.