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.

Error when connecting to Main Server

Discussion in 'Bug Reports' started by Superfuzzy, Apr 5, 2015.

  1. Superfuzzy

    Superfuzzy Member

    Hello everyone,
    I've got my Proxy and Connect and Bukkit-Connect perfectly set up.
    I'm using the newest versions (and the newest Spigot-Version):
    #123, #54 and #89
    And I'm running these on a linux mint machine (amd64)

    I get no error messages until I join.

    I get this one in the server-console:

    Code (text):
    [Connect] Connected to the cloud
    [15:56:29 ERROR]: Could not pass event AsyncPlayerPreLoginEvent to LilyPad-Connect v89
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot.jar:git-Spigot-dbe012b-63e28b1]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-dbe012b-63e28b1]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.LoginListener$LoginHandler.fireEvents(LoginListener.java:242) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.LoginListener.a(LoginListener.java:168) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.PacketLoginInStart.a(SourceFile:33) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.PacketLoginInStart.a(SourceFile:10) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.NetworkManager.a(NetworkManager.java:124) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.NetworkManager.channelRead0(NetworkManager.java:325) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at net.minecraft.server.v1_8_R2.NetworkManager.channelRead0(NetworkManager.java:1) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot.jar:git-Spigot-dbe012b-63e28b1]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
    Caused by: java.lang.NullPointerException
        at lilypad.bukkit.connect.login.LoginListener.onAsyncPlayerPreLogin(LoginListener.java:39) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot.jar:git-Spigot-dbe012b-63e28b1]
        ... 28 more
    [15:56:29 INFO]: Disconnecting com.mojang.authlib.GameProfile@18c8fc2b[id=b9d709a4-a63d-3747-9a51-875360b24312,name=superfuzzy,properties={},legacy=false] (/127.0.0.1:58202): LilyPad: Internal server error
    [15:56:29 INFO]: com.mojang.authlib.GameProfile@18c8fc2b[id=b9d709a4-a63d-3747-9a51-875360b24312,name=superfuzzy,properties={},legacy=false] (/127.0.0.1:58202) lost connection: LilyPad: Internal server error
     
    And I get this notification in the Proxy Console:


    Code (text):
    Proxy server, name: superfuzzy ip: 127.0.0.1 redirected: hub
    Proxy server, authorized: superfuzzy ip: 127.0.0.1
    Proxy server, name: superfuzzy ip: 127.0.0.1 disconnected, err: read tcp 127.0.0.1:41293: use of closed network connection
     
    And this notification is on the Minecraft Screen:

    LilyPad: Internal Server Error

    I hope someone can help me or this error get's fixed. (@Coelho As far as I can tell there's something wrong with the payload)

    Kind regards - Superfuzzy
  2. Alex Chmil

    Alex Chmil Member

    Have you fixed it yet?
  3. Superfuzzy

    Superfuzzy Member

    If you mean me, then no, i just looked up where the error came from (in the error message) and looked it up in the sources on github.
    I don't know if anyone else experiences this error.. if so, please reply in this thread so Coelho can see if this is urgent.
  4. Superfuzzy

    Superfuzzy Member

    This error still exists for me! (If it helps: I'm not having a Mojang account, I'm still an "old" user)
    I can't test any of my plugins that use LilyPad because Players cant join :((

    Litte bit to the error:
    As far as i understand it the LilyPad Proxy sends to the MinecraftServer a payload with the player. Then on the AsyncPlayerPreLoginEvent Bukkit-Connect checks if the payload is null and then resumes.
    The error in the console states that the payload exists but the UUID is null...
    So I guess the error really is in the proxy..
    But since I don't know Go i can't fix the error myself.
    I also think that the error is only in the linux build since noone else seems to have a problem with this.. :(

    @Coelho I hope this helps that you find the error fast.

    Can anyone help me?
    I hope this gets fixed soon...
    Last edited: Apr 11, 2015
  5. Alex Chmil

    Alex Chmil Member

    The code in the proxy shouldnt worry you, add me on skype so I can assist you: alex.chmil3
  6. Superfuzzy

    Superfuzzy Member

    So ... i finally found the problem (thank you very much again @Alex Chmil)
    The Problem is that LilyPad seems not to be compiled for my kernel/OS.
    I'm using Linux Mint 17.1 (Rebecca) which is based upon Ubuntu 14.
    I installed VirtualBox, created a virtual RootServer (Linux Debian - system only install) and ran LilyPad etc on it. And voila IT WORKS!
    I guess I'm using this virtual server for testing now since I don't own a normal Server.

    - superfuzzy
    Last edited: Apr 28, 2015
    • Like Like x 1

Share This Page