You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid command: ?
java.lang.StackOverflowError
at org.jline.utils.AttributedCharSequence.columnSplitLength(AttributedCharSequence.java:332)
at org.jline.utils.AttributedCharSequence.columnSplitLength(AttributedCharSequence.java:324)
at org.jline.reader.impl.LineReaderImpl.insertSecondaryPrompts(LineReaderImpl.java:4179)
at org.jline.reader.impl.LineReaderImpl.insertSecondaryPrompts(LineReaderImpl.java:4174)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4003)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3868)
at org.jline.reader.impl.LineReaderImpl.doList(LineReaderImpl.java:5020)
at org.jline.reader.impl.LineReaderImpl.clearChoices(LineReaderImpl.java:4993)
at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:4020)
<... etc....>
The text was updated successfully, but these errors were encountered:
You probably should add Jansi or JNA lib in your class path. See JLine README:
"On the Windows platform, relying on native calls is mandatory, so you need to have either Jansi or JNA library in your classpath along with the jline-terminal-jansi or jline-terminal-jna jar. Failing to do so will create a dumb terminal with no advanced capabilities."
Stackoverflow when using dumb terminal has been fixed in commit bb5e85a. You should use JLine version 3.18.0 or greater.
I completely copied the example code to run the demo program, but the program throws an exception when I enter any command.
example code
relevant issue
The text was updated successfully, but these errors were encountered: