Jump to content

Recommended Posts

Posted

My mod works fine inside eclipse but when i export and run it through the launcher this happens:

 

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 15/08/13 19:37
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: netherQuartz
   at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)
   at cpw.mods.fml.common.Loader.initializeMods(Loader.java:698)
   at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:231)
   at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:506)
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
   at net.minecraft.client.main.Main.main(SourceFile:101)
   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:57)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
Caused by: java.lang.NoSuchFieldError: netherQuartz
   at blocks2items.crafting.Recipes.addRecipes(Recipes.java:14)
   at blocks2items.crafting.BaseMod.load(BaseMod.java:24)
   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:540)
   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:45)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
   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:194)
   at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
   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:45)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
   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:105)
   at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697)
   ... 10 more


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

-- System Details --
Details:
   Minecraft Version: 1.6.2
   Operating System: Windows 8 (amd64) version 6.2
   Java Version: 1.7.0_25, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 1022635984 bytes (975 MB) / 1297547264 bytes (1237 MB) up to 1905197056 bytes (1816 MB)
   JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms1G
   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 v8.04 FML v6.2.43.829 Minecraft Forge 9.10.0.829 4 mods loaded, 4 mods active
   mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
   FML{6.2.43.829} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
   Forge{9.10.0.829} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
   B2I{1.0} [blocks2Items] (B2I.zip) Unloaded->Constructed->Pre-initialized->Errored

 

This is the line that it is comlaining about:

 

ItemStack QuartzOutput = new ItemStack(Item.netherQuartz, 4);

 

I have Imported net.minecraft.item.Item and net.minecraft.item.ItemStack.

 

It seems to do this for all vanilla items that i try to use.

 

The forge version on the client is also newer than the forge version used to create the mod

 

Development forge version: 819

Client forge version: 829

Posted

Well I assume this works in eclipse just not when exported to MC?

 

 

Three things then:

 

1. Is your modid lowercase only? if not you will have problems when exporting.

2. Are your package names lowercase only?

3. Have you reobfuscated the files before throwing them into mc?

 

  Quote

If you guys dont get it.. then well ya.. try harder...

Posted
  On 8/15/2013 at 6:55 PM, Mazetar said:

Well I assume this works in eclipse just not when exported to MC?

 

 

Three things then:

 

1. Is your modid lowercase only? if not you will have problems when exporting.

2. Are your package names lowercase only?

3. Have you reobfuscated the files before throwing them into mc?

i didnt know about package lowercase, java convention is to not use uppercase for package anyway but thats good to know

(yes i know not a lot of people follow java convention)

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

I'm not 100% sure about the package lowercase, but it was said in some thread and since it is the convention I'd set is as all lowercase regardless :)

  Quote

If you guys dont get it.. then well ya.. try harder...

Posted

reobfuscating does not return any files for me, my mod is in a separate folder but it dosnt work when i drag the package in the minecraft source folder either.

 

I had taken the files from the bin folder in the elclipse workspace directory.

Posted
  Quote
I had taken the files from the bin folder in the elclipse workspace directory.

 

well the bin directory is not obfuscated so its normal it crash

 

  Quote
reobfuscating does not return any files for me, my mod is in a separate folder but it dosnt work when i drag the package in the minecraft source folder either.

i dont understand why peopel do that, it only causes problem later :\

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

Try to copy your source and resource folders to your mcp/src/minecraft, run recompile and than reobfuscate-srg. That should work.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • wait, i just did that. why didn't it work? also it's the same. help me!!!!
    • Culprit has been located! It was Tough As Nails + (plus) which was among one of the mods *added* before re-entering, in an attempt to improve compatibility. It, for some reason or another, did not want to work!
    • "You can either try to load it with only the vanilla data pack ("safe mode"), or go back to the title screen and fix it manually." Hello! I encountered this error just now while attempting to re-enter my world for the first time. Notably, no mods were removed before encountering this error and, while being able to find this error elsewhere on the internet, in my scenario it is seemingly caused by a specific mod, of which I cannot isolate. Things I have tried: - Enter "Safe Mode" (fails) - Remove datapacks (no change) - Reverted to old save data (no change) Here is the server log: https://mclo.gs/9vJQEfN I use Modrinth mod loader so please let me know how to share my mod list, and if it is needed.
    • So, i'm hosting (or attempting to host) a port-forwarded modded server for 1.12.2. There's quite a few mods in this pack, but they all run and have no compatibility issues (besides something causing the game to crash if you go fullscreen, a problem ive given up trying to identify or fix). It can run on 6gb of ram or less, and works fine in singleplayer. All of my friends that want to join have the exact same mod/config/game setup as I do (I personally helped them set everything up). Just to be safe, we've all allocated 12 gigabytes of RAM to the installation, and I've also allocated 12GB to the server itself. I am able to join with no issue and it runs fine. However, when they try to join, it gets stuck in the 'logging in' screen before their game becomes unresponsive. When they close it, it gives them the exit code 805306369, which usually means not enough RAM, but this cant be the case. On my screen, in the server, it shows them joining, and then disconnecting, so I dont think its a port-forwarding issue. They can all run it just fine in singleplayer as well. The annoying bit about this particular issue is that it generates no crash log. Does anyone have any suggestions? Thanks! Here is my debug log, and his, starting from the same place. MINE: [132647] [Netty Client IO #5INFO] [FML] Attempting connection with missing mods [ctm, fusion] at SERVER 132653.817 [132653] [Client threadINFO] [minecraftGuiConnecting] Connecting to 0, 25565 132654.682 [132654] [Netty Client IO #9INFO] [STDOUT] [xaero.common.core.transformer.ClassNodeTransformertransform29] Transforming class brz net.minecraft.client.network.NetHandlerPlayClient 132654.684 [132654] [Netty Client IO #9INFO] [STDOUT] [xaero.map.core.transformer.ClassNodeTransformertransform29] Transforming class net.minecraft.client.network.NetHandlerPlayClient 132654.764 [132654] [Netty Client IO #9INFO] [FML] Server protocol version 2 132654.777 [132654] [Netty Client IO #9INFO] [FML] Attempting connection with missing mods [ctm, fusion] at SERVER 132656.193 [132656] [Client threadINFO] [FML] Injecting existing registry data into this client instance 132659.081 [132659] [Client threadINFO] [FML] Applying holder lookups 132659.082 [132659] [Client threadINFO] [FML] Holder lookups applied 132659.092 [132659] [Netty Client IO #9INFO] [FML] [Netty Client IO #9] Client side modded connection established HIS: [13:12:16] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [ctm, fusion] at SERVER 13:12:25.597 [13:12:25] [Client thread/INFO] [minecraft/GuiConnecting]: Connecting to (my IP address and the server port 25565) 13:12:26.805 [13:12:26] [Netty Client IO #1/INFO] [STDOUT]: [xaero.common.core.transformer.ClassNodeTransformer:transform:29]: Transforming class brz net.minecraft.client.network.NetHandlerPlayClient 13:12:26.808 [13:12:26] [Netty Client IO #1/INFO] [STDOUT]: [xaero.map.core.transformer.ClassNodeTransformer:transform:29]: Transforming class net.minecraft.client.network.NetHandlerPlayClient 13:12:26.936 [13:12:26] [Netty Client IO #1/INFO] [FML]: Server protocol version 2 13:12:27.114 [13:12:27] [Netty Client IO #1/INFO] [FML]: Attempting connection with missing mods [ctm, fusion] at SERVER 13:12:27.480 [13:12:27] [Client thread/INFO] [FML]: Injecting existing registry data into this client instance 13:12:30.669 [13:12:30] [Client thread/INFO] [FML]: Applying holder lookups 13:12:30.671 [13:12:30] [Client thread/INFO] [FML]: Holder lookups applied 13:13:04.700 Process crashed with exit code -805306369 P.S - Both mods "CTM" and "FUSION" are present in both our folders so idk what that's about.
    • Please read the FAQ (link is orange banner at top of page), and post logs as described there, to an external site such as https://mclo.gs  
  • Topics

×
×
  • Create New...

Important Information

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