TCLProject / ArsMagica2-5

Ars Magica 2.5
15 stars 8 forks source link

Search recipes by non-GTNH NEI causes NoClassDefFoundError #25

Open gengyunmaster opened 1 year ago

gengyunmaster commented 1 year ago

Hello! I encountered crashes when searching recipes of any item in NEI after installing AM2.5. Here is the crash report. Could you please help me to find out whether there is a bug in your mod? Thanks for your time reading this issue. crash-2023-09-16_08.44.30-client.txt

TCLProject commented 1 year ago

You have codechickencore but not codechickenlib installed - install it manually if you must. Both are required for the proper functioning of custom recipes as is stands. Upon further looking into it, the issue is that the GTNH version of NEI added a class not present in the original NEI, and I used their mod as my reference. Attempt to use GTNH NEI, it should fix the issue. I'll make a note to get rid of that dependency somehow. Leaving issue open until then

gengyunmaster commented 1 year ago

Thank you! I have checked my mod list again. Both CodeChickenCore (CCC for short) and CodeChickenLib (CCL for short) are required for NotEnoughItems (NEI for short) to run as far as I know, as the game can not be started with NEI but without CCC and CCL. I have already these three mods into my mods folder: mods/NotEnoughItems-1.7.10-1.0.5.120-universal.jar mods/CodeChickenCore-1.7.10-1.0.7.48-universal.jar mods/1.7.10/CodeChickenLib-1.7.10-1.1.3.141-universal.jar And I can search recipes by NEI before installing AM2.5. On the other hand, if I create a new instance that has only six mods: NEI, CCC, CCL, CoFHCore (CoFHCore-[1.7.10]3.1.4-329.jar), AM2.5 (AM2-1.6.5.jar) and AnimationAPI (AnimationAPI-1.7.10-1.2.4.jar), the game throws the same crash. To sum up, I am sure that I have CCL installed (although it is not presented in the crash report), otherwise my game can not be started. Here is the crash report when searching recipes of any item under the situation that only these six mods have been installed which directly refers to an incompatibility between AM2.5 and NEI (as well as dependencies of NEI). crash-2023-09-17_10.39.51-client.txt

gengyunmaster commented 1 year ago

After replacing AM2.5 with AM2 (1.7.10_AM2-1.4.0.009.jar), the crash problem disappeared.

gengyunmaster commented 1 year ago

I have also tried to use GTNH's NEI, and the crash disappeared. However, GTNH's NEI is not fully compatible with other mods in my modpack. So I prefer to use the original NEI. Looking forward to a new version of AM2.5 that supports the original NEI. Thank you again!