You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A nullpointerexception occurs whenever a normal non /say chat message is said. The error is traced to the PlayerListener driver in the OnPlayerChat event handler. The error appears to come from the event being null this is a very annoying problem.
#39
Closed
Lunaphied opened this issue
Aug 9, 2012
· 4 comments
I am on the latest builds I will get a stack trace soon. If I can have a
patched version that writes the stacktrace to a file that would be nice.
Also I would really like a better idea of how this plugin works I like the
plugin but it is super complex.
On Thursday, August 9, 2012, Layton Smith wrote:
Are you on the latest builds? Also, can you post the actual stacktrace if
you are on the latest build?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-7624056.
Sorry its a event exception but is caused by a null pointer exception
2012-08-10 10:17:03 [SEVERE] Could not pass event AsyncPlayerChatEvent to CommandHelper
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:830)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.i(NetworkManager.java:216)
at net.minecraft.server.NetworkManager.c(NetworkManager.java:331)
at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
Caused by: java.lang.NullPointerException
at com.laytonsmith.abstraction.bukkit.events.drivers.BukkitPlayerListener.onPlayerChat(BukkitPlayerListener.java:49)
at sun.reflect.GeneratedMethodAccessor92.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:330)
... 9 more
Chat has been changed about a million times, so I'm going to close this now, assuming it's been fixed. If not, please update the bug with a current stacktrace, and feel free to reopen it.
No description provided.
The text was updated successfully, but these errors were encountered: