Jump to content

Recommended Posts

Posted

So, I'm getting a strange error with a mod I'm making that I can't get much information on. I assume it's related to a circular reference, but I can't figure anything out. :P

 

I'm using a fresh install of vanilla 1.4.7 with only Forge 6.6.0.497 installed in the jar, and only the mod I'm making is in the coremods folder (and nothing in the mods folder).

 

ForgeModLoader-client-0.log:

 

2013-01-12 20:34:25 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.7.4.520 for Minecraft 1.4.7 loading

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] All core mods are successfully located

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] Discovering coremods

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] Found a candidate coremod spelunker.jar

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] Loading coremod spelunker.jar

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] Loaded coremod spelunker.jar

2013-01-12 20:34:25 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar

2013-01-12 20:34:25 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar

2013-01-12 20:34:26 [FINEST] [ForgeModLoader] Download complete

2013-01-12 20:34:26 [iNFO] [ForgeModLoader] Download complete

2013-01-12 20:34:26 [FINEST] [ForgeModLoader] Library file argo-2.25.jar was downloaded and verified successfully

2013-01-12 20:34:26 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

2013-01-12 20:34:26 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Download complete

2013-01-12 20:34:28 [iNFO] [ForgeModLoader] Download complete

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Library file guava-12.0.1.jar was downloaded and verified successfully

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

2013-01-12 20:34:28 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Download complete

2013-01-12 20:34:28 [iNFO] [ForgeModLoader] Download complete

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Library file asm-all-4.0.jar was downloaded and verified successfully

2013-01-12 20:34:28 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-147.jar

2013-01-12 20:34:28 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-147.jar

2013-01-12 20:34:30 [FINEST] [ForgeModLoader] Download complete

2013-01-12 20:34:30 [iNFO] [ForgeModLoader] Download complete

2013-01-12 20:34:30 [FINEST] [ForgeModLoader] Library file bcprov-jdk15on-147.jar was downloaded and verified successfully

2013-01-12 20:34:30 [FINEST] [ForgeModLoader] Running coremod plugins

2013-01-12 20:34:30 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2013-01-12 20:34:33 [iNFO] [sTDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: cpw.mods.fml.common.asm.FMLSanityChecker

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:175)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:92)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:26)

2013-01-12 20:34:33 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.main(Minecraft.java:2235)

2013-01-12 20:34:33 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: cpw.mods.fml.common.asm.FMLSanityChecker

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:265)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)

2013-01-12 20:34:33 [iNFO] [sTDERR] ... 3 more

2013-01-12 20:34:33 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: cpw.mods.fml.common.asm.FMLSanityChecker

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:257)

2013-01-12 20:34:33 [iNFO] [sTDERR] ... 4 more

2013-01-12 20:34:33 [iNFO] [sTDERR] Caused by: java.lang.NoClassDefFoundError: com/spacechase0/minecraft/spelunkerdim/asm/EnchantmentListSubInterceptor

2013-01-12 20:34:33 [iNFO] [sTDERR] at com.spacechase0.minecraft.spelunkerdim.asm.SpelunkerAccessTransformer.transform(SpelunkerAccessTransformer.java:23)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)

2013-01-12 20:34:33 [iNFO] [sTDERR] ... 9 more

2013-01-12 20:34:33 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: com.spacechase0.minecraft.spelunkerdim.asm.EnchantmentListSubInterceptor

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-01-12 20:34:33 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-01-12 20:34:33 [iNFO] [sTDERR] ... 12 more

2013-01-12 20:34:33 [iNFO] [sTDERR] Caused by: java.lang.ClassCircularityError: com/spacechase0/minecraft/spelunkerdim/asm/EnchantmentListSubInterceptor

2013-01-12 20:34:33 [iNFO] [sTDERR] at com.spacechase0.minecraft.spelunkerdim.asm.SpelunkerAccessTransformer.transform(SpelunkerAccessTransformer.java:23)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)

2013-01-12 20:34:33 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)

2013-01-12 20:34:33 [iNFO] [sTDERR] ... 14 more

 

 

 

The three files referenced are here: [1] [2] [3]

 

I don't have a lot of experience with coremods and access transformers, so I'm probably missing something obvious... Any idea with what could be wrong?

Posted

You have to make sure your ASM classes are marked as ignored. Else they will try to transform themselves, which well.. fucks up.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Oh. I remember seeing that in a few code samples I looked at, but I didn't think that part was important.

 

I've got some other errors now, but it looks like something I'll be able to figure out with the objectweb docs.

 

Thanks! :)

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



×
×
  • Create New...

Important Information

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