Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Crash/OOM on Entity Death Event with LifestealCore #7

Open
R00tB33rMan opened this issue Dec 11, 2023 · 0 comments
Open

Crash/OOM on Entity Death Event with LifestealCore #7

R00tB33rMan opened this issue Dec 11, 2023 · 0 comments

Comments

@R00tB33rMan
Copy link

[08:55:06 INFO]: ☠ COMBAT ➡ R00tB33rMan has been killed by Zombie!
[08:55:07 INFO]: R00tB33rMan lost connection: 
YOU HAVE BEEN ELIMINATED!
[Banned]
You are eliminated from Lifesteal!
Remaining: 30m
[08:55:07 WARN]: [LifestealCore] Task #452 for LifestealCore vBuild 8a generated an exception
java.lang.NullPointerException: Cannot invoke "io.papermc.paper.threadedregions.ThreadedRegionizer$ThreadedRegion.getData()" because "target" is null
        at me.earthme.molia.pool.WorldDataPool.getDataOffTickThread(WorldDataPool.java:45) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at me.earthme.molia.pool.WorldDataPool.getDataAnyThread(WorldDataPool.java:22) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.server.level.ServerLevel$EntityCallbacks.onTickingEnd(ServerLevel.java:2929) ~[?:?]
        at net.minecraft.server.level.ServerLevel$EntityCallbacks.d(ServerLevel.java:2913) ~[?:?]
        at io.papermc.paper.chunk.system.entity.EntityLookup.entityStatusChange(EntityLookup.java:298) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at io.papermc.paper.chunk.system.entity.EntityLookup$EntityCallback.a(EntityLookup.java:918) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.world.entity.Entity.setRemoved(Entity.java:5590) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.world.entity.Entity.remove(Entity.java:709) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.world.entity.LivingEntity.remove(LivingEntity.java:771) ~[?:?]
        at net.minecraft.world.entity.player.Player.remove(Player.java:1503) ~[?:?]
        at net.minecraft.server.level.ServerLevel.removePlayerImmediately(ServerLevel.java:1929) ~[?:?]
        at net.minecraft.server.players.PlayerList.remove(PlayerList.java:771) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.removePlayerFromWorld(ServerGamePacketListenerImpl.java:2122) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2100) ~[?:?]
        at net.minecraft.server.network.ServerCommonPacketListenerImpl.disconnect(ServerCommonPacketListenerImpl.java:310) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.server.network.ServerCommonPacketListenerImpl.disconnect(ServerCommonPacketListenerImpl.java:266) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at org.bukkit.craftbukkit.v1_20_R2.entity.CraftPlayer.kickPlayer(CraftPlayer.java:597) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at dev.norska.lsc.api.LifestealCoreAPI$1.run(LifestealCoreAPI.java:326) ~[LifestealCore-8a.jar:?]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:481) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at me.earthme.molia.thread.CraftSchedulerRunner.doSchedulerTask(CraftSchedulerRunner.java:88) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at me.earthme.molia.thread.CraftSchedulerRunner.run(CraftSchedulerRunner.java:55) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
[08:55:07 ERROR]: [io.papermc.paper.threadedregions.TickRegionScheduler] Region #28 centered at chunk [12, 2] in world 'world' failed to tick:
java.lang.NullPointerException: Cannot read field "f" because "pos" is null
        at io.papermc.paper.util.CoordinateUtils.getChunkKey(CoordinateUtils.java:29) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at io.papermc.paper.chunk.system.scheduling.ChunkHolderManager.removeTicketAtLevel(ChunkHolderManager.java:684) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.server.level.DistanceManager.removeTicket(DistanceManager.java:97) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.removeTicketAtLevel(ServerChunkCache.java:135) ~[?:?]
        at io.papermc.paper.threadedregions.RegionizedWorldData.cleanUpConnection(RegionizedWorldData.java:502) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at io.papermc.paper.threadedregions.RegionizedWorldData.tickConnections(RegionizedWorldData.java:519) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1533) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:449) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:406) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:540) ~[molia-1.20.2.jar:git-Molia-"38ff6a5"]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[08:55:07 INFO]: [RegionShutdownThread] Awaiting scheduler termination for 60s
[08:55:07 INFO]: [RegionShutdownThread] Scheduler halted
[08:55:07 INFO]: Stopping server
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant