Start Failed, Internal error: recovering IDE to the working state after the critical startup error


IDE shows the Start Failed dialog with the exception stacktrace and the following text:

Internal error. Please report to


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.


Please try the following steps one by one until the issue is resolved:

  1. Delete the third-party plug-ins directory (idea.plugins.path in the user's home directory, depends on the OS: ~/Library/Application Support/<Product><Version> on macOS, c:\Users\<user>\.<Product><Version>\config\plugins on Windows and ~/.<Product><Version>/config/plugins on Linux). <Product><Version> example: IntelliJIdea2019.1. ~ stands for the home directory (/Users/<user> on macOS, /home/<user> on Linux). 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.
  2. 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.
  3. Delete the IDE system (idea.system.path) directory.
  4. 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 settings directory (idea.config.path).
  5. Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).


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.

Comment actions Permalink

In my case, none of the steps helped, tried deleting the entire settings directory, reinstalling - to no avail. The only way to fix the issue was to run Rider with administrative rights (2019.3.1, installed with Jetbrains Toolbox).

Comment actions Permalink

I've tried everything and nothing works for me, including installing it through the Jetbrains Toolbox.

Comment actions Permalink

Sorry for the problems, please follow the step 5.

Comment actions Permalink

In my case a simple restart was enough (Linux 5.4.12 i3wm). Also it was "just" a NullPointerException...

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionElement(
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionsChildElement(
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerPluginActions(
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:505)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.getService(PlatformComponentManagerImpl.kt:288)
at com.intellij.openapi.components.ServiceManager.getService(
at com.intellij.openapi.actionSystem.ActionManager.getInstance(
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.addActionsFromActiveKeymap(
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.updateCurrentContext(
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(
at com.intellij.ide.IdeEventQueue.lambda$new$5(
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at com.intellij.ide.IdeEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

JRE 1.8.0_222-release-1621-b1 amd64 by JetBrains s.r.o
Comment actions Permalink

What port does Clion need? I can't get the port number from the exception information.

Windows 10 20H1

Internal error. Please refer to

java.util.concurrent.CompletionException: Address already in use: bind
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(
at java.base/java.util.concurrent.CompletableFuture$
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.base/java.util.concurrent.ThreadPoolExecutor$
at java.base/
Caused by: Address already in use: bind
at java.base/ Method)
at java.base/
at java.base/
at java.base/
at io.netty.bootstrap.AbstractBootstrap$
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(
at io.netty.util.concurrent.SingleThreadEventExecutor$
at io.netty.util.internal.ThreadExecutorMap$
... 1 more

JRE 11.0.5+10-b520.30 amd64 by JetBrains s.r.o
Comment actions Permalink


To lock the folders IDE is starting a server on localhost, it tries to bind on the first available port between 6942 and 6991, this exception is thrown if IDE was not able to bind on any of the ports in this range. All 50 ports are unlikely to be already used on a machine, so it appears to be a networking issue or some security software which doesn't permit the IDE to bind on any port in this range even on the localhost interface.

On Windows "netsh winsock reset" in the Administrator console followed by the reboot should help. Also try disabling the antivirus/firewall and verify that the network configuration is correct.


Please sign in to leave a comment.

Have more questions?

Submit a request