Minecarts/ChitChat — Issue #41: Null pointer kaboom
Author: holic
Created: 2012-03-09 05:05:12+00:00
State: open

2012-03-08 20:59:52 [SEVERE] Could not pass event PlayerChatEvent to ChitChat
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:783)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:761)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.NullPointerException
at com.minecarts.chitchat.channel.Channel.isDefault(Channel.java:147)
at com.minecarts.chitchat.channel.PrefixChannel.getPrefix(PrefixChannel.java:140)
at com.minecarts.chitchat.channel.PrefixChannel.formatMessage(PrefixChannel.java:119)
at com.minecarts.chitchat.channel.Channel.displayInbound(Channel.java:119)
at com.minecarts.chitchat.channel.ChannelLink.relayMessage(ChannelLink.java:177)
at com.minecarts.chitchat.channel.Channel.broadcast(Channel.java:109)
at com.minecarts.chitchat.ChitChat.onPlayerChat(ChitChat.java:119)
at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 11 more