Closed kalinzange closed 2 years ago
Not sure what's causing this one, but I added some logging so now it will warn instead of crash the server.
I don't know what happened but also made my other danks emptied out. Yup, I went to my house opened my dank and it's empty
And the dank only tanks at 256 Blocks
Nothing I can do unfortunately without reproduction steps
It's understandable, I just found a bit weird how this happened.
I was at a Bastion and a skeleton came cross where I was going to murder her, when I actually killed the skeleton I got Internal Server Error, checked the console and there was that ticking player and some error related to Dank, I restarted the server, minecraft and had the same problem, joined the world and Internal Server Error
Decided to edit my player data and set myself a bit far away from the kill and I could join the server, picked up the bone and look at my dank was indeed empty. Decided to ignore since that dank was just netherrack, gravel, etc and flied around to mine some ancient debris, day after when I went home opened my danks to deposit what I had and there were empty and the Dank 6 didn't exceed the 256 Stacks like the dank I just had and used in the nether
The logs are from where I crashed, nothing really says than Ticking Player
It looks like it triggered on item pickup, but I wasn't able to reproduce.
A friend of mine just joined the world and some other errors started to appear. Not sure if this helps tracing it DankLog.txt
Obviously his dank, was also empty
Do you have any discord link you can provide so we can chat more easily than through github issues?
This crash is no longer possible at all
[17:03:08] [Server thread/INFO]: [STDOUT]: Attempted to access a selected item from a null inventory
[17:03:08] [Server thread/INFO]: [STDOUT]: Attempted to access a selected item from a null inventory
[17:03:09] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2506ms or 50 ticks behind
[17:03:09] [Server thread/INFO]: [STDOUT]: Attempted to access a selected item from a null inventory
[17:03:18] [Server thread/FATAL]: Error executing task on Server
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_3913.method_17389()" because "$$0" is null
at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.5) ~[?:?]
at net.minecraft.screen.ScreenHandler.addProperties(ScreenHandler:121) ~[?:?]
at tfar.dankstorage.container.AbstractDankMenu.<init>(AbstractDankMenu.java:26) ~[dankstorage-3.1-1.18.1.jar:?]
at tfar.dankstorage.container.DockMenu.<init>(DockMenu.java:18) ~[dankstorage-3.1-1.18.1.jar:?]
at tfar.dankstorage.container.DockMenu.t1s(DockMenu.java:54) ~[dankstorage-3.1-1.18.1.jar:?]
at tfar.dankstorage.blockentity.DockBlockEntity.createMenu(DockBlockEntity.java:168) ~[dankstorage-3.1-1.18.1.jar:?]
at tfar.dankstorage.blockentity.DockBlockEntity.createMenu(DockBlockEntity.java:32) ~[dankstorage-3.1-1.18.1.jar:?]
at net.minecraft.server.network.ServerPlayerEntity.openHandledScreen(ServerPlayerEntity:1032) ~[?:?]
at tfar.dankstorage.block.DockBlock.onUse(DockBlock.java:96) ~[dankstorage-3.1-1.18.1.jar:?]
at net.minecraft.block.AbstractBlock$AbstractBlockState.onUse(AbstractBlock:937) ~[?:?]
at net.minecraft.server.network.ServerPlayerInteractionManager.interactBlock(ServerPlayerInteractionManager:327) ~[?:?]
at net.minecraft.server.network.ServerPlayNetworkHandler.onPlayerInteractBlock(ServerPlayNetworkHandler:1057) ~[?:?]
at net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket.apply(PlayerInteractBlockC2SPacket:30) ~[?:?]
at net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket.apply(PlayerInteractBlockC2SPacket:8) ~[?:?]
at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils:21) ~[?:?]
at net.minecraft.server.ServerTask.run(ServerTask:18) ~[?:?]
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor:151) ~[?:?]
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor:23) ~[?:?]
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:780) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:162) ~[server-intermediary.jar:?]
at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor:125) ~[?:?]
at net.minecraft.server.MinecraftServer.runOneTask(MinecraftServer:762) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.runTask(MinecraftServer:756) ~[server-intermediary.jar:?]
at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor:110) ~[?:?]
at net.minecraft.server.MinecraftServer.runTasksTillTickEnd(MinecraftServer:740) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:688) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
It Still Happens even after updating the Dank Storage to the latest Version, I've left a message on the Dank Storage Channel but I didn't got any feedback from you
I can't make the server crash to get the crash report, so I had to edit my playerdata NBT file and set my self to spawn a bit far away from the item that was dropped (Bone)