mojira.dev

Alex Darlow

Assigned

No issues.

Reported

No issues.

Comments

Edit: My issue was actually MC-125134 and was fixed in 18w30a snapshot.

So sad that this is "works as intended" 😞 Several of the older issues said the ender dragon taking damage from snowballs (etc.) was intended, including MC-9803 where Jeb said it should be kept.

My bad, thanks! Hopefully something else will be figured out about this issue then.

I've just noticed that this is a java.io.IOException, and every time I start up my server I get the following error:

[10:55:10] [Server thread/INFO]: Starting minecraft server version 1.8
[10:55:10] [Server thread/INFO]: Loading properties
[10:55:10] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_25]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_25]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_25]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_25]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_25]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_25]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_25]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_25]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_25]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_25]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_25]
at pq.run(SourceFile:80) [minecraft_server.1.8.exe:?]
[10:55:10] [Server thread/INFO]: Default game type: SURVIVAL
[10:55:10] [Server thread/INFO]: Generating keypair
[10:55:10] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:55:11] [Server thread/INFO]: Preparing level "Block Land"
[10:55:11] [Server thread/INFO]: Preparing start region for level 0
[10:55:13] [Server thread/INFO]: Preparing spawn area: 2%
[10:55:14] [Server thread/INFO]: Preparing spawn area: 36%
[10:55:15] [Server thread/INFO]: Preparing spawn area: 86%
[10:55:15] [Server thread/INFO]: Done (4.469s)! For help, type "help" or "?"

This error seems to cause no problems, but if everyone having the "java.io.IOException: An existing connection was forcibly closed by the remote host" error is also having the invalid handle error, maybe there's something connected. Does anyone know if these errors are related?

I know nothing about java or technical aspects of computers, but this has been an annoying issue. It periodically disconnects everyone (except me) from the server I'm running. It happens whether or not I'm playing on the server too. Sometimes it happens every 2 minutes, and other times it runs fine for an hour or more. I'm using Windows 8.1, have the latest java updates and no old versions of java installed, and I am running a vanilla server 1.8.1 with onlinemode=true.

This is certainly an error on my 1.7.4 vanilla server with player idle timeout set to 0.