CyclopsMC / CyclopsCore

Minecraft library mod for EvilCraft, Integrated Dynamics and others.
http://cyclopsmc.github.io/CyclopsCore/
MIT License
20 stars 29 forks source link

1.16.4: NPE after removing a dimension #149

Closed 7eggert closed 3 years ago

7eggert commented 3 years ago

Issue type:


Short description:

After removing a mod that creates a dimension, I get this crash:

[23Jan2021 13:54:34.795] [Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: Cannot invoke "net.minecraft.world.IBlockReader.func_175625_s(net.minecraft. util.math.BlockPos)" because "world" is null Index: 2 Listeners: 0: NORMAL 1: ASM: net.minecraftforge.common.ForgeInternalHandler@1e7f5966 onServerTick(Lnet/minecraftforge/event/TickEvent$ServerTickEvent;)V 2: ASM: org.cyclops.integrateddynamics.core.TickHandler@2d277b4c onTick(Lnet/minecraftforge/event/TickEvent;)V 3: ASM: org.cyclops.integrateddynamics.core.NoteBlockEventReceiver@2daad65f onTick(Lnet/minecraftforge/event/TickEvent;)V java.lang.NullPointerException: Cannot invoke "net.minecraft.world.IBlockReader.func_175625_s(net.minecraft.util.math.BlockPos)" because "world" is null at org.cyclops.cyclopscore.helper.TileHelpers.getSafeTile(TileHelpers.java:63) at org.cyclops.cyclopscore.helper.TileHelpers.getCapability(TileHelpers.java:150) at org.cyclops.integrateddynamics.core.path.Cluster.fromNBT(Cluster.java:89) at org.cyclops.integrateddynamics.core.network.Network.fromNBTEffective(Network.java:204) at org.cyclops.integrateddynamics.core.network.Network.update(Network.java:380) at org.cyclops.integrateddynamics.core.TickHandler.onTick(TickHandler.java:65) at net.minecraftforge.eventbus.ASMEventHandler_65_TickHandler_onTick_TickEvent.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) at net.minecraftforge.fml.hooks.BasicEventHooks.onPostServerTick(BasicEventHooks.java:120) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:827) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) at net.minecraft.server.MinecraftServer.func_240802v(MinecraftServer.java:641) at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) at java.base/java.lang.Thread.run(Thread.java:832)

Steps to reproduce the problem:

Try to debug my very strange other bug and open the existing world


Versions:

Previously used on that world:

AutoDropper-1.16.3-7.0.0.jar Basic-Nether-Ores-1.16.4.jar Big-Buckets-1.16.4.jar BowInfinityFix-1.16.4.jar Chargers-1.16.4-3.0.2.4.jar ChickenChunks-1.16.4-2.7.0.85-universal.jar CodeChickenLib-1.16.4-3.5.0.401-universal.jar ColossalChests-1.16.4-1.7.12.jar CommonCapabilities-1.16.4-2.5.5.jar Corpse-1.16.4.jar CraftTweaker-1.16.4-7.1.0.79.jar CraftingCraft-1.16.4.jar CyclopsCore-1.16.4-1.9.5.jar Diamond-Glass-1.16.4.jar DoubleSlabs-1.16-3.4.10.jar EditSign-Forge-1.16.4-2.2.0.jar EnderBags-1.16.2-6.2.0.jar EnderStorage-1.16.4-2.7.0.161-universal.jar EverlastingAbilities-1.16.4-1.6.3.jar Flopper-1.16.4-1.0.6.jar Futurepack-1.16.4-21.0.4.jar HarvestWithDispenser-B3.0.0.jar Immersive-Portals-1.16.4.jar- IntegratedCrafting-1.16.4-1.0.11.jar IntegratedDynamics-1.16.4-1.2.0.jar IntegratedREST-1.16.4-1.1.2.jar IntegratedTerminals-1.16.4-1.1.1.jar IntegratedTunnels-1.16.4-1.6.15.jar Large-Fluid-Tank-1.16.4.jar LavaClearView-1.16.2-1.1.0.jar More-Charcoal-1.16.4.jar NaturesCompass-1.16.4-1.8.6.jar Placebo-1.16.3-4.3.3.jar RepairChests-1.16.4-1.6.jar ScalableCatsForce-2.13.3-build-6-with-library.jar SilentGear-1.16.3-2.4.11+200.jar SilentLib-1.16.3-4.9.1+64.jar Simple-Magnets-1.16.4.jar Solar-Generation-1.16.4.jar StructuredCrafting-1.16.4-0.2.2.jar SuperMultiDrills-1.16.3-2.2.0+5.jar VillagersRespawn-1.16.4-1.16.4-1.35.0.3.jar WorldEdit-CUI-FE3-1.16.4-3.0.8.jar XaerosWorldMap_1.11.8_Forge_1.16.5.jar Xaeros_Minimap_21.1.0_Forge_1.16.5.jar aawitherskull_1.16.4-1.1.jar appliedenergistics2-8.1.0.jar architectury-1.2.70-forge.jar backpacked-1.7.0-1.16.3.jar backpacker-1.1.0-1.16.3.jar branders-spawnermod-1.16.4-1.7.9.jar cloth-config-forge-4.1.3.jar cofh_core-1.16.3-1.1.6.jar collective-1.16.4-1.53.jar compact-crafting-1.0.0-alpha.2.jar compactmachines-4.0.0-alpha.6.jar extendedcreativeinventory_1.16.4-1.0.jar ezzoom-1.16.4-1.1.1.jar fixedanvilrepaircost_1.16.4-1.1.jar ftb-gui-library-1604.1.1.26.jar goprone-1.16.4-1.3.5.jar infinitetrading_1.16.4-1.2.jar invtweaks-1.16.4-1.0.1.jar ironchest-1.16.4-11.2.10.jar ironshulkerboxes-1.16.4-5.1.11.jar itemcollectors-1.0.9-mc1.16.4.jar jei-1.16.4-7.6.1.65.jar kubejs-1604.3.4.144-forge.jar kubejs-thermal-1604.1.0.5.jar light-overlay-5.6.1.jar mcjtylib-1.16-5.0.15.jar mobcatcher-3.1.jar nametagtweaks_1.16.4-1.2.jar rftoolsbase-1.16-2.0.9.jar rftoolsbuilder-1.16-3.0.13.jar rftoolscontrol-1.16-4.0.6.jar rftoolspower-1.16-3.0.8.jar rftoolsstorage-1.16-2.0.8.jar rftoolsutility-1.16-3.0.20.jar rhino-1.7.13.10.jar spiders-2.0-1.16.4-1.0.4.jar tesseract-1.0.17-mc1.16.4.jar theoneprobe-1.16-3.0.7.jar thermal_cultivation-1.16.3-1.1.6.jar thermal_expansion-1.16.3-1.1.6.jar thermal_foundation-1.16.3-1.1.6.jar thermal_innovation-1.16.3-1.1.7.jar thermal_locomotion-1.16.3-1.1.6.jar trashcans-1.0.6-mc1.16.4.jar worldedit-forge-mc1.16.3-7.2.1-dist.jar

Log file:

latest.log.gz

rubensworks commented 3 years ago

Thanks for reporting!