mojira.dev
MC-36697

Java error on server startup

Upon launching the server the server goes through and gives this error message:

java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_45]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_45]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_45]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_45]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_45]
at lk.run(SourceFile:78) [minecraft_server.1.7.jar:?]

Im not sure why it does it, it throws it on an my existing world and on a new world i created just for testing.

Related issues

Attachments

Comments

migrated
[media]
CubeTheThird

Try using the server.exe instead of .jar on windows.

Jrdiver

For the 1.7 Prerelease there is no exe listed on mojang.com that i seen. if there is on a link would be appreciated. Their site just says:

Server jar: https://s3.amazonaws.com/Minecraft.Download/versions/1.7/minecraft_server.1.7.jar
(On windows, right click -> open with -> java)

CubeTheThird
Talven81

Duplicate of MC-33041 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.

Jrdiver

(Unassigned)

Unconfirmed

multiplayer

Minecraft 1.7

Retrieved