Posted February 21, 201312 yr Could someone please help me with these problems. I have no errors in my class files and this is not easy to read. Thank you in advance. ---- Minecraft Crash Report ---- // Why did you do that? Time: 2/21/13 6:07 PM Description: Failed to start game java.lang.RuntimeException: Channel name is invalid at cpw.mods.fml.common.network.NetworkRegistry.registerChannel(NetworkRegistry.java:92) at cpw.mods.fml.common.network.NetworkRegistry.registerChannel(NetworkRegistry.java:102) at cpw.mods.fml.common.network.NetworkModHandler.tryCreatingPacketHandler(NetworkModHandler.java:186) at cpw.mods.fml.common.network.NetworkModHandler.<init>(NetworkModHandler.java:114) at cpw.mods.fml.common.network.FMLNetworkHandler.registerNetworkMod(FMLNetworkHandler.java:249) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:456) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) 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:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:479) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161) at net.minecraft.client.Minecraft.startGame(Minecraft.java:410) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:744) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.4.7 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_13, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 770188592 bytes (734 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed MHPage12_Elementals Mod [Elementals Mod] (bin) Unloaded->Errored LWJGL: 2.4.2 OpenGL: AMD Radeon HD 6870M GL version 4.1.10765 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
February 22, 201312 yr 1. please for the love of god don't paste a 10++ line code/error log into your post, it's hard to read and the post page gets funky use paste.minecraftforge.net or www.pastebin.com 2. Zedblade is totaly correct, thats where to look. 3. You sure? Did you read the first lines? and this is not easy to read. java.lang.RuntimeException: Channel name is invalid The bolded text seems quite easy to read for me, ofcoruse I bolded it but it was the first line saying anything about what went wrong. So maybe it's something with your channel name? 4. Zedblade said check the modID, modname, @mod annotation and channel names. The error log said check Channel name! How didn't those help at all? You should reopen eclipse and take another look. If you guys dont get it.. then well ya.. try harder...
February 22, 201312 yr Author I made them all the same and guess what it gave me the same error is there supposed to be a specific name for the channel that I am totally missing.
February 22, 201312 yr What about checking the tutorials for how it's supposed to be then? If you guys dont get it.. then well ya.. try harder...
February 22, 201312 yr Author Checked the tutorials most or all of them and mine is just like them but for them the names are different. Should I change the names.
February 22, 201312 yr Author Here is my main class file with all the channels in it if you need anything else just ask. http://paste.minecraftforge.net/view/f95d8f03
February 22, 201312 yr Author No that did not help much at all but I did get a new error. http://paste.minecraftforge.net/view/aa0a5a08
February 22, 201312 yr Author Alright so you have the most helpful help in this entire thread, but now there is a new problem it does not have a gui when I right click. Did I mess up the activation code I don't think so. Any other help would be much appreciated.
February 22, 201312 yr Author Alright which classes do you need? Or do you want the whole source code?
February 22, 201312 yr Each file as it's own paste, take everything If you guys dont get it.. then well ya.. try harder...
February 22, 201312 yr Author Okay Elemental Crafter: http://paste.minecraftforge.net/view/8ac65267 Tile Entity: http://paste.minecraftforge.net/view/0abb188f Gui Handler: http://paste.minecraftforge.net/view/b2094f75 Container: http://paste.minecraftforge.net/view/60b051bc Gui Drawer: http://paste.minecraftforge.net/view/138550a9 MainModClass: http://paste.minecraftforge.net/view/bd6792d2 Here are all the classes with any relation to the GUI I am trying to make.
February 23, 201312 yr yes they are... instance = new mod_ElementalsMod(); If you guys dont get it.. then well ya.. try harder...
February 23, 201312 yr Author Alright so I fixed that I thought you meant the forge initialization, but that does not solve the GUI not opening problem.
February 23, 201312 yr did you fix the problem with the proxy as well? If you guys dont get it.. then well ya.. try harder...
February 24, 201312 yr Author Obviously you guys do not know whats wrong so we might as well close this subject.
February 24, 201312 yr Actually wen made you find and fixed that problem, which was a huge problem which you would have had to fix in order for your mod to work! After which I myself have had stuff to do outside these forums, so I haven't had time to look at the source's again to look for more errors related to your problem(s) yet. Meanwhile other people might answer this or you probably have found the solution yourself now? if you then I encourage you to post the solution inn a new post below here and lock this topic with the String "[solved]" included inn the title. If you guys dont get it.. then well ya.. try harder...
February 24, 201312 yr Author Solved I forgot to make the block class itself extend BlockContainer not just Block.
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.