---- Minecraft Crash Report ----
// I feel sad now :(

Time: 8/28/21, 7:33 PM
Description: mouseClicked event handler

java.lang.IllegalStateException: failed to create a child event loop
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:88)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:58)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:47)
 at io.netty.channel.MultithreadEventLoopGroup.null <init>(null)(MultithreadEventLoopGroup.java:59)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:77)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:72)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:59)
 at net.minecraft.server.network.ServerConnectionListener.io.netty.channel.nio.NioEventLoopGroup lambda$static$0()(ServerConnectionListener.java:56)
 at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.null get(null)(Suppliers.java:160)
 at net.minecraft.util.LazyLoadedValue.java.lang.Object get()(LazyLoadedValue.java:19)
 at net.minecraft.server.network.ServerConnectionListener.java.net.SocketAddress startMemoryChannel()(ServerConnectionListener.java:148)
 at net.minecraft.client.Minecraft.void doLoadLevel(java.lang.String,net.minecraft.core.RegistryAccess$RegistryHolder,java.util.function.Function,com.mojang.datafixers.util.Function4,boolean,net.minecraft.client.Minecraft$ExperimentalDialogType)(Minecraft.java:2083)
 at net.minecraft.client.Minecraft.void loadLevel(java.lang.String)(Minecraft.java:1939)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.void loadWorld()(WorldSelectionList.java:437)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.void joinWorld()(WorldSelectionList.java:343)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.boolean mouseClicked(double,double,int)(WorldSelectionList.java:279)
 at net.minecraft.client.gui.components.AbstractSelectionList.boolean mouseClicked(double,double,int)(AbstractSelectionList.java:359)
 at net.minecraft.client.gui.components.events.ContainerEventHandler.boolean mouseClicked(double,double,int)(ContainerEventHandler.java:27)
 at net.minecraft.client.gui.components.events.ContainerEventHandler.void setFocused(net.minecraft.client.gui.components.events.GuiEventListener)(ContainerEventHandler.java:27)
 at net.minecraft.client.MouseHandler.void lambda$onPress$0(boolean[],net.minecraft.client.gui.screens.Screen,double,double,int)(MouseHandler.java:94)
 at net.minecraft.client.gui.screens.Screen.void wrapScreenError(java.lang.Runnable,java.lang.String,java.lang.String)(Screen.java:490)
 at net.minecraft.client.MouseHandler.void onPress(long,int,int,int)(MouseHandler.java:94)
 at net.minecraft.client.MouseHandler.void lambda$setup$4(long,int,int,int)(MouseHandler.java:165)
 at net.minecraft.util.thread.BlockableEventLoop.void execute(java.lang.Runnable)(BlockableEventLoop.java:101)
 at net.minecraft.client.MouseHandler.void lambda$setup$5(long,int,int,int)(MouseHandler.java:165)
 at org.lwjgl.glfw.GLFWMouseButtonCallbackI.null callback(null)(GLFWMouseButtonCallbackI.java:36)
 at org.lwjgl.system.JNI.null invokeV(null)(JNI.java)
 at org.lwjgl.glfw.GLFW.null glfwPollEvents(null)(GLFW.java:3101)
 at com.mojang.blaze3d.systems.RenderSystem.void flipFrame(long)(RenderSystem.java:172)
 at com.mojang.blaze3d.platform.Window.void updateDisplay()(Window.java:310)
 at net.minecraft.client.Minecraft.void runTick(boolean)(Minecraft.java:1137)
 at net.minecraft.client.Minecraft.void run()(Minecraft.java:728)
 at net.minecraft.client.main.Main.void main(java.lang.String[])(Main.java:217)
Caused by: io.netty.channel.ChannelException: failed to open a new selector
 at io.netty.channel.nio.NioEventLoop.null openSelector(null)(NioEventLoop.java:177)
 at io.netty.channel.nio.NioEventLoop.null <init>(null)(NioEventLoop.java:151)
 at io.netty.channel.nio.NioEventLoopGroup.null newChild(null)(NioEventLoopGroup.java:127)
 at io.netty.channel.nio.NioEventLoopGroup.null newChild(null)(NioEventLoopGroup.java:36)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:84)
 ... 31 more
Caused by: java.io.IOException: Unable to establish loopback connection
 at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101)
 at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67)
 at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
 at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:194)
 at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:143)
 at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
 at io.netty.channel.nio.NioEventLoop.null openSelector(null)(NioEventLoop.java:175)
 ... 35 more
Caused by: java.net.SocketException: Invalid argument: connect
 at java.base/sun.nio.ch.Net.connect0(Native Method)
 at java.base/sun.nio.ch.Net.connect(Net.java:576)
 at java.base/sun.nio.ch.Net.connect(Net.java:583)
 at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:851)
 at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:285)
 at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:131)
 at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83)
 ... 41 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:88)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:58)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.null <init>(null)(MultithreadEventExecutorGroup.java:47)
 at io.netty.channel.MultithreadEventLoopGroup.null <init>(null)(MultithreadEventLoopGroup.java:59)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:77)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:72)
 at io.netty.channel.nio.NioEventLoopGroup.null <init>(null)(NioEventLoopGroup.java:59)
 at net.minecraft.server.network.ServerConnectionListener.io.netty.channel.nio.NioEventLoopGroup lambda$static$0()(ServerConnectionListener.java:56)
 at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.null get(null)(Suppliers.java:160)
 at net.minecraft.util.LazyLoadedValue.java.lang.Object get()(LazyLoadedValue.java:19)
 at net.minecraft.server.network.ServerConnectionListener.java.net.SocketAddress startMemoryChannel()(ServerConnectionListener.java:148)
 at net.minecraft.client.Minecraft.void doLoadLevel(java.lang.String,net.minecraft.core.RegistryAccess$RegistryHolder,java.util.function.Function,com.mojang.datafixers.util.Function4,boolean,net.minecraft.client.Minecraft$ExperimentalDialogType)(Minecraft.java:2083)
 at net.minecraft.client.Minecraft.void loadLevel(java.lang.String)(Minecraft.java:1939)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.void loadWorld()(WorldSelectionList.java:437)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.void joinWorld()(WorldSelectionList.java:343)
 at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.boolean mouseClicked(double,double,int)(WorldSelectionList.java:279)
 at net.minecraft.client.gui.components.AbstractSelectionList.boolean mouseClicked(double,double,int)(AbstractSelectionList.java:359)
 at net.minecraft.client.gui.components.events.ContainerEventHandler.boolean mouseClicked(double,double,int)(ContainerEventHandler.java:27)
 at net.minecraft.client.gui.components.events.ContainerEventHandler.void setFocused(net.minecraft.client.gui.components.events.GuiEventListener)(ContainerEventHandler.java:27)
 at net.minecraft.client.MouseHandler.void lambda$onPress$0(boolean[],net.minecraft.client.gui.screens.Screen,double,double,int)(MouseHandler.java:94)

-- Affected screen --
Details:
 Screen name: net.minecraft.client.gui.screens.worldselection.SelectWorldScreen
Stacktrace:
 at net.minecraft.client.gui.screens.Screen.void wrapScreenError(java.lang.Runnable,java.lang.String,java.lang.String)(Screen.java:490)
 at net.minecraft.client.MouseHandler.void onPress(long,int,int,int)(MouseHandler.java:94)
 at net.minecraft.client.MouseHandler.void lambda$setup$4(long,int,int,int)(MouseHandler.java:165)
 at net.minecraft.util.thread.BlockableEventLoop.void execute(java.lang.Runnable)(BlockableEventLoop.java:101)
 at net.minecraft.client.MouseHandler.void lambda$setup$5(long,int,int,int)(MouseHandler.java:165)
 at org.lwjgl.glfw.GLFWMouseButtonCallbackI.null callback(null)(GLFWMouseButtonCallbackI.java:36)
 at org.lwjgl.system.JNI.null invokeV(null)(JNI.java)
 at org.lwjgl.glfw.GLFW.null glfwPollEvents(null)(GLFW.java:3101)
 at com.mojang.blaze3d.systems.RenderSystem.void flipFrame(long)(RenderSystem.java:172)

-- Last reload --
Details:
 Reload number: 1
 Reload reason: initial
 Finished: Yes
 Packs: Default, Programmer Art
Stacktrace:
 at net.minecraft.client.ResourceLoadStateTracker.void fillCrashReport(net.minecraft.CrashReport)(ResourceLoadStateTracker.java:49)
 at net.minecraft.client.Minecraft.net.minecraft.CrashReport fillReport(net.minecraft.CrashReport)(Minecraft.java:2406)
 at net.minecraft.client.Minecraft.void run()(Minecraft.java:747)
 at net.minecraft.client.main.Main.void main(java.lang.String[])(Main.java:217)

-- System Details --
Details:
 Minecraft Version: 1.17.1
 Minecraft Version ID: 1.17.1
 Operating System: Windows 7 (amd64) version 6.1
 Java Version: 16.0.1, Microsoft
 Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
 Memory: 977509816 bytes (932 MiB) / 1744830464 bytes (1664 MiB) up to 2147483648 bytes (2048 MiB)
 CPUs: 4
 Processor Vendor: GenuineIntel
 Processor Name: Intel(R) Core(TM) i7-2617M CPU @ 1.50GHz
 Identifier: Intel64 Family 6 Model 42 Stepping 7
 Microarchitecture: Sandy Bridge (Client)
 Frequency (GHz): 1.50
 Number of physical packages: 1
 Number of physical CPUs: 2
 Number of logical CPUs: 4
 Graphics card #0 name: NVIDIA GeForce GT 540M
 Graphics card #0 vendor: NVIDIA (0x10de)
 Graphics card #0 VRAM (MB): 2048.00
 Graphics card #0 deviceId: 0x0df4
 Graphics card #0 versionInfo: DriverVersion=23.21.13.9135
 Memory slot #0 capacity (MB): 4096.00
 Memory slot #0 clockSpeed (GHz): 1.33
 Memory slot #0 type: Unknown
 Memory slot #1 capacity (MB): 4096.00
 Memory slot #1 clockSpeed (GHz): 1.33
 Memory slot #1 type: Unknown
 Virtual memory max (MB): 16277.86
 Virtual memory used (MB): 7456.61
 Swap memory total (MB): 8138.00
 Swap memory used (MB): 118.44
 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
 Launched Version: 1.17.1
 Backend library: LWJGL version 3.2.2 build 10
 Backend API: GeForce GT 540M/PCIe/SSE2 GL version 3.2.0 NVIDIA 391.35, NVIDIA Corporation
 Window size: 854x480
 GL Caps: Using framebuffer using OpenGL 3.2
 GL debug messages: 
 Using VBOs: Yes
 Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
 Type: Integrated Server (map_client.txt)
 Graphics mode: fancy
 Resource Packs: vanilla, programer_art
 Current Language: English (US)
 CPU: 4x Intel(R) Core(TM) i7-2617M CPU @ 1.50GHz
 Player Count: 0 / 8; []
 Data Packs: vanilla

 

This error only appears on newer versions of MC, older versions allow me to create single player worlds as well as join servers running older versions. Ive tried turning off firewall and nothing changed, any feedback will be much appreciated