[SPIGOT-4845] Server console handler/ERROR: Exception handling console input Created: 02/May/19 Updated: 02/May/19 Resolved: 02/May/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Equilateral | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | 1.14, error, spigot | ||
Environment: |
AWS m3.large 2xCPU 7.5GB RAM running Ubuntu 18.04.2 LTS openjdk version "1.8.0_191" Arguments: -XX:+UseG1GC -Xmx4G -Xms4G -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Plugins: GriefPrevention v16.7.1 |
Attachments: |
![]() ![]() |
Version: | 1.14-R0.1-SNAPSHOT |
Guidelines Read: | Yes |
Description |
When launching the server from an AWS Ubuntu 18.04.02 VM command line in a screen session: [14:44:55] [Server console handler/ERROR]: Exception handling console input java.io.IOException: Resource temporarily unavailable at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_191] at java.io.FileInputStream.read(FileInputStream.java:255) ~[?:1.8.0_191] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_191] at java.io.BufferedInputStream.read(BufferedInputStream.java:265) ~[?:1.8.0_191] at org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2349) ~[spigot-1.14.jar:git-Spigot-1eece4f-a584320] at net.minecraft.server.v1_14_R1.DedicatedServer$2.run(DedicatedServer.java:95) [spigot-1.14.jar:git-Spigot-1eece4f-a584320] I am not able to reproduce this is anything other than this specific platform. I tried a regular Ubuntu 18.04.2 VM on my PC without issue, an Ubuntu 16.04.2 running Pufferpanel, and Windows, and it worked in all of them. It seems specific to the AWS flavor of Ubuntu, but not Ubuntu 16.04.2 which was working before I rebuilt the instance. I did look around to see if this was reported before, but I did not see it in previous bug reports ( Thank you for your consideration. Edit: Cleaned up the text formatting in the code. |
Comments |
Comment by md_5 [ 02/May/19 ] |
Sorry my bad, linked the wrong thread. https://www.spigotmc.org/threads/ubuntu-18-04-bad-kernel-update.357871 is the relevant thread |
Comment by Equilateral [ 02/May/19 ] |
So I notice the part where it says BuildTools 81 and above will now apply the workaround, I'm using 101 to build with currently. But when I built this instance fresh, I did use the latest version of Oracle Java, but then thinking that might be the issue I removed it and installed OpekJDK 8. As far as I recall, the other places I used was just OpenJDK 8 straight from the get-go, so that probably makes sense, but for your consideration anyway in case someone else stumbles into the bar I did. Thank you. |
Comment by md_5 [ 02/May/19 ] |
https://www.spigotmc.org/threads/linux-distro-java-bugs-debian-ubuntu-mint-etc.345557/ |