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

Java stdin will disabled after lagmontior loaded #53

Open
n0099 opened this issue Mar 4, 2019 · 0 comments
Open

Java stdin will disabled after lagmontior loaded #53

n0099 opened this issue Mar 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@n0099
Copy link

n0099 commented Mar 4, 2019

log:

[Server thread/INFO]: [LagMonitor] Loading LagMonitor v1.17.1-SNAPSHOT
[Server thread/INFO]: [LagMonitor] Found JNA native library. Enabling extended native data support to display more data
[Server console handler/WARN]: Exception in thread "Server console handler" java.io.IOError: java.io.IOException: Resource temporarily unavailable
[Server console handler/WARN]:   at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:142)
[Server console handler/WARN]:   at org.jline.keymap.BindingReader.readBinding(BindingReader.java:109)
[Server console handler/WARN]:   at org.jline.keymap.BindingReader.readBinding(BindingReader.java:60)
[Server console handler/WARN]:   at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:724)
[Server console handler/WARN]:   at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:526)
[Server console handler/WARN]:   at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:390)
[Server console handler/WARN]:   at com.destroystokyo.paper.console.TerminalHandler.handleCommands(TerminalHandler.java:37)
[Server console handler/WARN]:   at net.minecraft.server.v1_12_R1.DedicatedServer$2.run(DedicatedServer.java:77)
[Server console handler/WARN]: Caused by: java.io.IOException: Resource temporarily unavailable
[Server console handler/WARN]:   at java.io.FileInputStream.readBytes(Native Method)
[Server console handler/WARN]:   at java.io.FileInputStream.read(FileInputStream.java:255)
[Server console handler/WARN]:   at org.jline.utils.InputStreamReader.read(InputStreamReader.java:270)
[Server console handler/WARN]:   at org.jline.utils.InputStreamReader.read(InputStreamReader.java:200)
[Server console handler/WARN]:   at `org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:276
[Server console handler/WARN]:   at java.lang.Thread.run(Thread.java:748)

After this exception the console stdin will disappeared (> cursor) and therefore can't interactive with console, it's seems won't be reproduced with lagmonitor 1.15 or lower version.

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

@games647 games647 added the bug Something isn't working label Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants