Start Failed, Internal error: recovering IDE to the working state after the critical startup error
Symptoms
IDE shows the Start Failed dialog with the exception stacktrace and the following text:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
Cause
There are multiple possible causes for this issue: broken or incompatible plug-in, corrupted IDE installation files, failed patch update, broken caches or damaged configuration.
It may be hard to guess the root case from the exception stacktrace.
Resolution
Please try the following steps one by one until the issue is resolved:
- In case of "java.nio.file.AccessDeniedException: ...plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe", please see this Copilot discussion and the corresponding issue.
- If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
- Delete the third-party plug-ins directory (
idea.plugins.pathin the user's home directory, depends on the OS and IDE version. Please be aware that default locations have changed in 2020.1 release). You can bisect the plug-ins to find the offending one and remove only that plug-in, keeping the working plug-ins.
Note: if the installation is managed by the Toolbox App, plug-ins directory will be located next to the application install location which can be found from the Toolbox properties of the installed app. Look for the directory name starting with the build number and ending with the .plugins, like 192.5728.98.plugins. - Download and install the IDE again, either from the official site or using the Toolbox App. Your settings and projects will be preserved. When installing from .tar.gz on Linux make sure to unpack into the new empty directory, not on the top of the existing installation.
- Delete the IDE system (
idea.system.path) directory. - In most cases the issue should be already resolved, but if the IDE still doesn't start with the same error dialog, you can also try to backup and delete the configuration directory (
idea.config.path). - Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).
Feedback
We'd appreciate if you report all such issues to the support team or directly to the issue tracker. We are trying to eliminate the root cases and make the IDE recovery process more seamless.
Please sign in to leave a comment.
Hi Andrey. I have tried the article mentioned above and it didn't help. I have to start vnc server from root in order to start idea from root. Best regards. Oleg
Serge Baranov
Thanks, removal of lombok plugin did the trick
https://github.com/mplushnikov/lombok-intellij-plugin/issues/988
win10
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.<init>(MultithreadEventExecutorGroup.java:88)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:86)
at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:81)
at io.netty.channel.nio.NioEventLoopGroup.<init>(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.<init>(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.<init>(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.<init>(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.<init>(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.BindException: Cannot assign requested address: 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
-----
JRE 11.0.9+11-b944.49 amd64 by JetBrains s.r.o.
C:\Program Files\JetBrains\WebStorm 2020.3\jbr
Turn off Hyper-V and problem solved.
Since Webstorm 2020.2.1 (installing this old version works out of the box!), newer versions lock up at start up:
Splash screen is shown and when nothing happens.
Since 2020.3 & numerous tries, I get an empty "Start failed" window, no error message.
In the log are several exceptions:
And:
This last error seems to loop (the log is 12000 lines long).
I also tried the solutions but none of them succeed.
My computer is Windows10 x86.
Please help me!
-------------------
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.nio.file.InvalidPathException: Trailing char < > at index 27: C:\Users\HP\AppData\Roaming \JetBrains\IntelliJIdea2020.3/idea.properties
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:172)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:531)
at com.intellij.idea.Main.bootstrap(Main.java:105)
at com.intellij.idea.Main.main(Main.java:95)
-----
JRE 11.0.9+11-b1145.21 x86 by JetBrains s.r.o.
E:\JB_IntelliJ IDEA\IntelliJ IDEA 2020.3\jbr-x86
guys there is no way get v2020.3 working on Mac ... I am trying to install older version: https://www.jetbrains.com/idea/download/other.html
just downgraded 2020.2.4 ...and problem fixed!
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: (class: com/jetbrains/rider/model/b, method: d2 signature: ()V)
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at com.intellij.idea.StartupUtil.getAppStarter(StartupUtil.java:248)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:273)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:242)
at com.intellij.ide.plugins.MainRunner.lambda$start$1(MainRunner.java:41)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.OutOfMemoryError: (class: com/jetbrains/rider/model/b, method: d2 signature: ()V)
at com.jetbrains.rider.model.c.a(Unknown Source)
at com.intellij.idea.MainImpl.<clinit>(MainImpl.java)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.intellij.idea.StartupUtil.lambda$prepareApp$2(StartupUtil.java:180)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)
... 1 more
-----
JRE 11.0.9.1+11-b1145.24 amd64 by JetBrains s.r.o.
C:\Users\mk-mi\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\203.5981.141\jbr
In my case it happens in all JetBrains IDE everything was good until i installed pycharm using tool box
Hi!
After update IDE PyCharm I couldn't start it because of following mistake:
Please advice me what should i do to fix this problem.
Alexeevaelena06 does it help if you reinstall PyCharm?
Serge, i reinstalled PyCharm several times. But it doesn't help. Problem was with following: one of
jbr\bin\awt.dlldependencies failed to load. Now i fix it. Thank you for help!In my case on CentOS 8 after Lua plugin installation:
[ 6968] ERROR - llij.ide.plugins.PluginManager - org.picocontainer.PicoRegistrationException: Key com.tang.intellij.lua.luacheck.LuaCheckSettings duplicated
I had to delete
1527405416 Lua plug-in is at fault, delete the Plugins directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#plugins-directory.
You may find this hard to believe, but you do have linux users. Being told to remove a directory (
idea.plugins.path) is of no use if idea.plugins.path is nowhere to be found under .config/Jetbrains.You only support a few operating systems. Would listing the actual third party location have been impossible?
Adam Pycharm
Look under ~/.local/share/JetBrains/IntelliJIdea2020.3.
TL;DR
Start PowerShell as an Administrator. Then type:
Details
I ran into the BindException on Windows multiple times:
At some point, I found that switching from my docking station using Ethernet to WiFi and back is sometimes causing this issue. To solve it, I use PowerShell to restart the network adapter. For some reason, I either need to restart the WiFi or the Ethernet adapter. To stop guessing, I just restart all of them in a loop. Note that running transfers might be interrupted.
Start PowerShell as an Administrator. Then type:
To restart an individual adapter, use Get-NetAdapter to find its name, then type:
I hope it helps.
Having the same issue as noted by many others in the comments section - IntelliJ is failing to start due to "java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind".
Disabling Hyper-V is not an acceptable solution.
sudo /usr/local/bin/pstorm
helped me
Stop Hyper-V fixed my issue too.
@Alexeevaelena06, could you tell me how you fixed the issue with awt.dll? It seems that I have the same problem but I have no idea on how to fix it.
Thank you
Looks like I've got crash error too.
I used Hyper-V few days all worked fine. Yesturday I updated CSV plugin.
I disagree do not use Docker and disable Hyper-v (wsl2)
Here is error:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
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.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more
-----
Your JRE: 11.0.9.1+11-b1145.77 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\PhpStorm 2020.2.4\jbr
Ruslan Gr
Please see https://youtrack.jetbrains.com/issue/IDEA-238995 for the workaround.
Thank you.
I've removed CSV plugin and reinstall PhpStorm.
It helps. NExt time will use your solution.
I see this after latest update. Re-installing does not help(without removing settings)
D00mus2
Please try removing the Plugins directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#plugins-directory.
Serge Baranov
I removed just Kotlin plugin and it helped, thanks
Petuhovdi the issue may be caused by the corrupted Windows installation. Repairing it should help. You can also try reinstalling https://aka.ms/vs/16/release/vc_redist.x64.exe .