Dank Storage

Dank Storage

30M Downloads

Server crashing. Ticking block entity. Invalid frequency: -1

Crumb5 opened this issue · 2 comments

commented

Occurred initially on 1.21.1-15, upgraded to 1.21.1-17 with same error.

How do I resolve this?

[20:52:44] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Ticking block entity
        at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1025) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_3176.method_3813(class_3176.java:299) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.RuntimeException: Invalid frequency: -1
        at knot/tfar.dankstorage.world.DankSavedData.get(DankSavedData.java:54) ~[dankstorage-fabric-1.21.1-17.jar:?]
        at knot/tfar.dankstorage.blockentity.DockBlockEntity.getInventory(DockBlockEntity.java:73) ~[dankstorage-fabric-1.21.1-17.jar:?]
        at knot/tfar.dankstorage.DankStorageFabric.getStorage(DankStorageFabric.java:84) ~[dankstorage-fabric-1.21.1-17.jar:?]
        at knot/net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup.lambda$registerForBlockEntity$0(BlockApiLookup.java:221) ~[fabric-api-lookup-api-v1-1.6.70+b559734419-9e17bbc2f6762be7.jar:?]
        at knot/net.fabricmc.fabric.impl.lookup.block.BlockApiLookupImpl.lambda$registerForBlockEntities$1(BlockApiLookupImpl.java:163) ~[fabric-api-lookup-api-v1-1.6.70+b559734419-9e17bbc2f6762be7.jar:?]
        at knot/net.fabricmc.fabric.impl.lookup.block.BlockApiLookupImpl.find(BlockApiLookupImpl.java:90) ~[fabric-api-lookup-api-v1-1.6.70+b559734419-9e17bbc2f6762be7.jar:?]
        at knot/net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup.find(BlockApiLookup.java:169) ~[fabric-api-lookup-api-v1-1.6.70+b559734419-9e17bbc2f6762be7.jar:?]
        at knot/net.minecraft.class_2614.handler$bnf000$fabric-transfer-api-v1$hookInsert(class_2614.java:1460) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_2614.method_11246(class_2614.java:147) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_2614.method_11243(class_2614.java:120) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_2614.method_31692(class_2614.java:107) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_2818$class_5563.method_31703(class_2818.java:691) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_2818$class_5564.method_31703(class_2818.java:745) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_1937.method_18471(class_1937.java:488) ~[server-intermediary.jar:?]
        at knot/net.minecraft.class_3218.method_18765(class_3218.java:413) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ~[server-intermediary.jar:?]
        ... 5 more
commented

Here's the full crash log:

crash-2025-01-25_20.52.44-server.txt

Seems like a hopper was trying to interact with something from dankstorage.

I've run setblock 10085 208 7168 minecraft:air to get it to run again, but ideally i'd like to understand how to prevent this from happening in the future.

commented

Fixed in 1.21.1-18