1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Resolved Bug in lilypad-connect v83

Discussion in 'Bug Reports' started by aXed, Sep 6, 2014.

  1. aXed

    aXed New Member

    I have the following error running an offline server. The ip's do not work.

    Code (text):
    [00:00:00] [Server thread/ERROR]: Could not pass event PlayerLoginEvent to LilyPad-Connect v83
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.PlayerList.attemptLogin(PlayerList.java:400) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.LoginListener.c(LoginListener.java:98) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.LoginListener.a(LoginListener.java:44) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1649]
    Caused by: java.lang.NullPointerException
        at lilypad.bukkit.connect.login.LoginListener.onPlayerLogin(LoginListener.java:44) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649]
        ... 13 more
  2. The_Zip

    The_Zip Active Member Resource Contributor

    Try running spigot, http://www.spigotmc.org , rather than craftbukkit. With all the craziness going on it well be updated, maintained, and be all around better. It should also fix your problem.
  3. aXed

    aXed New Member

    I run Spigot build #1649.
  4. The_Zip

    The_Zip Active Member Resource Contributor

    I obviously didn't even look at the error... Try putting your server in Online mode. If that doesn't work can you explain the error a little more. When do you get it?
  5. aXed

    aXed New Member

    I tried online mode (only the server not the proxy) but the same error occurs. It happens to everyone on all my servers with this build. I did however missed a few lines of errors which might clear things up for you:

    Code (text):
    [01:35:37] [User Authenticator #4/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to LilyPad-Connect v83
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:496) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:32) [spigot.jar:git-Spigot-1649]
    Caused by: java.lang.NullPointerException
        at lilypad.bukkit.connect.login.LoginListener.onAsyncPlayerPreLogin(LoginListener.java:31) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649]
        ... 5 more
  6. The_Zip

    The_Zip Active Member Resource Contributor

    When do you get this error?
  7. aXed

    aXed New Member

    Everyone on join gets this error.
  8. Superfuzzy

    Superfuzzy Member

    What other plugins do have installed on the servers?
    Can you try it with a "clean" server, so only the Bukkit-Connect plugin, no other plugins.
  9. aXed

    aXed New Member

    I've tested it without any other plugins and it still gives me the error. This has defently something to do with the fact that I run offline mode. (Please don't say go premium blabla..)

    Code (text):
    [12:06:22] [User Authenticator #1/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to LilyPad-Connect v83
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:496) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:79) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:32) [spigot.jar:git-Spigot-1649]
    Caused by: java.lang.NullPointerException
        at lilypad.bukkit.connect.login.LoginListener.onAsyncPlayerPreLogin(LoginListener.java:31) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649]
        ... 5 more
    [12:06:22] [User Authenticator #1/INFO]: UUID of player aXed is 3948605e-ee77-3380-b8dd-af70caf1e96a
    [12:06:22] [Server thread/ERROR]: Could not pass event PlayerLoginEvent to LilyPad-Connect v83
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigot.jar:git-Spigot-1649]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.PlayerList.attemptLogin(PlayerList.java:400) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.LoginListener.c(LoginListener.java:98) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.LoginListener.a(LoginListener.java:44) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1649]
        at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1649]
    Caused by: java.lang.NullPointerException
        at lilypad.bukkit.connect.login.LoginListener.onPlayerLogin(LoginListener.java:44) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigot.jar:git-Spigot-1649]
        ... 13 more
  10. flamin_scotsman

    flamin_scotsman New Member

    Ahh, what are your connect and proxy versions? The location of the error seems to suggest you aren't receiving the new-style payload
  11. aXed

    aXed New Member

    I had to change back to the old version yes. But this same problem occurs on the new version. But I'm going to retest it anyway.
  12. Superfuzzy

    Superfuzzy Member

    Code (text):
    UUID uuid = UUID.fromString(payload.getUUID().substring(0, 8) + "-" + payload.getUUID().substring(8, 12) + "-" + payload.getUUID().substring(12, 16) + "-" + payload.getUUID().substring(16, 20) + "-" + payload.getUUID().substring(20, 32));
    That's the line of code, that throws the NPE.
    So either it's that payload.getUUID() returns null, or that the payload variable is null.
    But since your log contains your UUID it is more likely that the payload makes all the trouble.

    So, like @flamin_scotsman already said, I think theres something wrong with your payload.
    What "old version" did you use? Because if its one of the old payload versions, its probably that.

    And btw, why did you have to change back to an older version?
    • Like Like x 1
  13. aXed

    aXed New Member

    Solved. This happens with the following setting in spigot.yml

    late-bind: true
    should be
    late-bind: false

    Thanks for all the support :)
    • Winner Winner x 1

Share This Page