I am running a Hamachi forge server from my computer with only one mod installed on it (CrayfishFurnitureMod) and everything works fine until me or my friend tries to join. The forge server file works, the console starts, and the server starts up properly. But when I join it, the console crashes and gives me the error message: An established connection was aborted by host machine, on my game. Any help?
Also, here is the most recent crash report from my server:
---- Minecraft Crash Report ----
// Ouch. That hurt
Time: 1/12/17 4:14 PM
Description: Exception in server tick loop
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at com.mrcrayfish.furniture.proxy.CommonProxy.isDedicatedServer(CommonProxy.java:50)
at com.mrcrayfish.furniture.handler.SyncEvent.onPlayerLogin(SyncEvent.java:33)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_SyncEvent_onPlayerLogin_PlayerLoggedInEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:568)
at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:214)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:262)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:211)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:743)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 17 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@66ac5762 from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:257)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 19 more
Caused by: java.lang.RuntimeException: Attempted to load class bes for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:56)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:253)
... 21 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_111, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1255198864 bytes (1197 MB) / 1543503872 bytes (1472 MB) up to 3804758016 bytes (3628 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 8, allocated: 20, tallocated: 86
FML: MCP 9.38 Powered by Forge 13.20.0.2214 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar)
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.0.2214-universal.jar)
UCHIJAAAA forge{13.20.0.2214} [Minecraft Forge] (forge-1.11.2-13.20.0.2214-universal.jar)
UCHIJAAAA cfm{4.1.1} [MrCrayfish's Furniture Mod] (cfm-4.1.1-mc1.11.2.jar)
Loaded coremods (and transformers):
Profiler Position: N/A (disabled)
Player Count: 1 / 20; [EntityPlayerMP['ClassyChaseex'/210, l='world', x=336.36, y=2.00, z=11.02]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
adding the java arguments in your startup script all depends on your hardware and server type if you are hosting on the same machine that you are playing on then you can use the arguments you placed in your client as a starting point but it is a fair bit of trial and error to find what is best for you
Ignore EVERYTHING IcsWolf said, he/she obviously didn't look at the crashlog well enough to see that MrCrayfish's furniture mod is trying to load a non-existent class, net.minecraft.client.Minecraft (it's a client-only class). Report this to MrCrayfish, tell him he needs to use a side checker - FMLCommonHandler.getSide() is the best one.
I am running a Hamachi forge server from my computer with only one mod installed on it (CrayfishFurnitureMod) and everything works fine until me or my friend tries to join. The forge server file works, the console starts, and the server starts up properly. But when I join it, the console crashes and gives me the error message: An established connection was aborted by host machine, on my game. Any help?
Also, here is the most recent crash report from my server:
you need to add more ram and fully configure your start up script to match your hardware and server
I added more ram and it still doesn't work, so how do I configure my start up script?
adding the java arguments in your startup script all depends on your hardware and server type if you are hosting on the same machine that you are playing on then you can use the arguments you placed in your client as a starting point but it is a fair bit of trial and error to find what is best for you
Ignore EVERYTHING IcsWolf said, he/she obviously didn't look at the crashlog well enough to see that MrCrayfish's furniture mod is trying to load a non-existent class, net.minecraft.client.Minecraft (it's a client-only class). Report this to MrCrayfish, tell him he needs to use a side checker - FMLCommonHandler.getSide() is the best one.
Creator of Metroid Cubed 3, a Metroid-themed mod! Become a donator today!