Solved Bungee Startup Error: Failed to create child event loop...

Discussion in 'BungeeCord Help' started by Avenged_, May 20, 2016.

  1. Hi, so my BungeeCord server has been unable to start lately. I haven't been able to figure out what was causing this, because it just randomly started happening. On startup, my Bungee server outputs the following error...

    Code (Text):
    17:59:18 [INFO] Epoll is working, utilising it!
    17:59:18 [SEVERE] Exception in thread "main"
    17:59:18 [SEVERE] java.lang.IllegalStateException: failed to create a child event loop
    17:59:18 [SEVERE]     at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:68)
    17:59:18 [SEVERE]     at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:61)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:49)
    17:59:18 [SEVERE]     at net.md_5.bungee.netty.PipelineUtils.newEventLoopGroup(PipelineUtils.java:100)
    17:59:18 [SEVERE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:242)
    17:59:18 [SEVERE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55)
    17:59:18 [SEVERE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
    17:59:18 [SEVERE] Caused by: java.lang.NullPointerException
    17:59:18 [SEVERE]     at io.netty.util.internal.PlatformDependent0.allocateMemory(PlatformDependent0.java:330)
    17:59:18 [SEVERE]     at io.netty.util.internal.PlatformDependent.allocateMemory(PlatformDependent.java:211)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventArray.allocate(EpollEventArray.java:56)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventArray.<init>(EpollEventArray.java:52)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventLoop.<init>(EpollEventLoop.java:66)
    17:59:18 [SEVERE]     at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:76)
    17:59:18 [SEVERE]     at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
    17:59:18 [SEVERE]     ... 7 more
     
    I googled the issue, and could not find anything on it. If you've had this issue before, and have any idea how to solve it, that would be great.

    EDIT: This has been solved, this is how I fixed it...

    All I had to do was change the java version to java 1.8, for some reason that fixed it for me.
     
    #1 Avenged_, May 20, 2016
    Last edited: May 21, 2016