PassPlayerInteractEvent breaking many plugins

Discussion in 'Spigot Help' started by EthanRPro, Apr 18, 2017.

  1. Hey Everyone,

    So yesterday I worked on some server stuff, closed the server and went to bed. I made no plugin changes, I just was positioning and skinning CustomNPCs for my spawn. I turn the server back on today and all of a sudden abunch of stuff doesn't work and I THINK its to do with bukkit not the plugins in questions.

    Here are the two errors ive encountered so far with brief descriptions

    Code (Text):
    [12:34:48] [Server thread/INFO]: EthanRAdmin issued server command: /mm reload
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 22 mobs.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 3 vanilla mob overrides.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 0 mob stacks.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 21 skills.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 6 random spawns.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 45 mythic items.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 1 drop tables.
    [12:34:48] [Server thread/INFO]: [MythicMobs] Loaded 0 mob spawners.
    [12:34:51] [Server thread/INFO]: EthanRAdmin issued server command: /mm eggs get Noble 1
    [12:34:51] [Server thread/FATAL]: Error executing task
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_121]
        at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_121]
        at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:46) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
        at me.dadus33.chatitem.filters.Log4jFilter.checkMessage(Log4jFilter.java:83) ~[?:?]
        at me.dadus33.chatitem.filters.Log4jFilter.filter(Log4jFilter.java:58) ~[?:?]
        at org.apache.logging.log4j.core.filter.CompositeFilter.filter(CompositeFilter.java:231) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.filter.CompositeFilter.filter(CompositeFilter.java:231) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.filter.AbstractFilterable.isFiltered(AbstractFilterable.java:124) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:400) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.Logger.log(Logger.java:110) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:609) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.craftbukkit.v1_9_R2.util.ForwardLogHandler.publish(ForwardLogHandler.java:33) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.util.logging.Logger.log(Unknown Source) ~[?:1.8.0_121]
        at java.util.logging.Logger.doLog(Unknown Source) ~[?:1.8.0_121]
        at java.util.logging.Logger.log(Unknown Source) ~[?:1.8.0_121]
        at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1355) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_121]
        at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_121]
        at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
    I had started the server with intention of working with MythicMobs on a Noble NPC, the NPC worked a week ago when I last worked on it, and it still works now, if I directly spawn the Mob using the summon command. This error only occurs when I try to get the Mob Egg which last week also worked. HALF the eggs will work when using the same command but with different mobs

    I spent a great amount of time thinking it was the MythicMobs plugin, which it very well could still be but then I encountered this second error while trying to directly summon a Mythicmob using a right click RPGItem

    Code (Text):
    [13:21:38] [Server thread/INFO]: EthanRAdmin issued server command: /mm mobs spawnsilent Glacies 1
    [13:21:38] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to RPGItems v3.5.143
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerInteractManager.a(PlayerInteractManager.java:483) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:887) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PacketPlayInUseItem.a(SourceFile:55) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PacketPlayInUseItem.a(SourceFile:11) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]
        at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
        at me.dadus33.chatitem.filters.Log4jFilter.checkMessage(Log4jFilter.java:83) ~[?:?]
        at me.dadus33.chatitem.filters.Log4jFilter.filter(Log4jFilter.java:58) ~[?:?]
        at org.apache.logging.log4j.core.filter.CompositeFilter.filter(CompositeFilter.java:231) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.filter.CompositeFilter.filter(CompositeFilter.java:231) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.filter.AbstractFilterable.isFiltered(AbstractFilterable.java:124) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:400) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.core.Logger.log(Logger.java:110) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:609) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.craftbukkit.v1_9_R2.util.ForwardLogHandler.publish(ForwardLogHandler.java:33) [Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at java.util.logging.Logger.log(Unknown Source) [?:1.8.0_121]
        at java.util.logging.Logger.doLog(Unknown Source) [?:1.8.0_121]
        at java.util.logging.Logger.log(Unknown Source) [?:1.8.0_121]
        at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1355) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at net.minecraft.server.v1_9_R2.PlayerConnection.chat(PlayerConnection.java:1265) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at org.bukkit.craftbukkit.v1_9_R2.entity.CraftPlayer.chat(CraftPlayer.java:238) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        at think.rpgitems.power.PowerCommand.executeCommand(PowerCommand.java:75) ~[?:?]
        at think.rpgitems.power.PowerCommand.rightClick(PowerCommand.java:84) ~[?:?]
        at think.rpgitems.item.RPGItem.rightClick(RPGItem.java:336) ~[?:?]
        at think.rpgitems.Events.onPlayerAction(Events.java:234) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot.jar:git-Spigot-c6871e2-0cd0397]
        ... 17 more
    [13:21:58] [Server thread/INFO]: [0;31;1m[21mWarning Ground items will be removed in [0;37;22m[21m60 [0;31;1m[21mseconds![m
    [13:22:38] [Server thread/INFO]: [0;31;1m[21mWarning Ground items will be removed in [0;37;22m[21m20 [0;31;1m[21mseconds![m
    [13:22:58] [Server thread/INFO]: [0;32;1m[21mRemoved 1 Entities![m
    Right clicking the RPGItem (Ice Block) triggers the command to summon Glacies, a command that works fine if I type it out, but won't work when I right click the item.

    So could this be bukkit or does it all stem from MythicMobs? I cannot find anything in MythicMobs that has changed, updated or broken before now. I am posting here as I believe the PlayerInteractEvent could be the source of the problem, which I fully do NOT understand.

    Help plz
    Thanks,
    Ethan
     
  2. md_5

    Administrator Developer

    at me.dadus33.chatitem.filters.Log4jFilter.filter(Log4jFilter.java:58) ~[?:?]

    ChatItem plugin
     
  3. Oh... I did miss something simple. After removing ChatItem i was able to clearly see it was abunch of Mythicmobs problems. Thanks Md_5 now I know there is nothing I can do but wait for a MM update xD