Git Product home page Git Product logo

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. about commandhelper HOT 4 CLOSED

enginehub avatar enginehub commented on June 19, 2024
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.

from commandhelper.

Comments (4)

LadyCailin avatar LadyCailin commented on June 19, 2024

Are you on the latest builds? Also, can you post the actual stacktrace if you are on the latest build?

from commandhelper.

Lunaphied avatar Lunaphied commented on June 19, 2024

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.

from commandhelper.

Lunaphied avatar Lunaphied commented on June 19, 2024

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

from commandhelper.

LadyCailin avatar LadyCailin commented on June 19, 2024

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.

from commandhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.