So I have a small server that I host on my pc, for me and my friends to play. After playing a long time, almost at random my game stops and exits with the error: Internal Server Error. My friend had it before, and just said that I should try joining a couple of times, and it should fix it. While I am doing that, he gets kicked with the same error, internal server error. After looking at both of our logs, his error basically said that something is wrong with my server.
This is a log of what happens on the server when I try to join.
The weirdest is that the error only happens for me and one of the friends, but the other 2 friends can play perfectly fine. I hope I dont have to delete the world, because we just killed the ender dragon, and made a massive mob farm.
Thanks in advance,
Ikaunieksplay
[22:33:05 WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:33:05 WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:33:05 WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 INFO]: Starting minecraft server version 1.14.4
[22:33:05 INFO]: Loading properties
[22:33:05 INFO]: Default game type: SURVIVAL
[22:33:05 INFO]: Generating keypair
[22:33:05 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_221]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_221]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_221]
at uk$2.run(SourceFile:109) [server.jar:?]
[22:33:05 INFO]: Starting Minecraft server on *:25565
[22:33:05 INFO]: Using default channel type
[22:33:06 WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[22:33:06 WARN]: The server will make no attempt to authenticate usernames. Beware.
[22:33:06 WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[22:33:06 WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[22:33:06 INFO]: Preparing level "world"
[22:33:06 INFO]: Reloading ResourceManager: Default
[22:33:06 INFO]: Loaded 6 recipes
[22:33:07 INFO]: Loaded 811 advancements
[22:33:07 INFO]: Preparing start region for dimension minecraft:overworld
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Time elapsed: 3313 ms
[22:33:10 INFO]: Done (4.614s)! For help, type "help"
[22:33:54 INFO]: Ikaunieksplay[/192.168.1.106:50619] logged in with entity id 330 at (146.190217221985, 65.27160943625641, 99.55238036249423)
[22:33:54 INFO]: Ikaunieksplay joined the game
[22:33:55 WARN]: Failed to handle packet for /192.168.1.106:50619
m: Ticking player
at vl.i(SourceFile:452) ~[server.jar:?]
at wc.b(SourceFile:196) ~[server.jar:?]
at jc.a(SourceFile:234) ~[server.jar:?]
at wb.c(SourceFile:171) [server.jar:?]
at net.minecraft.server.MinecraftServer.b(SourceFile:847) [server.jar:?]
at uk.b(SourceFile:343) [server.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:774) [server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:642) [server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_221]
at bfq.a(SourceFile:41) ~[server.jar:?]
at bcj.a(SourceFile:260) ~[server.jar:?]
at bcj.a(SourceFile:292) ~[server.jar:?]
at aix.n(SourceFile:2316) ~[server.jar:?]
at aix.k(SourceFile:2294) ~[server.jar:?]
at awg.k(SourceFile:560) ~[server.jar:?]
at aix.h(SourceFile:2111) ~[server.jar:?]
at awg.h(SourceFile:277) ~[server.jar:?]
at vl.i(SourceFile:388) ~[server.jar:?]
... 8 more
[22:33:55 INFO]: Ikaunieksplay lost connection: Internal server error
[22:33:55 INFO]: Ikaunieksplay left the game
So I have a small server that I host on my pc, for me and my friends to play. After playing a long time, almost at random my game stops and exits with the error: Internal Server Error. My friend had it before, and just said that I should try joining a couple of times, and it should fix it. While I am doing that, he gets kicked with the same error, internal server error. After looking at both of our logs, his error basically said that something is wrong with my server.
This is a log of what happens on the server when I try to join.
The weirdest is that the error only happens for me and one of the friends, but the other 2 friends can play perfectly fine. I hope I dont have to delete the world, because we just killed the ender dragon, and made a massive mob farm.
Thanks in advance,
Ikaunieksplay
[22:33:05 WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:33:05 WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:33:05 WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:33:05 INFO]: Starting minecraft server version 1.14.4
[22:33:05 INFO]: Loading properties
[22:33:05 INFO]: Default game type: SURVIVAL
[22:33:05 INFO]: Generating keypair
[22:33:05 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_221]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_221]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_221]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_221]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_221]
at uk$2.run(SourceFile:109) [server.jar:?]
[22:33:05 INFO]: Starting Minecraft server on *:25565
[22:33:05 INFO]: Using default channel type
[22:33:06 WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[22:33:06 WARN]: The server will make no attempt to authenticate usernames. Beware.
[22:33:06 WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[22:33:06 WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[22:33:06 INFO]: Preparing level "world"
[22:33:06 INFO]: Reloading ResourceManager: Default
[22:33:06 INFO]: Loaded 6 recipes
[22:33:07 INFO]: Loaded 811 advancements
[22:33:07 INFO]: Preparing start region for dimension minecraft:overworld
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:08 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Preparing spawn area: 0%
[22:33:10 INFO]: Time elapsed: 3313 ms
[22:33:10 INFO]: Done (4.614s)! For help, type "help"
[22:33:54 INFO]: Ikaunieksplay[/192.168.1.106:50619] logged in with entity id 330 at (146.190217221985, 65.27160943625641, 99.55238036249423)
[22:33:54 INFO]: Ikaunieksplay joined the game
[22:33:55 WARN]: Failed to handle packet for /192.168.1.106:50619
m: Ticking player
at vl.i(SourceFile:452) ~[server.jar:?]
at wc.b(SourceFile:196) ~[server.jar:?]
at jc.a(SourceFile:234) ~[server.jar:?]
at wb.c(SourceFile:171) [server.jar:?]
at net.minecraft.server.MinecraftServer.b(SourceFile:847) [server.jar:?]
at uk.b(SourceFile:343) [server.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:774) [server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:642) [server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_221]
at bfq.a(SourceFile:41) ~[server.jar:?]
at bcj.a(SourceFile:260) ~[server.jar:?]
at bcj.a(SourceFile:292) ~[server.jar:?]
at aix.n(SourceFile:2316) ~[server.jar:?]
at aix.k(SourceFile:2294) ~[server.jar:?]
at awg.k(SourceFile:560) ~[server.jar:?]
at aix.h(SourceFile:2111) ~[server.jar:?]
at awg.h(SourceFile:277) ~[server.jar:?]
at vl.i(SourceFile:388) ~[server.jar:?]
... 8 more
[22:33:55 INFO]: Ikaunieksplay lost connection: Internal server error
[22:33:55 INFO]: Ikaunieksplay left the game