Towny Errors 1.9.4

Discussion in 'Spigot Plugin Help' started by wonderdude, May 27, 2016.

  1. I am having some Towny Errors on 1.9.4

    My version of Towny is 0.91.1.0 (newest build)

    I am getting 1 error and 1 warning.

    The error happens everytime I go into a town:

    12:52:40 AM [ERROR] Could not pass event PlayerChangePlotEvent to Towny v0.91.1.0
    12:52:40 AM org.bukkit.event.EventException
    12:52:40 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at com.palmergames.bukkit.towny.listeners.TownyPlayerListener.onPlayerMoveChunk(TownyPlayerListener.java:799) [Towny.jar:?]
    12:52:40 AM at com.palmergames.bukkit.towny.listeners.TownyPlayerListener.onPlayerMove(TownyPlayerListener.java:566) [Towny.jar:?]
    12:52:40 AM at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) ~[?:?]
    12:52:40 AM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    12:52:40 AM at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    12:52:40 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:607) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.PacketPlayInFlying.a(SourceFile:126) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
    12:52:40 AM at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
    12:52:40 AM at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
    12:52:40 AM Caused by: java.lang.NullPointerException
    12:52:40 AM at com.palmergames.bukkit.towny.TownySettings.getCapitalPrefix(TownySettings.java:924) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.TownyFormatter.getFormattedTownName(TownyFormatter.java:489) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.TownyFormatter.getFormattedName(TownyFormatter.java:468) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.ChunkNotification.getAreaNotification(ChunkNotification.java:159) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.ChunkNotification.getNotificationContent(ChunkNotification.java:123) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.ChunkNotification.getNotificationString(ChunkNotification.java:112) ~[?:?]
    12:52:40 AM at com.palmergames.bukkit.towny.listeners.TownyCustomListener.onPlayerChangePlotEvent(TownyCustomListener.java:54) ~[?:?]
    12:52:40 AM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    12:52:40 AM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    12:52:40 AM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    12:52:40 AM at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    12:52:40 AM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-8a048fe-d8637df]
    12:52:40 AM ... 24 more

    And this warning everytime I say something in chat:

    12:53:38 AM [WARN] java.lang.NullPointerException
    12:53:38 AM [WARN] at com.palmergames.bukkit.towny.TownySettings.getKingPrefix(TownySettings.java:854)
    12:53:38 AM [WARN] at com.palmergames.bukkit.towny.TownyFormatter.getFormattedResidentName(TownyFormatter.java:480)
    12:53:38 AM [WARN] at com.palmergames.bukkit.towny.TownyFormatter.getFormattedName(TownyFormatter.java:466)
    12:53:38 AM [WARN] at com.palmergames.bukkit.towny.object.TownyObject.getFormattedName(TownyObject.java:60)
    12:53:38 AM [WARN] at mineverse.Aust1n46.chat.utilities.FormatTags.ChatFormat(FormatTags.java:79)
    12:53:38 AM [WARN] at mineverse.Aust1n46.chat.listeners.ChatListener.onAsyncPlayerChatEvent(ChatListener.java:514)
    12:53:38 AM [WARN] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    12:53:38 AM [WARN] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    12:53:38 AM [WARN] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    12:53:38 AM [WARN] at java.lang.reflect.Method.invoke(Unknown Source)
    12:53:38 AM [WARN] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
    12:53:38 AM [WARN] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    12:53:38 AM [WARN] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    12:53:38 AM [WARN] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
    12:53:38 AM [WARN] at net.minecraft.server.v1_9_R2.PlayerConnection.chat(PlayerConnection.java:1271)
    12:53:38 AM [WARN] at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1209)
    12:53:38 AM [WARN] at net.aufdemrand.denizen.utilities.packets.intercept.AbstractListenerPlayIn.a(AbstractListenerPlayIn.java:85)
    12:53:38 AM [WARN] at net.minecraft.server.v1_9_R2.PacketPlayInChat$1.run(PacketPlayInChat.java:39)
    12:53:38 AM [WARN] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    12:53:38 AM [WARN] at java.util.concurrent.FutureTask.run(Unknown Source)
    12:53:38 AM [WARN] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    12:53:38 AM [WARN] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    12:53:38 AM [WARN] at java.lang.Thread.run(Unknown Source)

    I googled both the error and the warning, but couldn't find anything on them.

    My chat plugin is: VentureChat
    I am not using the Towny Prefixes at all.

    I'm on 1.9.4 Spigot.

    Any ideas what might be causing this and/or how to fix it?