WorldGuard

WorldGuard

8M Downloads

Could not pass event UseBlockEvent to WorldGuard v7.0.0-SNAPSHOT;1749-a6261b9

LadyCailinBot opened this issue ยท 8 comments

commented

WORLDGUARD-3983 - Reported by takatalvi.1

I'm using the most recent snapshot, and in the past 3 builds, I've been getting this error. Whenever I go to a specific part of my server's world, this exception pops out every 10 seconds. I don't understand what's generating the issue, as pressure plates work fine there and also in other locations. I see a lot of similar errors reported, it would seem that they are related.

[09:15:48 ERROR]: Could not pass event UseBlockEvent to WorldGuard v7.0.0-SNAPSHOT;1749-a6261b9
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at com.sk89q.worldguard.bukkit.util.Events.fireAndTestCancel(Events.java:60) ~[?:?]
at com.sk89q.worldguard.bukkit.listener.debounce.legacy.AbstractEventDebounce.debounce(AbstractEventDebounce.java:56) ~[?:?]
at com.sk89q.worldguard.bukkit.listener.debounce.legacy.BlockEntityEventDebounce.debounce(BlockEntityEventDebounce.java:36) ~[?:?]
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onEntityInteract(EventAbstractionListener.java:487) ~[?:?]
at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.BlockPressurePlateWeighted.b(BlockPressurePlateWeighted.java:31) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:66) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:48) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.IBlockData.a(SourceFile:261) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.WorldServer.b(WorldServer.java:677) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.TickListServer.a(TickListServer.java:77) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.WorldServer.q(WorldServer.java:659) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:301) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:956) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.lang.NullPointerException

commented

Comment by me4502

Could you please provide the startup log and the first time this error occurred?

commented

Comment by takatalvi.1

@me4502 Hi, the startup log of the server from the morning I pasted this error is here: https://pastebin.com/iNqPBd39 (I truncated the IPs, names and seeds, sorry about that

The error first occurred on #1746, and has been present since. That's why I'm still on #1745, which doesn't do this. Generally, even on the latest version, all is fine until I go to a specific location in the world, where I get this exception every 10 seconds. I tried to find the problematic spot, I guess it's got something to do with pressure plates, but no success. But anyway, if WE up until #1745 worked fine, maybe it's not server side.. I see that there were other similar errors, but with different event types. I will provide everything I can to help resolve this.

commented

Comment by me4502

The pastebin you linked doesn't contain the first time the error occurred. I need a copy of the first time, as some versions of Java remove the useful part of the error after the first time.

commented

Comment by takatalvi.1

Ah, all right. I'm attaching the first two occurrences after start (after what's in the pastebin). The first one popped up right when the mentioned part of the world was loaded (I teleported there), the second one is 10 seconds later, as I was still in the location. If by any chance you meant I should provide the log from the first time it occurred historically (when I first updated from #1745), I can try to find the log from September.

First 2 occurrences of the error after start:

org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at com.sk89q.worldguard.bukkit.util.Events.fireAndTestCancel(Events.java:60) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.debounce.legacy.AbstractEventDebounce.debounce(AbstractEventDebounce.java:56) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.debounce.legacy.BlockEntityEventDebounce.debounce(BlockEntityEventDebounce.java:36) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onEntityInteract(EventAbstractionListener.java:487) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateWeighted.b(BlockPressurePlateWeighted.java:31) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:66) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:48) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.IBlockData.a(SourceFile:261) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.b(WorldServer.java:677) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.TickListServer.a(TickListServer.java:77) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.q(WorldServer.java:659) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:301) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:956) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.lang.NullPointerException
	at com.sk89q.worldguard.bukkit.BukkitPlayer.<init>(BukkitPlayer.java:44) ~[?:?]
	at com.sk89q.worldguard.bukkit.BukkitPlayer.<init>(BukkitPlayer.java:37) ~[?:?]
	at com.sk89q.worldguard.bukkit.BukkitOfflinePlayer.<init>(BukkitOfflinePlayer.java:43) ~[?:?]
	at com.sk89q.worldguard.bukkit.WorldGuardPlugin.wrapOfflinePlayer(WorldGuardPlugin.java:740) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.RegionProtectionListener.createRegionAssociable(RegionProtectionListener.java:159) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.RegionProtectionListener.onUseBlock(RegionProtectionListener.java:267) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	... 27 more
[09:04:18] [Server thread/ERROR]: Could not pass event UseBlockEvent to WorldGuard v7.0.0-SNAPSHOT;1749-a6261b9
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at com.sk89q.worldguard.bukkit.util.Events.fireAndTestCancel(Events.java:60) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.debounce.legacy.AbstractEventDebounce.debounce(AbstractEventDebounce.java:56) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.debounce.legacy.BlockEntityEventDebounce.debounce(BlockEntityEventDebounce.java:36) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onEntityInteract(EventAbstractionListener.java:487) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateWeighted.b(BlockPressurePlateWeighted.java:31) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:66) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:48) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.IBlockData.a(SourceFile:261) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.b(WorldServer.java:677) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.TickListServer.a(TickListServer.java:77) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.q(WorldServer.java:659) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:301) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:956) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Caused by: java.lang.NullPointerException
	at com.sk89q.worldguard.bukkit.BukkitPlayer.<init>(BukkitPlayer.java:44) ~[?:?]
	at com.sk89q.worldguard.bukkit.BukkitPlayer.<init>(BukkitPlayer.java:37) ~[?:?]
	at com.sk89q.worldguard.bukkit.BukkitOfflinePlayer.<init>(BukkitOfflinePlayer.java:43) ~[?:?]
	at com.sk89q.worldguard.bukkit.WorldGuardPlugin.wrapOfflinePlayer(WorldGuardPlugin.java:740) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.RegionProtectionListener.createRegionAssociable(RegionProtectionListener.java:159) ~[?:?]
	at com.sk89q.worldguard.bukkit.listener.RegionProtectionListener.onUseBlock(RegionProtectionListener.java:267) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_152]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_152]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[minecraft_server.jar:git-Spigot-f6a273b-8ab46ff]
	... 27 more
commented

Comment by takatalvi.1

Now when I look at it again, I see that the error is clipped anyway (... 27 more), but I'm not even sure if my console is able to display the entire error. I could try to retrieve it (not sure if today) by updating WG, running the server, and then copying the error, instead of searching in saved logs from past days.

commented

Comment by me4502

The error there is known, it was fixed a few days ago. Update to the latest build and it should be gone :)

commented

Comment by takatalvi.1

I'll update later today and come back with results. Thanks so much!

commented

Comment by takatalvi.1

@me4502 Dude, great work with the error, it's not present anymore in the latest version. You can close the issue as fixed. Thanks so much!