WorldGuard

WorldGuard

8M Downloads

NPE error

LadyCailinBot opened this issue ยท 0 comments

commented

WORLDGUARD-3976 - Reported by rocologo

I get this error when I join the server, no body else online

[13:28:01] [Server thread/ERROR]: Could not pass event CreatureSpawnEvent to WorldGuard v7.0.0-SNAPSHOT;1744-8e819f7
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:287) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.World.addEntity(World.java:921) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.WorldServer.addEntity(WorldServer.java:941) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at de.Keyle.MyPet.compat.v1_13_R2.entity.EntityRegistry.spawnMinecraftEntity(EntityRegistry.java:128) [MyPet-3.0-SNAPSHOT-B1258.jar:?]
at de.Keyle.MyPet.entity.MyPet.createEntity(MyPet.java:513) [MyPet-3.0-SNAPSHOT-B1258.jar:?]
at de.Keyle.MyPet.listeners.PlayerListener$1$1$1.callback(PlayerListener.java:178) [MyPet-3.0-SNAPSHOT-B1258.jar:?]
at de.Keyle.MyPet.listeners.PlayerListener$1$1$1.callback(PlayerListener.java:170) [MyPet-3.0-SNAPSHOT-B1258.jar:?]
at de.Keyle.MyPet.api.repository.RepositoryCallback.run(RepositoryCallback.java:37) [MyPet-3.0-SNAPSHOT-B1258.jar:?]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:76) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:893) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:411) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
Caused by: java.lang.NullPointerException
at com.sk89q.worldedit.bukkit.BukkitAdapter.adapt(BukkitAdapter.java:286) ~[?:?]
at com.sk89q.worldguard.bukkit.listener.WorldGuardEntityListener.onCreatureSpawn(WorldGuardEntityListener.java:652) ~[?:?]
at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.1.jar:git-Spigot-6b015b4-94b8708]
... 18 more