GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

[BUG] Null Fluidstack Crash on Startup

AvilionAMillion opened this issue ยท 3 comments

commented

Crash on startup from a Illegal Argument Exception, "Cannot create a fluidstack from a null fluid"

Versions
Forge: forge-14.23.5.2860
GTCE: Latest Beta CEU

Error Log
`java.lang.IllegalArgumentException: Cannot create a fluidstack from a null fluid
at net.minecraftforge.fluids.FluidStack.(FluidStack.java:49)
at gregtech.api.unification.material.Material.getFluid(Material.java:163)
at gregtech.loaders.recipe.handlers.MaterialRecipeHandler.processBlock(MaterialRecipeHandler.java:401)
at gregtech.loaders.recipe.handlers.MaterialRecipeHandler$$Lambda$4673/1185997159.accept(Unknown Source)
at gregtech.api.unification.ore.OrePrefix.lambda$addProcessingHandler$25(OrePrefix.java:523)
at gregtech.api.unification.ore.OrePrefix$$Lambda$4671/1135229363.processMaterial(Unknown Source)
at gregtech.api.unification.ore.OrePrefix.runGeneratedMaterialHandlers(OrePrefix.java:559)
at gregtech.api.unification.ore.OrePrefix.runMaterialHandlers(OrePrefix.java:539)
at gregtech.common.CommonProxy.runEarlyMaterialHandlers(CommonProxy.java:224)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_949_CommonProxy_runEarlyMaterialHandlers_Register.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857)
at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- Head --
Thread: Client thread
Stacktrace:
at net.minecraftforge.fluids.FluidStack.(FluidStack.java:49)
at gregtech.api.unification.material.Material.getFluid(Material.java:163)
at gregtech.loaders.recipe.handlers.MaterialRecipeHandler.processBlock(MaterialRecipeHandler.java:401)
at gregtech.loaders.recipe.handlers.MaterialRecipeHandler$$Lambda$4673/1185997159.accept(Unknown Source)
at gregtech.api.unification.ore.OrePrefix.lambda$addProcessingHandler$25(OrePrefix.java:523)
at gregtech.api.unification.ore.OrePrefix$$Lambda$4671/1135229363.processMaterial(Unknown Source)
at gregtech.api.unification.ore.OrePrefix.runGeneratedMaterialHandlers(OrePrefix.java:559)
at gregtech.api.unification.ore.OrePrefix.runMaterialHandlers(OrePrefix.java:539)
at gregtech.common.CommonProxy.runEarlyMaterialHandlers(CommonProxy.java:224)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_949_CommonProxy_runEarlyMaterialHandlers_Register.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857)
at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)`

commented

Can you send the full crash log? We've been trying to diagnose this one for a while and would like as much info on what mods cause it as possible.

commented

There is #436 that might solve this issue, but needs testing. Could you send your mod list, so we can see if the PR fixes the issue

commented

Can you send the full crash log? We've been trying to diagnose this one for a while and would like as much info on what mods cause it as possible.

crash-2021-12-30_16.45.21-client.txt