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.
Kevinmadden Try the clean install of the current IDE release: https://www.jetbrains.com/idea/download/index.html.
I've solved my problem by installing clion-jre package rather than relying on the standard Manjaro JRE package.
After installing Lua plugins: EmmyLua and Luanalysis and restarting the IDE I got the following error. I deleted the plugin directories and the IDE started successfully.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.util.concurrent.CompletionException: org.picocontainer.PicoRegistrationException: Key com.tang.intellij.lua.luacheck.LuaCheckSettings duplicated
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:683)
at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:658)
at java.base/java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2094)
at com.intellij.idea.ApplicationLoader.registerAppComponents(ApplicationLoader.kt:104)
at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:63)
at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.picocontainer.PicoRegistrationException: Key com.tang.intellij.lua.luacheck.LuaCheckSettings duplicated
at com.intellij.util.pico.DefaultPicoContainer.registerComponent(DefaultPicoContainer.java:119)
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:400)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:250)
at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt:106)
at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt)
at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:680)
... 19 more
-----
Your JRE: 11.0.11+9-b1341.60 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\jbr
when installing goland on my ubuntu 20.04 LTS using ARM64,something wrong happened.it shows like that
1967214640 Switch back to the bundled JetBrains Runtime 11 instead of using unsupported JDK: https://intellij-support.jetbrains.com/hc/en-us/articles/206544879.
Fijaukowski Delete the Plugins directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#plugins-directory.
on my Gnome Garuda system up to date (Arch based system).
settings folder deleted (to start from scratch)
latest PHPStorm-EAP (from AUR)
peter lindstrom please try the workaround from https://youtrack.jetbrains.com/issue/IDEA-258057.
Received an error, please advise what steps can be made to recover, happened after plugin updates:
nternal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.io.UncheckedIOException: java.util.zip.ZipException: Archive is not a ZIP archive
at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:42)
at com.intellij.util.lang.PathClassLoader.lambda$static$0(PathClassLoader.java:15)
at com.intellij.util.lang.ClassPath.createLoader(ClassPath.java:387)
at com.intellij.util.lang.ClassPath.getLoaderSlowPath(ClassPath.java:334)
at com.intellij.util.lang.ClassPath.getLoader(ClassPath.java:315)
at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:195)
at com.intellij.util.lang.UrlClassLoader.loadClassInsideSelf(UrlClassLoader.java:389)
at com.intellij.idea.Main.bootstrap(Main.java:115)
at com.intellij.idea.Main.main(Main.java:84)
Caused by: java.util.zip.ZipException: Archive is not a ZIP archive
at com.intellij.util.lang.ImmutableZipFile.readEndSignature(ImmutableZipFile.java:235)
at com.intellij.util.lang.ImmutableZipFile.populateFromCentralDirectory(ImmutableZipFile.java:120)
at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:74)
at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:50)
at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:34)
... 8 more
-----
Your JRE: 11.0.12+7-b1504.28 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2020.2.1\jbr
=====================================================
The issue was solved by installing a newer version on top of the old one.
Alexander B1982 Did you already try the steps from this very document? Do you still have the problem?
I solved my issue with tip from one of the links above.. don't recall which one. I think something to do with deleting something in .cache folder. Thank you.
Updating the datalore plugin to ver sion 0.1.14-212, gives me this error every time I start PyCharm Professional:
The cause: java.nio.file.AccessDeniedException: /opt/pycharm-professional/plugins/datalore-intellij-plugin/lib/kotlin-reflect-1.5.20.jar
This is not an answer to why the IDE crashes when closing a project on startup. If you wait 10 seconds or so and close it, it properly closes. If you close it immediately, the IDE crashes. If it is a plug-in problem, this would not go away. IntelliJ is doing some processing that it does not believe can be interrupted. Either prevent the project from being closed until this mystery processing is completed or fix IntelliJ to stop the processing. This did not happen in earlier versions. NO NEW PLUGINS installed. Same version of the JRE. Only thing that changed was an update to IntelliJ and the plugins that were pushed by Jet Brains. I reported this to Jet Brains complete with the entire trace. In less than 5 minutes I received notification that my bug had been closed and referenced to this article. This is not the problem I reported.
Rprice Please follow https://youtrack.jetbrains.com/issue/IDEA-278055 for updates.
After a plugin update on Webstorm I can't start the IDE anymore.
I'm using Windows with WSL2. I haven't installed Webstorm in windows. Instead I am running a Vcxsrv XServer (1.20.8.1) and start Jetbrains Toolbox inside wsl2.
Reinstalling Webstorm and Toolbox multiple times didn't fix the problem (I also tried installing in a different folder and deleted everything obviously related to the programm in advance).
What can I do to solve this? Here's my log:
It could also be happening if you've run out of disk space ;)
Moataz Noaman12 Please try the clean IDE installation.
This is still broken. I completely uninstalled the IDE, Java and everything related to this. I re-installed and it still fails. The problem is that indexing cannot be interrupted.
Rprice Please report at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs folder attached (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085).
======= My issue

Suddenly can't start IDE IntelliJ Idea 2020.2, I get Internal Error:
-----
JRE 1.8.0_302-b08 amd64 by Azul Systems, Inc.
C:\dev\java_versions\zulu8.56.0.23-ca-fx-jdk8.0.302-win_x64\jre
======= My dev settings
IntelliJ IDEA 2020.2.4 Build #IU-202.8194.7
JDK: 1.8.0_302; VM: OpenJDK 64-Bit Server VM; Vendor: Azul Systems, Inc.
OS: Windows 10
======= what I've tried
DOESN'T APPLY FOR ME
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.
DID NOT WORK.
! NOT TRIED YET ! How to install exact the same version? without uninstalling it? (I 've installed through toolbox)
idea.system.path) directory.DID NOT WORK.
idea.config.path).DID NOT WORK.
Now it's working again! Thanks! All my settings configs, commits are there - nothing lost.
After trying to update Kotlin from 211-1.5.30-release-408-AS7442.40 to 211-1.6.10-release-923-AS7442.40 cant start Android Studio due to:
```
The IDE failed to install some plugins.
Most probably, this happened because of a change in a serialization format.
Please try again, and if the problem persists, please report it
to https://jb.gg/ide/critical-startup-errors
The cause: java.nio.file.AccessDeniedException: ~:\Program Files\JetBrains\apps\AndroidStudio\ch-0\211.7628.21.2111.8092744.plugins\Kotlin\lib\kotlin-jvm-debugger-core.jar
```
It keeps rolling back to older Kotlin 1.5.30 version after closing prompt window.
I solved that by deleting this file and forcing start via Administrator from Jetbrains Toolbox. Then you have to update kotlin through Tools->Kotlin->Configure Kotlin Plugin Updates. Then restart Studio.
Charity Mbisi IntelliJ IDEA requires Java 11 to run, see https://intellij-support.jetbrains.com/hc/en-us/articles/206544879. It should help if you delete idea.jdk file from the Configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory.
1048154972 try installing the current release version: https://www.jetbrains.com/idea/download/index.html.
Hi all, I m facing issue while installing IntelliBot extension. Please provide the solution. Thanks!
Supriya Ingawale96 Does it help if you remove this plug-in from disk before installing it again? Could be some file system permissions issue.
Fails to start for plugin dev
ng-galien/idea-plpgdebugger at 221 (github.com)
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.ide.plugins.StartupAbortedException: Cannot start app
at com.intellij.idea.StartupUtil.lambda$start$15(StartupUtil.java:263)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'sourceType' of com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType$SingletonTypeConfigurationFactory.<init> must not be null
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:600)
at java.base/java.util.concurrent.ForkJoinTask.getException(ForkJoinTask.java:933)
at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:854)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$2.run(ComponentManagerImpl.kt:1051)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1728)
... 5 more
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'sourceType' of com/intellij/remoteServer/impl/configuration/deployment/DeployToServerConfigurationType$SingletonTypeConfigurationFactory.<init> must not be null
at com.intellij.remoteServer.impl.configuration.deployment.DeployToServerConfigurationType$SingletonTypeConfigurationFactory.$$$reportNull$$$0(DeployToServerConfigurationType.java)
at com.intellij.remoteServer.impl.configuration.deployment.DeployToServerConfigurationType$SingletonTypeConfigurationFactory.<init>(DeployToServerConfigurationType.java)
at com.intellij.remoteServer.impl.configuration.deployment.DeployToServerConfigurationType.<init>(DeployToServerConfigurationType.java:42)
at com.intellij.remoteServer.impl.configuration.deployment.DeployToServerConfigurationTypesRegistrar.<init>(DeployToServerConfigurationTypesRegistrar.java:23)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:47)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:891)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:41)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:119)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
at com.intellij.serviceContainer.ComponentManagerImpl.preloadService(ComponentManagerImpl.kt:1069)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.invoke(ComponentManagerImpl.kt:1034)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.run(ComponentManagerImpl.kt:55)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
... 5 more
-----
Your JRE: 11.0.14.1+1-b2043.25 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.3\jbr
The cause: java.nio.file.AccessDeniedException: C:\Users\user\AppData\Roaming\JetBrains\Rider2022.1\plugins\Abc.MoqComplete.Rider\dotnet\Abc.MoqComplete.Rider.dll
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.ide.plugins.StartupAbortedException: Cannot start app
at com.intellij.idea.StartupUtil.lambda$start$15(StartupUtil.java:263)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1004)
at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2307)
at com.intellij.idea.StartupUtil.start(StartupUtil.java:262)
at com.intellij.idea.Main.bootstrap(Main.java:118)
at com.intellij.idea.Main.main(Main.java:79)
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1\jbr\bin\javaaccessbridge.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2648)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at jdk.accessibility/com.sun.java.accessibility.internal.AccessBridge$3.run(AccessBridge.java:117)
at jdk.accessibility/com.sun.java.accessibility.internal.AccessBridge$3.run(AccessBridge.java:115)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:430)
at jdk.accessibility/com.sun.java.accessibility.internal.AccessBridge.<clinit>(AccessBridge.java:114)
at jdk.accessibility/com.sun.java.accessibility.internal.ProviderImpl.activate(ProviderImpl.java:58)
at java.desktop/java.awt.Toolkit.lambda$loadAssistiveTechnologies$0(Toolkit.java:521)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:516)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$18(StartupUtil.java:467)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1728)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
-----
Your JRE: 11.0.14.1+1-b2043.25 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1\jbr