Skip to content

NPE... I'll just leave this here... #97

@AeSix

Description

@AeSix

[10:02:09] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to HomeSpawnPlus v2.0.1-SNAPSHOT-b637
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:888) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_74]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
Caused by: java.lang.NullPointerException
at com.andune.minecraft.hsp.util.BedUtilsImpl.findBedRecursive(BedUtilsImpl.java:118) ~[?:?]
at com.andune.minecraft.hsp.util.BedUtilsImpl.findBed(BedUtilsImpl.java:87) ~[?:?]
at com.andune.minecraft.hsp.util.BedUtilsImpl.setBukkitBedHome(BedUtilsImpl.java:169) ~[?:?]
at sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
at com.andune.minecraft.hsp.shade.guice.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37) ~[?:?]
at com.sun.proxy.$Proxy80.setBukkitBedHome(Unknown Source) ~[?:?]
at com.andune.minecraft.hsp.util.HomeUtil.setHome(HomeUtil.java:314) ~[?:?]
at com.andune.minecraft.hsp.util.BedUtilsImpl.doBedClick(BedUtilsImpl.java:229) ~[?:?]
at com.andune.minecraft.hsp.EventListener.bedRightClick(EventListener.java:373) ~[?:?]
at com.andune.minecraft.hsp.server.bukkit.BukkitEventDispatcher.onPlayerInteract(BukkitEventDispatcher.java:181) ~[?:?]
at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-creative.jar:git-Spigot-944aa20-8d16fc0]
... 17 more

I'm not 100% certain what this is, but I'm thinking it's when players are placing beds and clicking on them to set bed-homes. I havn't gotten complaints from users, however.

EDIT: in the mean time, i've turned off bed set home, and will watch the console to see if the NPE continues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions