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:

  1. 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.
  2. If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
  3. Delete the third-party plug-ins directory (idea.plugins.path in 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.
  4. 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.
  5. Delete the IDE system (idea.system.path) directory.
  6. 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).
  7. 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.

119 out of 581 found this helpful
408 comments

java.util.concurrent.CompletionException: com.intellij.diagnostic.PluginException: Fatal error initializing 'com.intellij.ide.ui.LafManager' [Plugin: com.intellij]
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$AsyncRun.run(CompletableFuture.java:1803)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:828)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:330)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:421)
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: com.intellij.diagnostic.PluginException: Fatal error initializing 'com.intellij.ide.ui.LafManager' [Plugin: com.intellij]
at com.intellij.serviceContainer.ComponentManagerImpl.handleInitComponentError$intellij_platform_serviceContainer(ComponentManagerImpl.kt:392)
at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:60)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:60)
at com.intellij.serviceContainer.ComponentManagerImpl.createComponents(ComponentManagerImpl.kt:304)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$loadComponents$5(ApplicationImpl.java:353)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.application.impl.ApplicationImpl.loadComponents(ApplicationImpl.java:353)
at com.intellij.idea.ApplicationLoader$startApp$6$loadComponentInEdtFuture$1.run(ApplicationLoader.kt:200)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800)
... 23 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.util.SVGLoader
at com.intellij.ide.ui.laf.LafManagerImpl.setLookAndFeelImpl(LafManagerImpl.java:540)
at com.intellij.ide.ui.laf.LafManagerImpl.setCurrentLookAndFeel(LafManagerImpl.java:520)
at com.intellij.ide.ui.LafManager.setCurrentLookAndFeel(LafManager.java:41)
at com.intellij.ide.ui.laf.LafManagerImpl.initializeComponent(LafManagerImpl.java:234)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:134)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:49)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:402)
at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:40)
... 36 more

1

Moataz Noaman12 Please try the clean IDE installation.

0

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. 

0

======= My issue
Suddenly can't start IDE IntelliJ Idea 2020.2, I get Internal Error:

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

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.idea.Main.bootstrap(Main.java:109)
at com.intellij.idea.Main.main(Main.java:81)
Caused by: java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/objects/Object2LongMap
at com.intellij.ide.plugins.MainRunner.start(MainRunner.java:31)
... 6 more
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.objects.Object2LongMap
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:357)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 7 more

-----
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

  1. If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
    DOESN'T APPLY FOR ME
  2. Delete the third-party plug-ins directory (idea.plugins.path in 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.
  3. 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.
    ! NOT TRIED YET ! How to install exact the same version? without uninstalling it? (I 've installed through toolbox)
  4. Delete the IDE system (idea.system.pathdirectory.
    DID NOT WORK.
  5. 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).
    DID NOT WORK.
  6. Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).
Edited by Oikonomopo
0

> ! NOT TRIED YET ! How to install exact the same version? without uninstalling it? (I 've installed through toolbox)

You need to uninstall it first, then install again to replace all the files.

Another option would be to install a second instance and run it instead:

Note that 2020.2.4 version is no longer available via Toolbox, you can find the files at https://www.jetbrains.com/idea/download/previous.html.

Manually overwriting Toolbox installed files with the fresh copy from tar.gz should help (must be exactly the same version).

1
  1. Uninstalled my IntelliJ Ultimate version from Toolbox.
  2. Downloaded my exact version from  https://www.jetbrains.com/idea/download/previous.html (was missing from toolbox)
  3. Extract zip files to my desired location.

Now it's working again! Thanks! All my settings configs, commits are there - nothing lost.

0

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.

Edited by rhiskey
0

Hello i need help i was trying to run a plugin

 

2022-02-05 18:16:16,613 [   3453]  ERROR - llij.ide.plugins.PluginManager - null 
java.lang.ExceptionInInitializerError
    at com.intellij.notification.NotificationDisplayType.<clinit>(NotificationDisplayType.java:25)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$notificationGroupRef$2.invoke(UpdateChecker.kt:69)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$notificationGroupRef$2.invoke(UpdateChecker.kt:67)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.getNotificationGroupRef(UpdateChecker.kt)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.<clinit>(UpdateChecker.kt:74)
    at com.intellij.ide.b.o.at.c(at.java:129)
    at com.intellij.ide.b.o.at.a(at.java:79)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at com.intellij.idea.MainImpl.start(MainImpl.java:98)
    at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:303)
    at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:243)
    at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
    at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @6b830920
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
    at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
    at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
    at com.intellij.util.ReflectionUtil.makeAccessible(ReflectionUtil.java:252)
    at com.intellij.util.ReflectionUtil.getDeclaredMethod(ReflectionUtil.java:269)
    at com.intellij.DynamicBundle.<clinit>(DynamicBundle.java:22)
    ... 17 more
2022-02-05 18:16:16,616 [   3456]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2020.2.1  Build #IU-202.6948.69 
2022-02-05 18:16:16,617 [   3457]  ERROR - llij.ide.plugins.PluginManager - JDK: 16.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: Oracle Corporation 
2022-02-05 18:16:16,617 [   3457]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 

Start Failed: Internal error. Please refer to http://jb.gg/ide/critical-startup-errors

java.lang.ExceptionInInitializerError
    at com.intellij.notification.NotificationDisplayType.<clinit>(NotificationDisplayType.java:25)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$notificationGroupRef$2.invoke(UpdateChecker.kt:69)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker$notificationGroupRef$2.invoke(UpdateChecker.kt:67)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.getNotificationGroupRef(UpdateChecker.kt)
    at com.intellij.openapi.updateSettings.impl.UpdateChecker.<clinit>(UpdateChecker.kt:74)
    at com.intellij.ide.b.o.at.c(at.java:129)
    at com.intellij.ide.b.o.at.a(at.java:79)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at com.intellij.idea.MainImpl.start(MainImpl.java:98)
    at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:303)
    at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:243)
    at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
    at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @6b830920
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
    at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
    at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
    at com.intellij.util.ReflectionUtil.makeAccessible(ReflectionUtil.java:252)
    at com.intellij.util.ReflectionUtil.getDeclaredMethod(ReflectionUtil.java:269)
    at com.intellij.DynamicBundle.<clinit>(DynamicBundle.java:22)
    ... 17 more

-----
JRE 16.0.2+7-67 amd64 by Oracle Corporation
/home/charity/.jdks/openjdk-16.0.2

Process finished with exit code 3
1

Hi,

I tried many methods, but I still couldn't open IntelliJ IDEA.

1

Hi all, I m facing issue while installing IntelliBot extension. Please provide the solution. Thanks!

0

Supriya Ingawale96 Does it help if you remove this plug-in from disk before installing it again? Could be some file system permissions issue.

0

Fails to start for plugin dev

# IntelliJ Platform Artifacts Repositories
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html

pluginGroup = net.plpgsql.ideadebugger
pluginName = idea-plpgdebugger
# SemVer format -> https://semver.org
pluginVersion = 221.1.1

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 221
pluginUntilBuild = 221.*

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IU
platformVersion = 221-EAP-SNAPSHOT

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins = DatabaseTools

# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
javaVersion = 11

# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion = 7.4.2

# Opt-out flag for bundling Kotlin standard library.
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
# suppress inspection "UnusedProperty"
kotlin.stdlib.default.dependency = false


ng-galien/idea-plpgdebugger at 221 (github.com)

0

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

0

Meet this error when developing my IDE plugin, how can I fix?

I upgrade intellij.version from 2021.3 to 2022.1 and run ./gradlew runIde.

https://youtrack.jetbrains.com/issue/DBE-15377

 

!bootstrap.error.message.internal.error.please.refer.to.0!https://jb.gg/ide/critical-startup-errors!

java.lang.NoClassDefFoundError: com/intellij/openapi/util/SystemInfoRt
    at com.intellij.openapi.application.PathManager.getBinDirectories(PathManager.java:166)
    at com.intellij.openapi.application.PathManager.isIdeaHome(PathManager.java:154)
    at com.intellij.openapi.application.PathManager.getHomePathFor(PathManager.java:149)
    at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:94)
    at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:522)
    at com.intellij.idea.Main.bootstrap(Main.java:89)
    at com.intellij.idea.Main.main(Main.java:79)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.util.SystemInfoRt
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 7 more

-----
!bootstrap.error.message.jre.details!11.0.14.1+1-b2043.25 x86_64 (JetBrains s.r.o.)
/Users/hgj/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-11_0_14_1-osx-x64-b2043.25/extracted/jbr/Contents/Home!

1

The cause: java.nio.file.AccessDeniedException: C:\Users\user\AppData\Roaming\JetBrains\Rider2022.1\plugins\Abc.MoqComplete.Rider\dotnet\Abc.MoqComplete.Rider.dll

0

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

0

Mallikarjun 321 Please see https://youtrack.jetbrains.com/issue/IDEA-204663. Removing accessibility.properties file from the user's home directory should help.

0

Have this error on several products (PyCharm WebStorm IntelliJ PhpStorm).

Probably since I upgraded Flutter to v3.

I tried finding and deleting any accessibility.prop(erties) file as suggested in some comments here but couldn't find any.

 

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.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:60)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:49)
    at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:87)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:82)
    at org.jetbrains.io.BuiltInServerKt.multiThreadEventLoopGroup(BuiltInServer.kt:158)
    at org.jetbrains.io.BuiltInServerKt.access$multiThreadEventLoopGroup(BuiltInServer.kt:1)
    at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:58)
    at com.intellij.idea.SocketLock.lambda$lockAndTryActivate$2(SocketLock.java:150)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
    ... 6 more
Caused by: io.netty.channel.ChannelException: failed to open a new selector
    at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:178)
    at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:145)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:183)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:38)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
    ... 16 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:176)
    ... 20 more
Caused by: java.net.SocketException: Permission denied: connect
    at java.base/sun.nio.ch.Net.connect0(Native Method)
    at java.base/sun.nio.ch.Net.connect(Net.java:483)
    at java.base/sun.nio.ch.Net.connect(Net.java:472)
    at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
    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)
    ... 28 more

-----
Your JRE: 11.0.14.1+1-b2043.25 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\PyCharm 2020.2.2\jbr

1

Mark Eggenstein Your exception and the root cause of the issue is completely different, please see https://youtrack.jetbrains.com/issue/IDEA-238995 for the workarounds.

0

>Have this error on several products (PyCharm WebStorm IntelliJ PhpStorm).

>Probably since I upgraded Flutter to v3.

I also just had ZoneAlarm Firewall installed. Disabling it doesn't make a difference though.

0

Mark Eggenstein Please check the linked ticket for the workarounds. If nothing works, uninstalling the firewall and rebooting should help.

0

>Have this error on several products (PyCharm WebStorm IntelliJ PhpStorm).

>Probably since I upgraded Flutter to v3.

>I also just had ZoneAlarm Firewall installed. Disabling it doesn't make a difference though.

It was ZoneAlarm after all.

Solution: go to ZoneAlarm Application Control Settings, go to <JetBrains Product> and allow all.

0

installed in an offline environment
Error occurs when starting the program after installation

Please help me

 

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.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:60)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:49)
    at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:87)
    at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:82)
    at org.jetbrains.io.BuiltInServerKt.multiThreadEventLoopGroup(BuiltInServer.kt:158)
    at org.jetbrains.io.BuiltInServerKt.access$multiThreadEventLoopGroup(BuiltInServer.kt:1)
    at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:58)
    at com.intellij.idea.SocketLock.lambda$lockAndTryActivate$2(SocketLock.java:150)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
    ... 6 more
Caused by: io.netty.channel.ChannelException: failed to open a new selector
    at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:178)
    at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:145)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:183)
    at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:38)
    at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
    ... 16 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:176)
    ... 20 more
Caused by: java.net.SocketException: Socket operation on nonsocket: no further information
    at java.base/sun.nio.ch.IOUtil.configureBlocking(Native Method)
    at java.base/sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:296)
    at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:135)
    at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)
    ... 28 more

-----
Your JRE: 11.0.14.1+1-b2043.45 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2022.1.1\jbr

0

Snhyun82 Make sure loopback (localhost) interface works correctly and permits binding.

0

I have done a lot of thing for the same error info

  • Reinstall all the product with ToolBox and direct download from the website 
  • Clean everything in the folder AppData\Roaming\JetBrains

I don't know if it's a bug with windows newest update, My OS is Windows 11 Enterprise OS build 22621.1

They worked very well in the past months, PyCham WebStorm PhpStorm, but all of them show the same error today

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.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:459)
    at java.base/sun.nio.ch.Net.bind(Net.java:448)
    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:562)
    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:260)
    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:469)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:829)

-----
Your JRE: 11.0.15+10-b2043.56 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\PyCharm 2022.1.2\jbr

0

Please sign in to leave a comment.

Have more questions?

Submit a request