mojira.dev
MC-240976

Failed to create a child event loop

I keep getting this error when trying to open my minecraft world

The game crashed whilst mouseclicked event handler
Error: java.lang.IllegalStateException: failed to create a child event loop
Exit Code: -1

i have searched the internet for solutions multiple times and nothing worked.Tried turning off firewall,redownloading,typing commands into command prompt,updating forge and java and more.I reached out to minecraft help and nothing they suggested worked either so im here now.Is there a solution to this?

(crash report if needed)
java.lang.IllegalStateException: failed to create a child event loopjava.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:77) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:59) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at net.minecraft.server.network.ServerConnectionListener.m_9724_(ServerConnectionListener.java:55) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:160) ~[guava-21.0.jar%2320!:?] {} at net.minecraft.util.LazyLoadedValue.m_13971_(SourceFile:19) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.server.network.ServerConnectionListener.m_9708_(ServerConnectionListener.java:113) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1975) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91200_(Minecraft.java:1865) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101744_(SourceFile:437) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101704_(SourceFile:343) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_6375_(SourceFile:274) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.gui.components.AbstractSelectionList.m_6375_(AbstractSelectionList.java:323) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(SourceFile:27) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.MouseHandler.lambda$onPress$0(MouseHandler.java:87) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:530) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:181) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:180) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar%2348!:build 10] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar%2344!:build 10] {} at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar%2348!:build 10] {} at com.mojang.blaze3d.systems.RenderSystem.m_69830_(SourceFile:190) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading} at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1065) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%2354!:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.104.jar%2322!:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {}Caused by: io.netty.channel.ChannelException: failed to open a new selector at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:177) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:151) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:127) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:36) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} ... 43 moreCaused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101) ~[?:?] {} at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67) ~[?:?] {} at java.security.AccessController.doPrivileged(AccessController.java:554) ~[?:?] {} at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:194) ~[?:?] {} at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:143) ~[?:?] {} at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) ~[?:?] {} at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:151) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:127) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:36) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} ... 43 moreCaused by: java.net.SocketException: Invalid argument: connect at sun.nio.ch.UnixDomainSockets.connect0(Native Method) ~[?:?] {} at sun.nio.ch.UnixDomainSockets.connect(UnixDomainSockets.java:146) ~[?:?] {} at sun.nio.ch.UnixDomainSockets.connect(UnixDomainSockets.java:142) ~[?:?] {} at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:849) ~[?:?] {} at java.nio.channels.SocketChannel.open(SocketChannel.java:285) ~[?:?] {} at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:131) ~[?:?] {} at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) ~[?:?] {} at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67) ~[?:?] {} at java.security.AccessController.doPrivileged(AccessController.java:554) ~[?:?] {} at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:194) ~[?:?] {} at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:143) ~[?:?] {} at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) ~[?:?] {} at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:151) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:127) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:36) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ~[netty-all-4.1.25.Final.jar%2331!:4.1.25.Final] {} ... 43 more

Linked issues

Comments 2

Duplicate ofย MCL-20005.

Thank you for your report!
We're tracking this issue in MCL-20005, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Koh Jee

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved