Topic category: Troubleshooting, bugs, and solutions
Hi everyone !
I want to put my mod into my server but I got this crash when I start the minecraft server test environnement in MCreator. Can someone help me please ! Thanks !
Crash reports:
---- Minecraft Crash Report ----
// I let you down. Sorry :(
Time: 17-12-14 21:58
Description: Exception in server tick loop
cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP
at mod.mcreator.mcreator_cyaniteOre.<clinit>(mcreator_cyaniteOre.java:53)
at mod.mcreator.testenvironmentmod.<init>(testenvironmentmod.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:506)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityClientPlayerMP
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 36 more
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/EntityClientPlayerMP for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 38 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_101, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 61225632 bytes (58 MB) / 108826624 bytes (103 MB) up to 1593180160 bytes (1519 MB)
JVM Flags: 1 total; -Xincgc
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
UC Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
UE testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
What was the last thing you added to your mod before the issue appeared?
I never had any issue with the mod with the client ! It's only with the server environnement...
I did a test on my client but it didn't crash but I saw this message in the console. I think there is a link with the crash with the server environnement.
* The object mod.mcreator.mcreator_cyaniteOre$BlockCyaniteOre@65bbf773 has been registered twice for the same name testenvironmentmod:CyaniteOre.
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: * The object mod.mcreator.mcreator_topazeOre$BlockTopazeOre@3bc645e0 has been registered twice for the same name testenvironmentmod:TopazeOre.
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: * The object mod.mcreator.mcreator_tritiumOre$BlockTritiumOre@522d0ec9 has been registered twice for the same name testenvironmentmod:TritiumOre.
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: ****************************************
[19:01:38] [Client thread/WARN] [FML]: * The object mod.mcreator.mcreator_onyxOre$BlockOnyxOre@22a022f9 has been registered twice for the same name testenvironmentmod:OnyxOre.
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:894)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:869)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:229)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:188)
[19:01:38] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:177)...
[19:01:38] [Client thread/WARN] [FML]: ****************************************
Not everything in MCreator supports multiplayer at this moment. We will be working on better multiplayer support in MCreator 2.