Posted June 13, 201411 yr hey guys i have somekind problem idk what to do, when i play singleplayer with my mod ,proxy doesn't error and all renders and etc works fine but when i try to play multiplayer , server just crashes says something is wrong with proxy i don't get it ---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 14.6.13 21.23 Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.HogansCraft.mod.proxy.CommonProxy at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.loadMods(Loader.java:491) at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:114) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669) Caused by: java.lang.ClassNotFoundException: net.HogansCraft.mod.proxy.CommonProxy at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ... 28 more Caused by: java.lang.NullPointerException A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_60, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 157428976 bytes (150 MB) / 258473984 bytes (246 MB) up to 1424490496 bytes (1358 MB) JVM Flags: 0 total; 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.03 FML v7.2.205.1101 Minecraft Forge 10.12.1.1101 4 mods loaded, 4 mods active mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{7.2.205.1101} [Forge Mod Loader] (forge-1.7.2-10.12.1.1101-universal.jar) Unloaded->Constructed Forge{10.12.1.1101} [Minecraft Forge] (forge-1.7.2-10.12.1.1101-universal.jar) Unloaded->Constructed HogansCraft{Alpha 0.8} [HogansCraft] (Hoganscraft-1.7.2-1.0.jar) Unloaded->Errored Pr tell me how to fix this please :3 Proud mod developer of: Mob Armor mod Block monster mod Clay Living Dolls mod Much More Spiders mod Elemental cows reborn Mr gorilla mod
June 14, 201411 yr Hi This link might help you understand the proxy better http://greyminecraftcoder.blogspot.com.au/2013/11/how-forge-starts-up-your-code.html It's written for 1.6.4 but the concepts are identical for 1.7.2 -TGG
June 14, 201411 yr Looks like you need a common(server) proxy called CommonProxy in net.HogansCraft.mod.proxy. Here is some example code: package net.HogansCraft.mod.proxy; public class CommonProxy { } Developer of the WIP Rubies mod.
June 14, 201411 yr Author i arleady have it setup and ready but nothing Proud mod developer of: Mob Armor mod Block monster mod Clay Living Dolls mod Much More Spiders mod Elemental cows reborn Mr gorilla mod
June 14, 201411 yr Author Client Proxy: package net.Hoganscraft.mod.proxy; import hoganscraft.renders.RenderArcher; import hoganscraft.renders.RenderFighter; import com.hogans.craft.entities.EntityArcher; import com.hogans.craft.entities.EntityFighter; import com.hogans.craft.model.ModelArcher; import com.hogans.craft.model.ModelFighter; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.item.Item; import net.minecraftforge.client.MinecraftForgeClient; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.client.registry.RenderingRegistry; public class ClientProxy extends CommonProxy { public void registerRenderThings() { //ObsidianTable //Entities RenderingRegistry.registerEntityRenderingHandler(EntityFighter.class, new RenderFighter(new ModelFighter(), 3F)); RenderingRegistry.registerEntityRenderingHandler(EntityArcher.class, new RenderArcher(new ModelArcher(), 3F)); } public void registerTileEntitySpecialRenderer() { } } CommonProxy: package net.Hoganscraft.mod.proxy; public class CommonProxy { public void registerRenderThings() { } } Main: @SidedProxy(clientSide = "net.Hoganscraft.mod.proxy.ClientProxy", serverSide = "net.HogansCraft.mod.proxy.CommonProxy" ) public static CommonProxy Proxy; Proud mod developer of: Mob Armor mod Block monster mod Clay Living Dolls mod Much More Spiders mod Elemental cows reborn Mr gorilla mod
June 14, 201411 yr Client Proxy: package net.Hoganscraft.mod.proxy; --------------------------------------------------------- Main: @SidedProxy(clientSide = "net.Hoganscraft.mod.proxy.ClientProxy", serverSide = "net.HogansCraft.mod.proxy.CommonProxy" ) See anything wrong? -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
June 14, 201411 yr Author idk, didn't see anything wrong Proud mod developer of: Mob Armor mod Block monster mod Clay Living Dolls mod Much More Spiders mod Elemental cows reborn Mr gorilla mod
June 14, 201411 yr idk, didn't see anything wrong Seriously? You don't see it? -.- Add me on Skype: AblazeTheBest. Send a message saying "#HeyAblaze" Currently: Making a mod!
June 14, 201411 yr Author oh i noticed it! thanks . problem solved Proud mod developer of: Mob Armor mod Block monster mod Clay Living Dolls mod Much More Spiders mod Elemental cows reborn Mr gorilla mod
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.