WorldGuard

WorldGuard

8M Downloads

This issue is preventing me from teleporting to a location

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-3132 - Reported by LegoPal92

When I do player.teleport(LOCATION), a location loaded from MySQL, I receive this error:
[11:11:26] [Server thread/ERROR]: Could not pass event PlayerTeleportEvent to WorldGuard v5.9.1-SNAPSHOT.1384-
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.craftbukkit.v1_7_R3.entity.CraftPlayer.teleport(CraftPlayer.java:474) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.craftbukkit.v1_7_R3.entity.CraftEntity.teleport(CraftEntity.java:200) [Spigot1.7.8.jar:git-Spigot-1481]
at info.civiliancraft.ChromaSurvivalIsland.Listeners.JoinEventListener.onLobbyJoin(JoinEventListener.java:37) [Chroma-SurvivalIsland-0.0.1-SNAPSHOT.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_05]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot1.7.8.jar:git-Spigot-1481]
at info.civiliancraft.ChromaSurvivalIsland.Listeners.JoinEventListener.onPlayerJoin(JoinEventListener.java:28) [Chroma-SurvivalIsland-0.0.1-SNAPSHOT.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_05]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot1.7.8.jar:git-Spigot-1481]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.PlayerList.c(PlayerList.java:265) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.PlayerList.a(PlayerList.java:152) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.LoginListener.c(LoginListener.java:105) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.LoginListener.a(LoginListener.java:43) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:183) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:720) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [Spigot1.7.8.jar:git-Spigot-1481]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [Spigot1.7.8.jar:git-Spigot-1481]

Caused by: java.lang.NullPointerException
at com.sk89q.worldguard.protection.GlobalRegionManager.hasBypass(GlobalRegionManager.java:270) ~[?:?]
at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.checkMove(WorldGuardPlayerListener.java:147) ~[?:?]
at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerTeleport(WorldGuardPlayerListener.java:1384) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_05]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[Spigot1.7.8.jar:git-Spigot-1481]
... 37 more

Using as you can see Spigot 1481, and Worldguard latest, being v5.9.1-SNAPSHOT.1384-.
This happened on 5.9 as well, So I tried updating because maybe, just maybe there would be a fix, but alas, there was not. Any help would be greatly appreciated.

Thanks,
LegoPal92.

commented

Comment by sk89q

See if it's fixed on 6.0.