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

input/output error in jline #486

Open
maxandersen opened this issue Nov 2, 2023 · 0 comments
Open

input/output error in jline #486

maxandersen opened this issue Nov 2, 2023 · 0 comments

Comments

@maxandersen
Copy link

when launching sqlline from other java app I often hit that sqline keeps dumping this in repeat on console - and when trying to stop it with ctrl-D it causes a full exit of the terminal.

Haven't figured out what is the trigger of it - possible hitting Ctrl-C?

java.io.IOError: java.io.IOException: Input/output error
	at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:170)
	at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110)
	at org.jline.keymap.BindingReader.readBinding(BindingReader.java:61)
	at org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:923)
	at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:956)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:651)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:507)
	at sqlline.SqlLine.begin(SqlLine.java:597)
	at sqlline.SqlLine.start(SqlLine.java:269)
	at sqlline.SqlLine.main(SqlLine.java:208)
Caused by: java.io.IOException: Input/output error
	at java.base/java.io.FileInputStream.read0(Native Method)
	at java.base/java.io.FileInputStream.read(FileInputStream.java:228)
	at org.jline.terminal.impl.AbstractPty$PtyInputStream.read(AbstractPty.java:73)
	at org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62)
	at org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:168)
	at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57)
	at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:160)
	... 9 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant