DivineRPG (Official)

DivineRPG (Official)

3M Downloads

java.lang.NullPointerException

xiaotutiger opened this issue ยท 1 comments

commented

[15:55:10 ERROR]: Exception caught during firing event: Cannot invoke "divinerpg.capability.DimensionalInventory.saveInventory(net.minecraft.world.entity.player.Player, String)" because "d" is null
Index: 1
Listeners:
0: HIGH
1: ASM: divinerpg.events.VetheaInventorySwapEvent@69d6281 onDimensionChange(Lnet/minecraftforge/event/entity/EntityTravelToDimensionEvent;)V
2: NORMAL
3: ASM: class com.aetherteam.aether.event.listeners.DimensionListener onEntityTravelToDimension(Lnet/minecraftforge/event/entity/EntityTravelToDimensionEvent;)V
java.lang.NullPointerException: Cannot invoke "divinerpg.capability.DimensionalInventory.saveInventory(net.minecraft.world.entity.player.Player, String)" because "d" is null
at TRANSFORMER/[email protected]/divinerpg.events.VetheaInventorySwapEvent.onDimensionChange(VetheaInventorySwapEvent.java:68)
at TRANSFORMER/[email protected]/divinerpg.events.VetheaInventorySwapEvent_onDimensionChange_EntityTravelToDimensionEvent.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:319)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:299)
at TRANSFORMER/[email protected]/net.minecraftforge.common.ForgeHooks.onTravelToDimension(ForgeHooks.java:757)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.changeDimension(ServerPlayer.java:912)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.m_5489
(ServerPlayer.java:907)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.changeDimensionCB(ServerPlayer.java:902)
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.EndPortalBlock.m_7892
(EndPortalBlock.java:57)
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60682_(BlockBehaviour.java:767)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Entity.m_20101_(Entity.java:1226)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Entity.m_146872_(Entity.java:987)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Entity.m_6478_(Entity.java:932)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.m_21074_(LivingEntity.java:2747)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.m_7023_(LivingEntity.java:2684)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.player.Player.m_7023_(Player.java:1580)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:3157)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.player.Player.m_8107_(Player.java:528)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2850)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.player.Player.m_8119_(Player.java:261)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:576)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:358)
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.m_129483_(Connection.java:272)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:149)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1180)
at TRANSFORMER/[email protected]/net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:360)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:1071)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:910)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:286)
at java.base/java.lang.Thread.run(Thread.java:1570)

[15:55:10 WARN]: Failed sysctl call: hw.cpufrequency, Error code: 2
[15:55:10 WARN]: Failed to handle packet for /192.168.50.117:53400
net.minecraft.ReportedException: Colliding entity with block
at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:660) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:358) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.network.Connection.m_129483_(Connection.java:272) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:149) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:1180) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:360) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:1071) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:910) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:286) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at java.lang.Thread.run(Thread.java:1570) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "divinerpg.capability.DimensionalInventory.saveInventory(net.minecraft.world.entity.player.Player, String)" because "d" is null
at divinerpg.events.VetheaInventorySwapEvent.onDimensionChange(VetheaInventorySwapEvent.java:68) ~[divinerpg-1.10.7.5.jar%23251!/:1.10.7.5]
at divinerpg.events.VetheaInventorySwapEvent_onDimensionChange_EntityTravelToDimensionEvent.invoke(.dynamic) ~[divinerpg-1.10.7.5.jar%23251!/:1.10.7.5]
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%23150!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:319) ~[eventbus-6.0.5.jar%23150!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:299) ~[eventbus-6.0.5.jar%23150!/:?]
at net.minecraftforge.common.ForgeHooks.onTravelToDimension(ForgeHooks.java:757) ~[forge-1.20.1-47.3.11-universal.jar%23287!/:?]
at net.minecraft.server.level.ServerPlayer.changeDimension(ServerPlayer.java:912) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.level.ServerPlayer.m_5489
(ServerPlayer.java:907) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.level.ServerPlayer.changeDimensionCB(ServerPlayer.java:902) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.level.block.EndPortalBlock.m_7892
(EndPortalBlock.java:57) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60682_(BlockBehaviour.java:767) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.Entity.m_20101_(Entity.java:1226) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.Entity.m_146872_(Entity.java:987) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.Entity.m_6478_(Entity.java:932) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.LivingEntity.m_21074_(LivingEntity.java:2747) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.LivingEntity.m_7023_(LivingEntity.java:2684) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.player.Player.m_7023_(Player.java:1580) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:3157) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.player.Player.m_8107_(Player.java:528) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2850) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.world.entity.player.Player.m_8119_(Player.java:261) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:576) ~[server-1.20.1-20230612.114412-srg.jar%23282!/:?]
... 9 more

commented

Same issue as #669
Make sure youre using the latest update. You are 1 version behind for the 1.20.1 build