coli-saar / alto

Alto, the Algebraic Language Toolkit
Other
17 stars 2 forks source link

Jline error message when using "xterm-256color" terminal #43

Closed alexanderkoller closed 5 years ago

alexanderkoller commented 5 years ago

This shows the following error message after starting the TulipacParser:

java -cp alto-2.3.1-all.jar de.up.ling.irtg.script.TulipacParser english.tag
Alto tulipac-style TAG parser, v1.1
Type a sentence to parse it, or type 'help' for help.

Reading grammar from english.tag ...
Done, read FTAG grammar in 245 ms

[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
    at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.base/java.lang.Integer.parseInt(Integer.java:652)
    at java.base/java.lang.Integer.valueOf(Integer.java:983)
    at jline.internal.InfoCmp.parseInfoCmp(InfoCmp.java:59)
    at jline.UnixTerminal.parseInfoCmp(UnixTerminal.java:242)
    at jline.UnixTerminal.<init>(UnixTerminal.java:65)
    at jline.UnixTerminal.<init>(UnixTerminal.java:50)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
    at java.base/java.lang.Class.newInstance(Class.java:560)
    at jline.TerminalFactory.getFlavor(TerminalFactory.java:211)
    at jline.TerminalFactory.create(TerminalFactory.java:102)
    at jline.TerminalFactory.get(TerminalFactory.java:186)
    at jline.TerminalFactory.get(TerminalFactory.java:192)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:243)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:235)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:223)
    at de.up.ling.irtg.script.TulipacParser.main(TulipacParser.java:183)