Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5882

bucket on water logged block null error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Linux

    • git-Spigot-ad703da-cf01fd9 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • n/a
    • Yes

      Use a water bucket to water log a block like a fence post. Then after it is water logged use another water bucket to add water to the same water logged block it will throw error in console.

      [19:44:55] [Server thread/FATAL]: Error executing task on Server
      java.lang.NullPointerException: null
              at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.getPlayerBucketEvent(CraftEventFactory.java:396) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPlayerBucketEmptyEvent(CraftEventFactory.java:386) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:113) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:97) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:122) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:72) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemStack.a(ItemStack.java:318) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerInteractManager.a(PlayerInteractManager.java:397) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1353) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:943) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:936) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeAll(SourceFile:103) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:852) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      [19:44:56] [Server thread/FATAL]: Error executing task on Server
      java.lang.NullPointerException: null
              at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.getPlayerBucketEvent(CraftEventFactory.java:396) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPlayerBucketEmptyEvent(CraftEventFactory.java:386) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:113) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:97) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:122) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemBucket.a(ItemBucket.java:72) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.ItemStack.a(ItemStack.java:318) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerInteractManager.a(PlayerInteractManager.java:397) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1353) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:943) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:936) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeAll(SourceFile:103) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:852) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
              at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot.jar:git-Spigot-ad703da-cf01fd9]
      

            Unassigned Unassigned
            village_admin village_admin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: