Skip to content

Failure to load any recipe in one mod prevents loading of other supported mods #54

@TheNoneMan

Description

@TheNoneMan

Tested within Prominence 2 modpack. After update I lost an ability to look up recipes from Industrial Revolution. After inspecting logs and comparing them to the previous modpack (and thus Tech Reborn) version found following:
Old logs - everything works fine:

[21:24:37] [Thread-59/INFO]: [EMI] Loading plugin from extra-mod-integrations
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Loading Tech Reborn Integration...
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Loading Industrial Revolution Integration...
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Skipping integration for Farmer's Delight (mod not found)
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Skipping integration for Conjuring (mod not found)
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Skipping integration for Ae2 Plugin. Reason: ae2-emi-crafting was installed. (mod not found)
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Skipping integration for Hephaestus (mod not found)
[21:24:37] [Thread-59/INFO]: [Extra Mod Integrations] Skipping integration for Dimensional Doors (mod not found)

New logs:

[21:39:47] [Thread-62/INFO]: [EMI] Loading plugin from extra-mod-integrations
[21:39:47] [Thread-62/INFO]: [Extra Mod Integrations] Loading Tech Reborn Integration...
[21:39:47] [Thread-62/ERROR]: Exception loading plugin provided by extra-mod-integrations
java.lang.NullPointerException: Cannot invoke "techreborn.api.generator.FluidGeneratorRecipeList.getRecipes()" because the return value of "techreborn.api.generator.GeneratorRecipeHelper.getFluidRecipesForGenerator(techreborn.api.generator.EFluidGenerator)" is null
	at com.kneelawk.extramodintegrations.techreborn.TRIntegration.registerImpl(TRIntegration.java:290) ~[extra-mod-integrations-0.4.7+1.20.1.jar:?]
	at com.kneelawk.extramodintegrations.AbstractTRIntegration.register(AbstractTRIntegration.java:29) ~[extra-mod-integrations-0.4.7+1.20.1.jar:?]
	at com.kneelawk.extramodintegrations.ExMIPlugin.register(ExMIPlugin.java:30) ~[extra-mod-integrations-0.4.7+1.20.1.jar:?]
	at dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:188) ~[emi-1.1.22+1.20.1+fabric.jar:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
[21:39:47] [Thread-62/INFO]: [EMI] Loading plugin from farmersdelight

So failing to load FluidGenerator recipes prevented the addon to load other supported mods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions