Posted September 22, 201213 yr I have several 1.3.2 mods installed and there's id conflict. When I tried to fix it by changing the setting in /config, it crashed. Here's the crash report: ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 2012/9/22 下午 6:28 Description: Failed to start game cpw.mods.fml.common.LoaderException: java.lang.reflect.InvocationTargetException at cpw.mods.fml.common.LoadController.transition(LoadController.java:102) at cpw.mods.fml.common.Loader.loadMods(Loader.java:461) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143) at net.minecraft.client.Minecraft.a(Minecraft.java:414) at net.minecraft.client.Minecraft.run(Minecraft.java:746) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:424) at sun.reflect.GeneratedMethodAccessor3.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:124) 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:81) at cpw.mods.fml.common.Loader.loadMods(Loader.java:460) ... 4 more Caused by: java.lang.RuntimeException: unknown character ? at net.minecraftforge.common.Configuration.load(Configuration.java:264) at powercrystals.minefactoryreloaded.common.MineFactoryReloadedCore.loadConfig(MineFactoryReloadedCore.java:438) at powercrystals.minefactoryreloaded.common.MineFactoryReloadedCore.preInit(MineFactoryReloadedCore.java:166) ... 29 more Relevant Details: - Minecraft Version: 1.3.2 - Operating System: Windows XP (x86) version 5.1 - Java Version: 1.7.0_07, Oracle Corporation - Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation - Memory: 360980176 bytes (344 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB) - JVM Flags: 2 total; -Xms512m -Xmx1024m - FML: FML v3.1.15.378 Minecraft Forge 4.1.4.272 19 mods loaded, 19 mods active FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized mod_CodeChickenCore [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized mod_NotEnoughItems [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized mod_ReiMinimap [mod_ReiMinimap] (minecraft.jar) Unloaded->Constructed->Pre-initialized mod_InvTweaks [inventory Tweaks] (minecraft.jar) Unloaded->Constructed->Pre-initialized IronChest [iron Chest] (minecraft.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Core [buildCraft] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Builders [bC Builders] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Energy [bC Energy] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Factory [bC Factory] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Transport [bC Transport] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized BuildCraft|Silicon [bC Silicon] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized Forestry [Forestry for Minecraft] (forestry-A-1.5.0.2.jar) Unloaded->Constructed->Pre-initialized IC2 [industrialCraft 2] (industrialcraft-2_1.106.jar) Unloaded->Constructed->Pre-initialized MFR_CompatGrass [MFR Grass Fertilizer Addon] (MineFactoryReloaded_1.3.2.zip) Unloaded->Constructed->Pre-initialized MFReloaded [Minefactory Reloaded] (MineFactoryReloaded_1.3.2.zip) Unloaded->Constructed->Errored CompactSolars [Compact Solar Arrays] (mod_compactsolars-main-3.0.1.13.zip) Unloaded->Constructed->Pre-initialized Railcraft [Railcraft] (Railcraft_6.1.2.0.zip) Unloaded->Constructed->Pre-initialized - LWJGL: 2.4.2 - OpenGL: GeForce 320M/PCI/SSE2 GL version 3.2.0, NVIDIA Corporation - Is Modded: Definitely; 'forge,fml' - Type: Client - Texture Pack: Default - Profiler Position: N/A (disabled) Not sure if it helps... the mods conflicted between MFR and Forestry when I added MFR in. I think maybe it's a problem related to Forge. If not, please just forgive me MC 1.3.2 Forge 4.1.4.272
September 22, 201213 yr Make sure you save the file as utf-8 I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 22, 201213 yr "Caused by: java.lang.RuntimeException: unknown character ?" What is the ? doing? Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
September 22, 201213 yr Interesting can you upload a zip of your config somewhere please. Also what are your default system language settings, as well as the program you use to edit it, this shouldn't happen unless you're not saving as utf-8 I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 23, 201213 yr Author OK...(Sorry for my late reply) I put my config here I use text book (in windows) to edit it. Save as UTF-8 for a new one and change it to .cfg My language setting is traditional Chinese(繁體中文), and also in MC. I can list up what my mods are, but I think it's already in the crash report (Just ask for it if the versions are needed). I'm sure I have my path in all English -> C:\Documents and Settings\user\Application Data\.minecraft\config I would love to help if it's a new bug (maybe) here. Thx anyway :)
September 23, 201213 yr This unknown character is probably the BOM for UTF-8 (http://en.wikipedia.org/wiki/Byte_order_mark) which is always at the beginning of an UTF-8 file, unless you save it as UTF-8 without BOM. I had this issue with my own UTF-8 files for my Language Manager. Either save the config as UTF-8 w/o BOM, or save it as ANSI. Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
September 23, 201213 yr Author Wow!!!! It works when save it as ANSI! Thx! Just asking: How could I save it without BOM (delete it?)? And...why it crashes my MC when launched?
September 23, 201213 yr Forge tries to load as UTF-8, I'll need to look into why it doesn't parse the BOM correctly. It switched from ANSI to UTF-8 in recent versions to help fix issues with some people encoding things incorrectly. Wish that text files would simply have a globally unique identifier in the headder... would make life a lot simpler. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 24, 201213 yr @Lex: If you wanna know how I solved the BOM issue, you can look at my Language Manager here: https://gist.github.com/3775312 It's in the loadLangPropertyStr(...) method. Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
September 25, 201213 yr Just ripping out the bytes everywhere isnt a valid solution. However, https://github.com/MinecraftForge/MinecraftForge/commit/1804f22182bfa0d8404ab5472b6d5ae7e1fdc785 Should work just fine, go test. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
September 25, 201213 yr Just ripping out the bytes everywhere isnt a valid solution. However, https://github.com/MinecraftForge/MinecraftForge/commit/1804f22182bfa0d8404ab5472b6d5ae7e1fdc785 Should work just fine, go test. Looks neat. I'll test that. EDIT: Alright, I've tested your class (UnicodeInputStreamReader) now (sorry if I'm late, had stuff to do). The class reads UTF-X files with BOM quite well. The only thing is that it can't read files encoded in ANSI (ASCII) or UTF-8 w/o BOM now. I can't find the problem... Seems like if it hasn't any BOM, it just cuts out 4 chars at the beginning. I set the inital size variable to 0 instead of 4 (it's on line 417 in this file) and it works now in both, UTF with BOM and encodings without BOM (UTF-8 w/o BOM and ANSI). But does this cause any problems? EDIT2: Forgot to mention that I've added the line size = 4; after enc = "UTF-32BE"; and enc = "UTF-32LE"; Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
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.