JetBrains / awesome-pycharm

A curated list of resources for learning and using PyCharm, a Python IDE from JetBrains
Apache License 2.0
278 stars 45 forks source link

java.util.concurrent.CompletionException: java.lang.IllegalStateException: failed to create a child event loop #17

Closed Hrithik-verma closed 2 years ago

Hrithik-verma commented 2 years ago

I am getting this error while trying to launch pycharm community 2020.3.4

Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

java.util.concurrent.CompletionException: java.lang.IllegalStateException: failed to create a child event loop at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:88) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47) at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:59) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:86) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:81) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:68) at org.jetbrains.io.BuiltInServerKt.multiThreadEventLoopGroup(BuiltInServer.kt:144) at org.jetbrains.io.BuiltInServerKt.access$multiThreadEventLoopGroup(BuiltInServer.kt:1) at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:54) at org.jetbrains.io.BuiltInServer.start(BuiltInServer.kt) at com.intellij.idea.SocketLock.lambda$lockAndTryActivate$2(SocketLock.java:171) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) ... 7 more Caused by: io.netty.channel.ChannelException: failed to open a new selector at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175) at io.netty.channel.nio.NioEventLoop.(NioEventLoop.java:142) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146) at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:84) ... 19 more Caused by: java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/sun.nio.ch.PipeImpl.(PipeImpl.java:171) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.base/java.nio.channels.Pipe.open(Pipe.java:155) at java.base/sun.nio.ch.WindowsSelectorImpl.(WindowsSelectorImpl.java:142) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173) ... 23 more Caused by: java.net.ConnectException: Connection timed out: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Net.java:476) at java.base/sun.nio.ch.Net.connect(Net.java:468) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:694) at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76) ... 31 more


Your JRE: 11.0.10+8-b1145.96 amd64 (JetBrains s.r.o.) E:\PYCHARM\PyCharm Community Edition 2020.3.4\jbr 1

pauleveritt commented 2 years ago

Hi, this repo is about collecting links to information. PyCharm has a number of ways to get support, listed here: https://intellij-support.jetbrains.com/hc/en-us/?pycharm