Jump to content

New Forge 1.7.10 server automatically exiting using only Optifine [SOLVED]


Cogitation

Recommended Posts

If anyone can please help, it would be very appreciated. My friend bought Minecraft to play with me on a multiplayer server and we're both disappointed it's not working right now other than without mods (which are most of the point.)

 

I'm using a newly set up 1.7.10 forge server. My friend was able to connect to the forge server running with an empty mods folder (though we had constant "can't keep up" errors, sometimes as long as 10,000ms.)

 

Here's the list of mods I was ORIGINALLY trying to use:

 

Adventure Backpack 2.0.4

Battlegear2-Bullseye 1.0.8.1

Better Dungeons 1.0

BiomesOPlenty 2.1.0.1387

BSpkrsCore 6.15

Dense Ores 1.6.2

Enchanting Plus 3.0.2

Extra Tinker's Construct 1.4.5

Fastcraft 1.21

Flat Signs 2.1.0.19

Fpsplus (latest for 1.7.10)

Infinibows 1.3.0.20

Inventory Pets 1.3.2

Inventory Tweaks (latest for 1.7.10, someone said this is not a server mod, so removed from server)

JABBA 1.2.1a

Journey Map 5.1.0

Mantle 0.3.2

Mystcraft 0.12.3.00

Natura (latest for 1.7.10, don't have it at hand)

Optifine HD Ultra C1

Project E (ie, Equivalent Exchange 2 for 1.7.10, latest)

Tinker's Construct 1.8.7

Thaumcraft 4.2.3.5

Twilight Forest 2.3.7

 

I've added and removed different mods, trying to see which is the problem.

 

I know for a fact it won't run with Optifine, EVEN BY ITSELF. Other than that, it seems to fail just randomly.

 

The exact error I'm having is that the Forge server window comes up, everything loads, and as soon as it should finish loading, the window just disappears, as if it crashed unexpectedly.

 

Here's the "latest.log" from the server when trying to run with all mods active:

 

 

 

[21:17:14] [server thread/INFO]: Starting minecraft server version 1.7.10

[21:17:14] [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_51]

  at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[21:17:14] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[21:17:28] [server thread/INFO]: Loading properties

[21:17:28] [server thread/INFO]: Default game type: SURVIVAL

[21:17:28] [server thread/INFO]: Generating keypair

[21:17:28] [server thread/INFO]: Starting Minecraft server on 192.168.1.64:25565

[21:17:31] [server thread/INFO]: Preparing level "world"

[21:17:33] [server thread/INFO]: Preparing start region for level 0

[21:17:34] [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 biomesoplenty.api.biome.BOPBiomeDecorator.func_150513_a(BOPBiomeDecorator.java:59) ~[bOPBiomeDecorator.class:?]

  at biomesoplenty.api.biome.BOPBiomeDecorator.func_150512_a(BOPBiomeDecorator.java:50) ~[bOPBiomeDecorator.class:?]

  at biomesoplenty.api.biome.BOPBiome.func_76728_a(BOPBiome.java:42) ~[bOPBiome.class:?]

  at biomesoplenty.common.biome.overworld.BiomeGenOrchard.func_76728_a(BiomeGenOrchard.java:64) ~[biomeGenOrchard.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 fastcraft.a.d.a(F:84) ~[fastcraft-1.21.jar:?]

  at fastcraft.Hooks.r(F:137) ~[fastcraft-1.21.jar:?]

  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.12.jar:?]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  ... 23 more

 

 

Biomes O Plenty works by itself, and I've had problems with other mods alone, not including Biomes O Plenty. Like, if I take Biomes O Plenty out and run it with all the other mods, generating a new world... it crashed again, just now as I tried it.

 

Here's the latest.log for the run where it crashed without Biomes O Plenty:

 

 

 

[21:39:14] [server thread/INFO]: Starting minecraft server version 1.7.10

[21:39:14] [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_51]

  at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[21:39:14] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[21:39:27] [server thread/INFO]: Loading properties

[21:39:27] [server thread/INFO]: Default game type: SURVIVAL

[21:39:27] [server thread/INFO]: Generating keypair

[21:39:27] [server thread/INFO]: Starting Minecraft server on 192.168.1.64:25565

[21:39:30] [server thread/INFO]: Preparing level "world"

[21:39:30] [server thread/INFO]: Preparing start region for level 0

[21:39:31] [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.block.BlockDoublePlant.func_149889_c(BlockDoublePlant.java:140) ~[ako.class:?]

  at net.minecraft.world.gen.feature.WorldGenDoublePlant.func_76484_a(SourceFile:28) ~[arm.class:?]

  at net.minecraft.world.biome.BiomeGenPlains.func_76728_a(BiomeGenPlains.java:79) ~[aip.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 fastcraft.a.d.a(F:84) ~[fastcraft-1.21.jar:?]

  at fastcraft.Hooks.r(F:137) ~[fastcraft-1.21.jar:?]

  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.12.jar:?]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  ... 18 more

 

 

 

Saw Fastcraft mentioned in the last log, so removed it. Still same symptom of closing as soon as it seems like the server has fully loaded.

 

I don't see any mods mentioned in this latest.log now, so I don't know where to proceed. Even assistance knowing what I should try next?

 

Here's the latest.log with biomes o plenty and Fastcraft both removed:

 

 

[21:44:21] [server thread/INFO]: Starting minecraft server version 1.7.10

[21:44:21] [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_51]

  at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[21:44:21] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[21:44:32] [server thread/INFO]: Loading properties

[21:44:32] [server thread/INFO]: Default game type: SURVIVAL

[21:44:32] [server thread/INFO]: Generating keypair

[21:44:32] [server thread/INFO]: Starting Minecraft server on 192.168.1.64:25565

[21:44:35] [server thread/INFO]: Preparing level "world"

[21:44:35] [server thread/INFO]: Preparing start region for level 0

[21:44:36] [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.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.12.jar:?]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  ... 19 more

 

 

 

As a final test just now, I tried Optifine by itself. It too causes Forge to exit. Considering that in the EAQ itself is the recommendation: "Don't use MCPatcher! Use Optifine instead", I'd say that Optifine normally works, so what am I doing wrong?

 

Here's the latest.log with ONLY optifine in the mods folder and a freshly emptied world folder.

 

 

[22:08:14] [server thread/INFO]: Starting minecraft server version 1.7.10

[22:08:14] [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_51]

  at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_51]

  at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_51]

  at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[22:08:14] [server thread/WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"

[22:08:15] [server thread/INFO]: Loading properties

[22:08:15] [server thread/INFO]: Default game type: SURVIVAL

[22:08:15] [server thread/INFO]: Generating keypair

[22:08:15] [server thread/INFO]: Starting Minecraft server on 192.168.1.64:25565

[22:08:16] [server thread/INFO]: Preparing level "world"

[22:08:16] [server thread/INFO]: Preparing start region for level 0

[22:08:17] [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.BiomeGenPlains.func_76728_a(BiomeGenPlains.java:96) ~[aip.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.12.jar:?]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_51]

  ... 20 more

 

 

Link to comment
Share on other sites

Discovered the solution myself.

 

Optifine HD U C1 lists itself as compatible with Forge version 10.13.4.1481 and I wasn't using that version. I didn't realize it wouldn't have compatibility with any version of Forge, since it's a recommended mod per the EAQ.

 

As soon as I changed to Forge 1481, all mods suddenly worked.

 

Hopefully this helps someone else in the future. Check other versions of Forge to see if they work and what's compatible.

Link to comment
Share on other sites

Umm... it's in my server's mod directory and it's working, but I see this answer elsewhere, about it being a client only mod.

 

Try Fastcraft and fpsplus, PurpleTheChicken. Both of those are also working in my server. Try removing optifine from the server and putting those two in its place.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.