Could not pass event AsyncPlayerChatEvent to ReactionRewards #3


  • Defect
  • Replied
Open
Assigned to _ForgeUser9395398
  • _ForgeUser8033936 created this issue Apr 28, 2013

    What version of the product are you using?
    1.0.5

    Do you have an error log of what happened?

    2013-04-28 05:24:25 [SEVERE] Could not pass event AsyncPlayerChatEvent to ReactionRewards v1.0.5
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        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.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:889)
        at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841)
        at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44)
        at net.minecraft.server.v1_5_R2.NetworkManager.i(NetworkManager.java:210)
        at net.minecraft.server.v1_5_R2.NetworkManager.c(NetworkManager.java:346)
        at net.minecraft.server.v1_5_R2.NetworkReaderThread.run(SourceFile:94)
    Caused by: java.lang.NullPointerException
        at ro.raizen.src.reactionrewards.ChatListener.isCorrect(ChatListener.java:77)
        at ro.raizen.src.reactionrewards.ChatListener.onPlayerChat(ChatListener.java:25)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
        ... 9 more

    Please provide any additional information below.

    Using CB #2759

  • _ForgeUser8033936 added the tags Defect New Apr 28, 2013
  • _ForgeUser9395398 posted a comment Apr 28, 2013

    Could you please give me config.yml and trivia.yml ?

  • _ForgeUser9395398 removed a tag New Apr 28, 2013
  • _ForgeUser9395398 added a tag Waiting Apr 28, 2013
  • _ForgeUser8033936 removed a tag Waiting Apr 28, 2013
  • _ForgeUser8033936 added a tag Replied Apr 28, 2013
  • _ForgeUser9395398 posted a comment Apr 28, 2013

    Well first off, your config files are invalid. On my server the plugin doens't work with them at all, because the indents are not correct. In your config.yml you have:

    questionTypes:
     - trivia
      - math
    

    and it should be:

    questionTypes:
     - trivia
     - math
    

    Same goes for trivia.yml. But I still can't figure out why it doesn't work for you.

    For what trivia question did you get that error ?

  • _ForgeUser8033936 posted a comment Apr 28, 2013

    It really only looks like that in pastebin. Not in my editor.

    "For what trivia question did you get that error ?"

    No questions seems to be working. I get the error in my console, and nothing shows up in chat.

  • _ForgeUser9395398 posted a comment Apr 28, 2013

    @Mhjort: Go

    Does the plugin work with the default configuration ? Do you only get the error for CB #2759 or with the beta build as well ?

  • _ForgeUser810430 posted a comment Apr 29, 2013

    I am getting the same error so I went back to version 1.0 and now it is giving the error when it didn't before using Beta build.

    Could be the latest McMyAdmin update however messing up version 1.0. Version 1.0.5 gave the error before the update however when 1.0 did not give an error.

    Here is the error http://dev.bukkit.org/paste/7694/

    The config file didn't update - it is all fixed now.


    Edited May 2, 2013

To post a comment, please login or register a new account.