Jump to content

MC 1.4.7 - mod crashes with Incompatible Argument


Recommended Posts

I posted this on the mod author's minecraftforum page but he said he doesn't know what the error means and doesn't seem interesed in fixing it since he's moved on to Minecraft 1.5.1.

 

 

 

2013-04-13 19:56:29 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.VerifyError: (class: draco18s/redstone/BaseRedstone, method: init signature: (Lcpw/mods/fml/common/event/FMLInitializationEvent;)V) Incompatible argument to function

2013-04-13 19:56:29 [iNFO] [sTDERR]    at java.lang.Class.forName0(Native Method)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at java.lang.Class.forName(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:418)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at java.lang.reflect.Method.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at java.lang.reflect.Method.invoke(Unknown Source)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at net.minecraft.client.Minecraft.a(Minecraft.java:412)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at asq.a(SourceFile:56)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at net.minecraft.client.Minecraft.run(Minecraft.java:746)

2013-04-13 19:56:29 [iNFO] [sTDERR]    at java.lang.Thread.run(Unknown Source)

 

 

 

I have a basic idea of what the error is but I don't know how to fix it. I used BON to deobfuscate the mod so I could give the author some suggestions but there are still some functions that use obfuscated names so Eclipse can't resolve them.

 

Example:

 

return par1World.k  - Eclipse doesn't know what "k" is

CallableLevelGenerator.d  - Eclipse doesn't know what "CallableLevelGenerator" is

 

Link to comment
Share on other sites

Typically this is caused by you not using the proper version of Minecraft for your mod.

 

Do you mean as a developer or user?

 

I've tried looking at it in mcp725 (for mc 1.4.6), mcp726 and mcp726a (for mc 1.4.7) and I've also tried loading the mod as a user in MC 1.4.6, 1.4.7.

 

The author's 1.5.1 version works in MC 1.5.1 so I was hoping to be able to offer help fixing the 1.4.7 version since I'll be staying on it for a while as I wait for other 1.5.1 mods to work out their bugs.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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