Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi, I am getting this crash every time I try running my mod on eclipse:

 

Crash:

[16:33:33] [Client thread/ERROR] [sKC-CraftableHorseArmor]: Skipping event FMLPreInitializationEvent and marking errored mod SKC-CraftableHorseArmor since required dependency SKC-Core has errored
[16:33:33] [Client thread/INFO] [FML]: Applying holder lookups
[16:33:33] [Client thread/INFO] [FML]: Holder lookups applied
[16:33:33] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[16:33:33] [Client thread/ERROR] [FML]: 
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{8.0.12.1252} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1252-1.8.jar) Unloaded->Constructed->Pre-initialized
Forge{11.14.0.1252} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1252-1.8.jar) Unloaded->Constructed->Pre-initialized
SKC-Core{1.1.3.0} [sKC Core] (SKC-Core-1.8-1.1.3.0.jar) Unloaded->Constructed->Errored
SKC-CraftableHorseArmor{mod.version} [Craftable Horse Armor] (bin) Unloaded->Constructed->Errored
[16:33:33] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[16:33:33] [Client thread/ERROR] [FML]: Caught exception from SKC-Core
java.lang.NoSuchMethodError: net.minecraft.client.resources.I18n.func_135052_a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
at com.sackcastellon.core.helper.SKCVersionHelper.translateToLocalFormatted(SKCVersionHelper.java:226) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at com.sackcastellon.core.helper.SKCVersionHelper.getMessage(SKCVersionHelper.java:173) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at com.sackcastellon.core.helper.SKCVersionHelper.check(SKCVersionHelper.java:141) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at com.sackcastellon.core.handler.SKCConfigHandler.syncConfig(SKCConfigHandler.java:95) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at com.sackcastellon.core.handler.SKCConfigHandler.init(SKCConfigHandler.java:49) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at com.sackcastellon.core.SKCCore.preInit(SKCCore.java:49) ~[sKC-Core-1.8-1.1.3.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[forgeSrc-1.8-11.14.0.1252-1.8.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.8-11.14.0.1252-1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.8-11.14.0.1252-1.8.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:513) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:235) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:412) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:325) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
[16:33:33] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 6/12/14 16:33
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.resources.I18n.func_135052_a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:515)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:235)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:412)
at net.minecraft.client.Minecraft.run(Minecraft.java:325)
at net.minecraft.client.main.Main.main(Main.java:117)
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 net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
Caused by: java.lang.NoSuchMethodError: net.minecraft.client.resources.I18n.func_135052_a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
at com.sackcastellon.core.helper.SKCVersionHelper.translateToLocalFormatted(SKCVersionHelper.java:226)
at com.sackcastellon.core.helper.SKCVersionHelper.getMessage(SKCVersionHelper.java:173)
at com.sackcastellon.core.helper.SKCVersionHelper.check(SKCVersionHelper.java:141)
at com.sackcastellon.core.handler.SKCConfigHandler.syncConfig(SKCConfigHandler.java:95)
at com.sackcastellon.core.handler.SKCConfigHandler.init(SKCConfigHandler.java:49)
at com.sackcastellon.core.SKCCore.preInit(SKCCore.java:49)
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 net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
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.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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at net.minecraftforge.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.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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:513)
... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 57022472 bytes (54 MB) / 373817344 bytes (356 MB) up to 878182400 bytes (837 MB)
JVM Flags: 0 total; 
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.12.1252 Minecraft Forge 11.14.0.1252 5 mods loaded, 5 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{8.0.12.1252} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1252-1.8.jar) Unloaded->Constructed->Pre-initialized
Forge{11.14.0.1252} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1252-1.8.jar) Unloaded->Constructed->Pre-initialized
SKC-Core{1.1.3.0} [sKC Core] (SKC-Core-1.8-1.1.3.0.jar) Unloaded->Constructed->Errored
SKC-CraftableHorseArmor{mod.version} [Craftable Horse Armor] (bin) Unloaded->Constructed->Errored
[16:33:33] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:568]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Modding\Github\CraftableHorseArmor\.\crash-reports\crash-2014-12-06_16.33.33-client.txt

 

And this is the Method where the error, is theoretically, located:

private static String translateToLocalFormatted(String key, Object... str)
{
	String local;

	try
	{
		local = I18n.format(key);  // <-- HERE IS THE ERROR
		return String.format(local, str);
	}

	catch(Exception e)
	{
		Logger.error("By some reason the language files of \"" + str[0] + "\" are missing/damaged/outdated, so please consider re-downloading the mod or contact the author.", e);
	}

	return "MISSING_LANG";
}

 

Also notice, that the error comes from another mod which is a library (API), that i developed.

I tested the API on eclipse, builded it, and tested it again on Minecraft and worked properly.

But by some reason i could not understand, when i use the API as an library, of another mod it crashes.

 

This is the "Main" mod:

width=347 height=218https://dl.dropboxusercontent.com/u/184200482/img/Captura%20de%20pantalla%202014-12-06%2016.51.37.png[/img]

 

And this the API mod:

width=495 height=468https://dl.dropboxusercontent.com/u/184200482/img/Captura%20de%20pantalla%202014-12-06%2016.52.09.png[/img]

 

I hope someone can help me with this problem.

 

Thanks.

 


 

SOLUTION (Message with the solution)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.