Forestry: Community Edition

Forestry: Community Edition

4k Downloads

[1.0.11] Engine crash when inserting lava

thedarkcolour opened this issue ยท 0 comments

commented

This happened in a multiplayer server when inserting lava into an engine.
Stacktrace:

java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_206579_()" because the return value of "net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer()" is null
	at forestry.core.fluids.FluidTagFilter.lambda$new$0(FluidTagFilter.java:25) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.ReloadableFluidFilter.get(ReloadableFluidFilter.java:27) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.ReloadableFluidFilter.get(ReloadableFluidFilter.java:11) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.FilteredTank.fluidMatchesFilter(FilteredTank.java:66) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.StandardTank.isFluidValid(StandardTank.java:87) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.StandardTank.fill(StandardTank.java:100) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.TankManager.tankAcceptsFluid(TankManager.java:302) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at forestry.core.fluids.TankManager.fill(TankManager.java:215) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.tryFluidTransfer_Internal(FluidUtil.java:391) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.tryFluidTransfer(FluidUtil.java:354) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.lambda$tryEmptyContainer$3(FluidUtil.java:178) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.common.util.LazyOptional.map(LazyOptional.java:195) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.tryEmptyContainer(FluidUtil.java:177) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.tryEmptyContainerAndStow(FluidUtil.java:303) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.lambda$interactWithFluidHandler$1(FluidUtil.java:99) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.common.util.LazyOptional.map(LazyOptional.java:195) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.interactWithFluidHandler(FluidUtil.java:94) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.lambda$interactWithFluidHandler$0(FluidUtil.java:70) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.common.util.LazyOptional.map(LazyOptional.java:195) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at net.minecraftforge.fluids.FluidUtil.interactWithFluidHandler(FluidUtil.java:70) ~[forge-1.19.2-43.4.4-universal.jar%23250!/:?] {re:classloading}
	at forestry.core.blocks.BlockBase.m_6227_(BlockBase.java:133) ~[forestry-1.19.2-1.0.11.jar%23201!/:1.0.11] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60664_(BlockBehaviour.java:714) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.BlockStateBaseMixin,pl:mixin:APP:mixins.oculus.json:MixinBlockStateBehavior,pl:mixin:APP:copycats-common.mixins.json:foundation.copycat.BlockStateBaseMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.reduce_blockstate_cache_rebuilds.BlockStateBaseMixin,pl:mixin:APP:ferritecore.blockstatecache.mixin.json:BlockStateBaseMixin,pl:mixin:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233746_(MultiPlayerGameMode.java:339) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:bettercombat.mixins.json:client.ClientPlayerInteractionManagerMixin,pl:mixin:APP:wthit.mixins.json:MultiPlayerGameModeAccess,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233740_(MultiPlayerGameMode.java:312) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:bettercombat.mixins.json:client.ClientPlayerInteractionManagerMixin,pl:mixin:APP:wthit.mixins.json:MultiPlayerGameModeAccess,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233729_(MultiPlayerGameMode.java:252) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:bettercombat.mixins.json:client.ClientPlayerInteractionManagerMixin,pl:mixin:APP:wthit.mixins.json:MultiPlayerGameModeAccess,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.multiplayer.MultiPlayerGameMode.m_233732_(MultiPlayerGameMode.java:311) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:bettercombat.mixins.json:client.ClientPlayerInteractionManagerMixin,pl:mixin:APP:wthit.mixins.json:MultiPlayerGameModeAccess,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91277_(Minecraft.java:1671) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91279_(Minecraft.java:1953) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1768) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1078) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,xf:fml:xaeroworldmap:xaero_wm_minecraftclient,xf:fml:xaerominimap:xaero_minecraftclient,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23245!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] {}
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.4.4.jar%23122!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%23109!/:?] {}
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] {}
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) [ForgeWrapper-mmc5.jar:mmc5] {}
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] {}
	at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] {}
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) [NewLaunch.jar:?] {}
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) [NewLaunch.jar:?] {}
	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] {}
	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] {}