Jump to content

Recommended Posts

my server keeps crashing can i get some help?

[08:54:36] [Server thread/INFO]: Starting minecraft server version 1.7.10
[08:54:36] [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_60]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_60]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_60]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_60]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_60]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_60]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_60]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_60]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_60]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_60]
    at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]
[08:54:36] [Server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[08:55:05] [Server thread/INFO]: Loading properties
[08:55:05] [Server thread/INFO]: Default game type: SURVIVAL
[08:55:05] [Server thread/INFO]: Generating keypair
[08:55:06] [Server thread/INFO]: Starting Minecraft server on 25.101.75.241:25565
[08:55:19] [Server thread/INFO]: Preparing level "world"
[08:55:20] [Server thread/INFO]: Preparing start region for level 0
[08:55:21] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
    at net.minecraft.profiler.Profiler.func_76320_a(Profiler.java:64) ~[qi.class:?]
    at net.minecraft.world.World.func_147465_d(World.java:459) ~[ahb.class:?]
    at net.minecraft.world.gen.feature.WorldGenMinable.func_76484_a(WorldGenMinable.java:78) ~[ase.class:?]
    at net.minecraft.world.biome.BiomeDecorator.func_76795_a(BiomeDecorator.java:326) ~[aia.class:?]
    at net.minecraft.world.biome.BiomeDecorator.func_76797_b(BiomeDecorator.java:345) ~[aia.class:?]
    at net.minecraft.world.biome.BiomeDecorator.func_150513_a(BiomeDecorator.java:114) ~[aia.class:?]
    at net.minecraft.world.biome.BiomeDecorator.func_150512_a(BiomeDecorator.java:105) ~[aia.class:?]
    at net.minecraft.world.biome.BiomeGenBase.func_76728_a(BiomeGenBase.java:339) ~[ahu.class:?]
    at net.minecraft.world.biome.BiomeGenForest.func_76728_a(BiomeGenForest.java:198) ~[aif.class:?]
    at net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:421) ~[aqz.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:279) ~[ms.class:?]
    at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1055) ~[apx.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) ~[ms.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131) ~[ms.class:?]
    at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101) ~[ms.class:?]
    at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:265) ~[MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:235) ~[MinecraftServer.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:258) ~[lt.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) ~[launchwrapper-1.11.jar:?]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
    ... 20 more

 

Link to comment
Share on other sites

  • Moderators

[08:54:36] [Server thread/WARN]: To start the server with more ram, laundh it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

 

How much ram are you giving the server i the .bat or.sh file you use to launch your server? Also, if you are not already doing this, add the nogui switch. 

Link to comment
Share on other sites

  • Moderators

You need to launch it from a script. 

For example:

java -xmx3g -jar (name of your forge jar) nogui

this allocates 3GB of ram for java to use for your server. This may it may not be best for you, depending upon how much ram you have, and how many players you expect to connect. 

 

Link to comment
Share on other sites

  • Moderators

make sure you put that bat file in the same directory as the renamed forge universal jar that it is calling. 

if that still doesn't work, can you post the contents your batch file?

Edited by AetherPirate
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...