v1.21.9 - ShelfBlockEntity AbstractMethodError on Right Click

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Environment:

      Dell Server T620 Self-hosted

      Lubuntu 24.04.3 LTS - Linux 6.8.0

    • 4536-Spigot-688b11a-8fe3b76 (MC: 1.21.9) (Implementing API version 1.21.9-R0.1-SNAPSHOT)
    • Yes

      Instant crash when right clicking the new Bamboo Shelf item. Kills server, restarts successfully.

      [18:41:24] [Server thread/INFO]: xxx issued server command: /tp xxx[18:41:30] [Server thread/INFO]: xxx issued server command: /tp xxx[18:41:37] [Server thread/ERROR]: Encountered an unexpected exceptionjava.lang.AbstractMethodError: Receiver class net.minecraft.world.level.block.entity.ShelfBlockEntity does not define or inherit an implementation of the resolved method 'int ap_()' of interface net.minecraft.world.level.block.entity.ListBackedContainer.    at net.minecraft.world.level.block.entity.ListBackedContainer.b(SourceFile:47) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.world.level.block.entity.ShelfBlockEntity.d(SourceFile:85) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.world.level.block.ShelfBlock.a(SourceFile:205) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.world.level.block.ShelfBlock.a(SourceFile:179) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.world.level.block.state.BlockBase$BlockData.a(BlockBase.java:1164) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:588) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1820) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:44) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:11) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.network.PacketProcessor$a.a(PacketProcessor.java:58) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.network.PacketProcessor.b(PacketProcessor.java:42) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.server.MinecraftServer.x_(MinecraftServer.java:1288) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.server.MinecraftServer.C(MinecraftServer.java:1132) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:337) ~[spigot-1.21.9-R0.1-SNAPSHOT.jar:4536-Spigot-688b11a-8fe3b76]    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?][18:41:37] [Server thread/ERROR]: This crash report has been saved to: /home/xxx/xxx/crash-reports/crash-2025-09-30_18.41.37-server.txt[18:41:37] [Server thread/INFO]: Stopping server[18:41:37] [Server thread/INFO]: [Multiverse-Core] Disabling Multiverse-Core v5.2.1[18:41:37] [Server thread/INFO]: Disabling EssentialsChat v2.22.0-dev+28-0aa25c8[18:41:37] [Server thread/INFO]: Disabling EssentialsGeoIP v2.22.0-dev+28-0aa25c8[18:41:37] [Server thread/INFO]: [BKCommonLib] Disabling BKCommonLib v1.21.8-v1-SNAPSHOT[18:41:37] [Server thread/INFO]: Disabling EssentialsSpawn v2.22.0-dev+28-0aa25c8[18:41:37] [Server thread/INFO]: Disabling EssentialsProtect v2.22.0-dev+28-0aa25c8[18:41:37] [Server thread/INFO]: Disabling Essentials v2.22.0-dev+28-0aa25c8
       

            Assignee:
            Doc
            Reporter:
            Michael Peters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: