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.

112 out of 534 found this helpful
396 comments

I wrote here before, but the error still exist.

I hope to get your support.

OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
Dec 13, 2022 12:47:40 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
 
Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
 
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-arm64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392)
at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389)
at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427)
at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401)
at java.desktop/java.awt.Color.<clinit>(Color.java:277)
at com.intellij.ide.ui.laf.IdeaLaf.<clinit>(IdeaLaf.java:24)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at com.intellij.idea.StartupUtil$preloadLafClasses$1.invokeSuspend(StartupUtil.kt:573)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
 
-----
Your JRE: 17.0.5+8-Ubuntu-2ubuntu122.04 aarch64 (Private Build)
/usr/lib/jvm/java-17-openjdk-arm64
 
Also, a UI exception occurred on an attempt to show the above message
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at java.desktop/java.awt.Component.<clinit>(Component.java:624)
at com.intellij.idea.StartupErrorReporter.showMessage(StartupErrorReporter.java:85)
at com.intellij.idea.StartupErrorReporter.showMessage(StartupErrorReporter.java:39)
at com.intellij.idea.Main.main(Main.kt:62)

 

0

The workarounds don't work for me. As a developer, I can't help wondering why this bug is so difficult to fix. It has been years, but JetBrains still is not able to fix it in the root. Could you please give it a high priority in your todo list? It's really bothering. 

1

Steven Xiangyu Lai Think of it like of the Windows BSOD. There is no single bug that causes it, there are hundreds of potential scenarios when this issue can occur and it's almost impossible to fix them all. That being said, the most common issue is https://youtrack.jetbrains.com/issue/IDEA-238995 that we plan to address in one of the nearest updates.

0

Noaarg Please make sure you have DISPLAY environment variable exported correctly so that you can run GUI apps on this system.

0

Dandrfranco The plug-in is still present on your system, according to the logs. Please double check it's removed from the Plugins directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory.

0

Mike Samsonov You have Rider specific issue. The best place to get help would be https://rider-support.jetbrains.com/hc/en-us.

0

I've got this

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

java.lang.ClassFormatError: Unknown constant tag 0 in class file java/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl$1
    at java.base/java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.<init>(AtomicIntegerFieldUpdater.java:395)
    at java.base/java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater(AtomicIntegerFieldUpdater.java:93)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.<clinit>(CoroutineScheduler.kt:303)
    at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.createScheduler(Dispatcher.kt:95)
    at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.<init>(Dispatcher.kt:92)
    at kotlinx.coroutines.scheduling.DefaultScheduler.<init>(Dispatcher.kt:13)
    at kotlinx.coroutines.scheduling.DefaultScheduler.<clinit>(Dispatcher.kt)
    at kotlinx.coroutines.Dispatchers.<clinit>(Dispatchers.kt:32)
    at kotlinx.coroutines.CoroutineContextKt.newCoroutineContext(CoroutineContext.kt:21)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:49)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at com.intellij.idea.Main.main(Main.kt:36)

-----
Your JRE: 17.0.5+1-b653.23 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.5\jbr
0

I just updated Clion and got the following start up error.

I already

a) Uninstalled and installed again Clion

b) erased the plugin file in Clion.app/Contents/plugins

Nothing worked, and since I coudn't find anything on the internet, I'm running out of ideas. Can you help me? Otherwise, I'll try to revert to a previous build.

This is the error I get (I'll also create a separate report for this):

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

com.intellij.diagnostic.PluginException: Key com.jetbrains.cidr.execution.debugger.CidrEvaluatorHelper duplicated; existingAdapter: ServiceAdapter(descriptor=ServiceDescriptor(interface='com.jetbrains.cidr.execution.debugger.CidrEvaluatorHelper', serviceImplementation='com.jetbrains.cidr.execution.debugger.OCEvaluatorHelper', testServiceImplementation='null', headlessImplementation='null', overrides=false, configurationSchemaKey='null', preload=FALSE, client=null), pluginDescriptor=PluginDescriptor(name=C/C++ Language Support, id=com.intellij.cidr.lang, descriptorPath=plugin.xml, path=/.../CLion.app/Contents/plugins/c-plugin, version=223.8214.51, package=null, isBundled=true)); descriptor: com.jetbrains.nim.execution.debugger.NimEvaluationHelper; app: Application  (containerState PRE_INIT) ; current plugin: com.jetbrains.nim
    at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:547)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:259)
    at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:46)
    at com.intellij.idea.ApplicationLoader.doInitApplication(ApplicationLoader.kt:78)
    at com.intellij.idea.ApplicationLoader.access$doInitApplication(ApplicationLoader.kt:1)
    at com.intellij.idea.ApplicationLoader$doInitApplication$1.invokeSuspend(ApplicationLoader.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at com.intellij.idea.ApplicationLoader.initApplication(ApplicationLoader.kt:61)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at com.intellij.idea.D.U(D.java:69)
    at com.intellij.ide.U.x.DO.U(DO.java:135)
    at com.intellij.ide.U.x.R.D(R.java:191)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at com.intellij.idea.MainImpl.start(MainImpl.kt:60)
    at com.intellij.idea.StartupUtil$startApplication$7.invokeSuspend(StartupUtil.kt:294)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at com.intellij.idea.Main.main(Main.kt:36)

-----
Your JRE: 17.0.5+1-b653.23 aarch64 (JetBrains s.r.o.)
0

Eliferna

> erased the plugin file in Clion.app/Contents/plugins

You should never delete the bundled plug-ins, please install the IDE again, or it will not run.

Delete the plugins from the user profile instead: https://www.jetbrains.com/help/clion/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory.

If the issue persists, please report a bug at https://youtrack.jetbrains.com/newIssue?project=CPP.

0

I got this .Could you give some suggestions? Thanks a lot for that

java.lang.UnsatisfiedLinkError: /home/zhouwanyun/pycharm-community-2022.3.1/jbr/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
    at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
    at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
    at java.base/java.lang.Runtime.load0(Runtime.java:755)
    at java.base/java.lang.System.load(System.java:1953)
    at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
    at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
    at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
    at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
    at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
    at java.base/java.lang.System.loadLibrary(System.java:1989)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1388)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1386)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
    at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1385)
    at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1428)
    at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1397)
    at java.desktop/java.awt.Color.<clinit>(Color.java:277)
    at com.intellij.ide.ui.laf.IdeaLaf.<clinit>(IdeaLaf.java:24)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:467)
    at com.intellij.idea.StartupUtil$preloadLafClasses$1.invokeSuspend(StartupUtil.kt:573)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
    Suppressed: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at com.intellij.idea.StartupUtil$initAwtToolkit$1$1.invokeSuspend(StartupUtil.kt:479)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        ... 4 more

-----
Your JRE: 17.0.5+1-b653.23 amd64 (JetBrains s.r.o.)
/home/zhouwanyun/pycharm-community-2022.3.1/jbr

Also, a UI exception occurred on an attempt to show the above message
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
    at java.desktop/java.awt.Component.<clinit>(Component.java:632)
    at com.intellij.idea.StartupErrorReporter.showMessage(StartupErrorReporter.java:85)
    at com.intellij.idea.StartupErrorReporter.showMessage(StartupErrorReporter.java:39)
    at com.intellij.idea.Main.main(Main.kt:65)

0

The problem is: java.lang.UnsatisfiedLinkError: /home/zhouwanyun/pycharm-community-2022.3.1/jbr/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

I have read your comment with the link https://askubuntu.com/questions/787957/running-a-jar-file-with-jdk-1-8-0 but the problem is I have no permission for sudo. Are there any other methods?

0

When tried to Invalidate Caches and restart received this error

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

java.lang.NoSuchMethodException: com.intellij.ide.plugins.PluginManager.start(java.lang.String, java.lang.String, [Ljava.lang.String;)
    at java.lang.Class.getDeclaredMethod(Class.java:2130)
    at com.intellij.ide.Bootstrap.main(Bootstrap.java:25)
    at com.intellij.idea.Main.main(Main.java:60)

0

Tasya Innian Looks like a corrupted installation, please install the IDE again.

1

Any idea why I am seeing below -

 

java.io.UncheckedIOException: java.io.IOException: C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2\lib\jsch-agent.jar
    at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:41)
    at com.intellij.util.lang.PathClassLoader.lambda$static$0(PathClassLoader.java:21)
    at com.intellij.util.lang.ClassPath.createLoader(ClassPath.java:412)
    at com.intellij.util.lang.ClassPath.getLoaderSlowPath(ClassPath.java:363)
    at com.intellij.util.lang.ClassPath.findClassWithoutCache(ClassPath.java:223)
    at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:202)
    at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:203)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at com.intellij.openapi.application.PathManager.platformPath(PathManager.java:745)
    at com.intellij.openapi.application.PathManager.getDefaultConfigPathFor(PathManager.java:315)
    at com.intellij.openapi.application.PathManager.getCustomOptionsDirectory(PathManager.java:349)
    at com.intellij.openapi.application.PathManager.getCustomPropertiesFile(PathManager.java:582)
    at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:537)
    at com.intellij.idea.Main.bootstrap(Main.java:91)
    at com.intellij.idea.Main.main(Main.java:81)
Caused by: java.io.IOException: C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2\lib\jsch-agent.jar
    at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:84)
    at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:54)
    at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:33)
    ... 15 more
Caused by: java.util.zip.ZipException: Archive is not a ZIP archive
    at com.intellij.util.lang.ImmutableZipFile.populateFromCentralDirectory(ImmutableZipFile.java:234)
    at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:81)
    ... 17 more

-----
Your JRE: 17.0.3+7-b469.37 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2\jbr

0

Shishir Choubey Reinstalling the IDE should fix it, your installation is damaged.

0

Since a few hours after enabling sync between JetBrains IDEs. Reinstalling or removing plugins alone does not fix, I need to remove all configs. Then re-enabling sync makes it crash instantly again on next start. unchecking plugin sync does make it not crash.

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

com.intellij.ide.plugins.PluginManagerCore$EssentialPluginMissingException: Missing essential plugins: JavaScript
    at com.intellij.ide.plugins.PluginManagerCore.checkEssentialPluginsAreAvailable(PluginManagerCore.java:746)
    at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:839)
    at com.intellij.ide.plugins.PluginManagerCore.initializeAndSetPlugins(PluginManagerCore.java:1043)
    at com.intellij.ide.plugins.PluginDescriptorLoader$scheduleLoading$pluginSetDeferred$1.invokeSuspend(PluginDescriptorLoader.kt:397)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

-----
Your JRE: 17.0.5+1-b653.25 x86_64 (JetBrains s.r.o.)
/Users/---censored---/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/223.8617.44/WebStorm.app/Contents/jbr/Contents/Home

0

In my case,DataSpell New Version 2022.3.2 on Windows 11 can't startup normally:

I have reinstalled and rolled back the version, but it still doesn't work

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

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: EventQueue.isDispatchThread()=false
Current thread: Thread[DefaultDispatcher-worker-2,5,main] 1825432702
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 530975798
    at com.intellij.openapi.application.impl.ApplicationImpl.throwThreadAccessException(ApplicationImpl.java:1067)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:1050)
    at com.intellij.openapi.application.impl.LaterInvocator.getCurrentModalityState(LaterInvocator.java:278)
    at com.intellij.openapi.application.impl.ApplicationImpl.getCurrentModalityState(ApplicationImpl.java:471)
    at com.intellij.openapi.application.ModalityState.current(ModalityState.java:70)
    at com.intellij.openapi.progress.impl.PlatformTaskSupport.runBlockingModalInternal(PlatformTaskSupport.kt:75)
    at com.intellij.openapi.progress.TasksKt.runBlockingModal(tasks.kt:155)
    at com.intellij.ide.impl.ProjectUtilKt.runBlockingUnderModalProgress(ProjectUtil.kt:724)
    at com.intellij.ide.impl.ProjectUtilKt.runBlockingUnderModalProgress$default(ProjectUtil.kt:721)
    at com.intellij.ide.impl.ProjectUtil.openOrCreateProject(ProjectUtil.kt:581)
    at com.jetbrains.ds.welcomeScreen.DSRecentProjectsManager.reopenLastProjectsOnStart(DSRecentProjectsManager.kt:27)
    at com.intellij.idea.IdeStarter.openProjectIfNeeded$suspendImpl(IdeStarter.kt:138)
    at com.intellij.idea.IdeStarter.openProjectIfNeeded(IdeStarter.kt)
    at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:72)
    at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
    at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
    at com.intellij.idea.IdeStarter.start$suspendImpl(IdeStarter.kt:70)
    at com.intellij.idea.IdeStarter.start(IdeStarter.kt)
    at com.intellij.idea.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:169)
    at com.intellij.idea.ApplicationLoader.access$initApplicationImpl(ApplicationLoader.kt:1)
    at com.intellij.idea.ApplicationLoader$initApplicationImpl$1.invokeSuspend(ApplicationLoader.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

-----
Your JRE: 17.0.5+1-b653.25 amd64 (JetBrains s.r.o.)
D:\JetBrains\apps\DataSpell\ch-0\223.8617.58\jbr
Edited by Ozupe
1

Hi, I installed IntelliJ IDEA Community edition last night via the Toolbox app and everything was fine.

Today when I tried opening it I was met with this error:

```

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:265)
    at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990)
    at java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1008)
    at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2364)
    at com.intellij.idea.StartupUtil.start(StartupUtil.java:264)
    at com.intellij.idea.Main.bootstrap(Main.java:119)
    at com.intellij.idea.Main.main(Main.java:81)
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:555)
    at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
    at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
    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:833)

-----
Your JRE: 17.0.4.1+7-b469.62 amd64 (JetBrains s.r.o.)
C:\Users\[REDACTED]\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\222.4345.14\jbr

```

Is there anything I can do besides reinstalling?

0

Hello, I encountered a bug when using clion today. The program was interrupted and exited during startup. Everything was normal before use

The system has not been updated or the clion has not been updated before

The current system is x86 Ubuntu 22.04

 

Yesterday, another computer (apple silicon arm64) was installed with 'arm64 clion for macOS'. When logging in to the account, the configuration was automatically pulled from the cloud. At the same time, some of the configuration might also be updated to the cloud,

In retrospect, the only change may be the configuration of automatic synchronization from the cloud (settings, shortcut keys, ui, etc.),

 

Will the automatic synchronization configuration affect the normal startup of the IDE? If so, how should computers of different architectures be configured synchronously (UI, plug-ins, etc.)

log as follow:

❯ ~/Softwares/clion2022
CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
2023-02-28 15:54:29,260 [ 111] WARN - #c.i.i.p.PluginManager - id redefinition ([row,col {unknown-source}]: [19,5])
2023-02-28 15:54:31,044 [ 1895] WARN - #c.i.o.f.i.FileTypeManagerImpl -
edu.umontreal.hatchery.xacro.ROSAcroFileFactory$AcroFileType@28e4dc24 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.xacro.ROSAcroFileFactory$AcroFileType) and
edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType@276f5b47 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType)
both have the same .getDisplayName(): 'XML'. Please override either one's getDisplayName() to something unique.
com.intellij.diagnostic.PluginException:
edu.umontreal.hatchery.xacro.ROSAcroFileFactory$AcroFileType@28e4dc24 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.xacro.ROSAcroFileFactory$AcroFileType) and
edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType@276f5b47 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType)
both have the same .getDisplayName(): 'XML'. Please override either one's getDisplayName() to something unique.
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkUnique(FileTypeManagerImpl.java:1466)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkFileTypeNamesUniqueness(FileTypeManagerImpl.java:1441)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.registerFileTypeWithoutNotification(FileTypeManagerImpl.java:1390)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.register(FileTypeManagerImpl.java:1736)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.consume(FileTypeManagerImpl.java:1704)
at edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory.createFileTypes(ROSLaunchFileFactory.kt:11)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.lambda$initStandardFileTypes$1(FileTypeManagerImpl.java:297)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:299)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:153)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initStandardFileTypes(FileTypeManagerImpl.java:295)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initializeComponent(FileTypeManagerImpl.java:579)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:131)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:46)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:581)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
at com.intellij.serviceContainer.BaseComponentAdapter.access$createInstance(BaseComponentAdapter.kt:19)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invokeSuspend(BaseComponentAdapter.kt:181)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceAsync(BaseComponentAdapter.kt:176)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsyncIfDefined(ComponentManagerImpl.kt:645)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:636)
at com.intellij.idea.ApplicationLoader$preloadCriticalServices$2.invokeSuspend(ApplicationLoader.kt:201)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-02-28 15:54:31,051 [ 1902] WARN - #c.i.o.f.i.FileTypeManagerImpl -
edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType@276f5b47 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType) and
edu.umontreal.hatchery.rospackage.ROSPackageFileFactory$ROSPackageFileType@3b259dc7 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.rospackage.ROSPackageFileFactory$ROSPackageFileType)
both have the same .getDisplayName(): 'XML'. Please override either one's getDisplayName() to something unique.
com.intellij.diagnostic.PluginException:
edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType@276f5b47 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.roslaunch.ROSLaunchFileFactory$RosLaunchFileType) and
edu.umontreal.hatchery.rospackage.ROSPackageFileFactory$ROSPackageFileType@3b259dc7 from 'PluginDescriptor(name=Hatchery, id=edu.umontreal.hatchery, descriptorPath=plugin.xml, path=~/Config/Jetbrains/clion/system/221.5080.169.plugins/hatchery, version=0.2.1, package=null, isBundled=false)' (class edu.umontreal.hatchery.rospackage.ROSPackageFileFactory$ROSPackageFileType)
both have the same .getDisplayName(): 'XML'. Please override either one's getDisplayName() to something unique.
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkUnique(FileTypeManagerImpl.java:1466)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkFileTypeNamesUniqueness(FileTypeManagerImpl.java:1441)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.registerFileTypeWithoutNotification(FileTypeManagerImpl.java:1390)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.register(FileTypeManagerImpl.java:1736)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.consume(FileTypeManagerImpl.java:1709)
at edu.umontreal.hatchery.rospackage.ROSPackageFileFactory.createFileTypes(ROSPackageFileFactory.kt:11)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.lambda$initStandardFileTypes$1(FileTypeManagerImpl.java:297)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:299)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:153)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initStandardFileTypes(FileTypeManagerImpl.java:295)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initializeComponent(FileTypeManagerImpl.java:579)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:131)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:46)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:581)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
at com.intellij.serviceContainer.BaseComponentAdapter.access$createInstance(BaseComponentAdapter.kt:19)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invokeSuspend(BaseComponentAdapter.kt:181)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceAsync(BaseComponentAdapter.kt:176)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsyncIfDefined(ComponentManagerImpl.kt:645)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:636)
at com.intellij.idea.ApplicationLoader$preloadCriticalServices$2.invokeSuspend(ApplicationLoader.kt:201)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-02-28 15:54:31,649 [ 2500] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
2023-02-28 15:54:31,661 [ 2512] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
2023-02-28 15:54:31,664 [ 2515] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
2023-02-28 15:54:31,684 [ 2535] WARN - #c.i.e.t.TargetBasedSdks - SDK target configuration data is absent
2023-02-28 15:54:31,715 [ 2566] WARN - #c.i.f.ProductivityFeaturesRegistryImpl - Feature with id 'codeassists.context.actions' is overridden by: id = [codeassists.context.actions], displayName = [Context actions], groupId = [codeassists], usageCount = [0]
2023-02-28 15:54:31,716 [ 2567] WARN - #c.i.f.ProductivityFeaturesRegistryImpl - Feature with id 'codeassists.generate.code' is overridden by: id = [codeassists.generate.code], displayName = [Generate code], groupId = [codeassists], usageCount = [0]
2023-02-28 15:54:31,716 [ 2567] WARN - #c.i.f.ProductivityFeaturesRegistryImpl - Feature with id 'codeassists.quickdefinition' is overridden by: id = [codeassists.quickdefinition], displayName = [Quick Definition lookup], groupId = [codeassists], usageCount = [0]
2023-02-28 15:54:33,366 [ 4217] WARN - #c.i.o.a.i.ActionUpdater - 435 ms to grab EDT for ActionGroupPanelWrapper$6#update@WelcomeScreen (WelcomeScreenActionsUtil$ToolbarTextButtonWrapper/com.intellij.openapi.wm.impl.welcomeScreen.ActionGroupPanelWrapper$6)
 
Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
 
java.lang.RuntimeException: Cannot invoke (class=AtomSettingsListener, method=appStarted, topic=AppLifecycleListener)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:639)
at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:395)
at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:374)
at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:433)
at jdk.proxy2/jdk.proxy2.$Proxy42.appStarted(Unknown Source)
at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:77)
at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.idea.IdeStarter.start$suspendImpl(IdeStarter.kt:70)
at com.intellij.idea.IdeStarter.start(IdeStarter.kt)
at com.intellij.idea.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:169)
at com.intellij.idea.ApplicationLoader.access$initApplicationImpl(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplicationImpl$1.invokeSuspend(ApplicationLoader.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.openapi.util.IconPathPatcher
at com.mallowigi.icons.services.IconPatchersManager.fixExperimentalUI(IconPatchersManager.kt:89)
at com.mallowigi.icons.services.IconPatchersManager.init(IconPatchersManager.kt:48)
at com.mallowigi.icons.AtomSettingsListener.initComponent(AtomSettingsListener.kt:66)
at com.mallowigi.icons.AtomSettingsListener.appStarted(AtomSettingsListener.kt:52)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:652)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:625)
... 21 more
 
-----
Your JRE: 17.0.5+1-b653.25 amd64 (JetBrains s.r.o.)
~/.local/share/JetBrains/Toolbox/apps/CLion/ch-1/223.8617.54/jbr
 
╭─   ~ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── took  8s  17.9.0  58.6G at  03:54:36 PM
╰─❯ ~/Softwares/clion2022  172.16.30.170 ⇣126 KiB/s ⇡6.15 KiB/s  100%
0

Liaozihang

Looks like a bug caused by the third-party plug-in (likely Atom Material File Icons). Remove it from the plugins directory. See https://intellij-support.jetbrains.com/hc/en-us/articles/206544519.

Settings sync itself should not cause issues unless it syncs a broken plug-in. 

1

I got the error in the code block below. This happened whenever I opened IntelliJ from the dock icon (it was opening the last opened projects). The fix was rather simple: instead of opening from the dock, I instead chose a project from the Toolbox -> Projects tab. This opened a specific project only rather than all those that were opened in the last run. Following this I was able to shutdown IntelliJ and reopen from the dock and all was fine. It's an irritating error and I would think a ClassCastException should definitely be fixable.

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

java.lang.ClassCastException: class com.intellij.openapi.wm.impl.IdeFrameImpl cannot be cast to class com.intellij.ide.MyProjectUiFrameManager (com.intellij.openapi.wm.impl.IdeFrameImpl and com.intellij.ide.MyProjectUiFrameManager are in unnamed module of loader com.intellij.util.lang.PathClassLoader @f5f2bb7)
    at com.intellij.ide.RecentProjectsManagerBase$openMultiple$3.invokeSuspend(RecentProjectsManagerBase.kt:547)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:194)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
    at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:456)
    at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
    at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
    at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:666)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:570)
    at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1446)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:570)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:994)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:994)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

-----
Your JRE: 17.0.6+10-b829.5 aarch64 (JetBrains s.r.o.)
/Users/kbreidenbach/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.2/IntelliJ IDEA 2023.1 EAP.app/Contents/jbr/Contents/Home
0

We DO need a separate tool to manage plugins' enabled/disabled state without running the whole IDE.

1

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

java.lang.RuntimeException: 无法调用 (class=aq, method=appFrameCreated, topic=AppLifecycleListener) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:639) at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:395) at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:374)



at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1) at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:433) at jdk.proxy1/jdk.proxy1.$Proxy 53.appFrameCreated(Unknown Source) at com.intellij.idea.IdeStarter.openProjectIfNeed$suspendImpl(IdeStarter.kt:91) at com.intellij.idea.IdeStarter.openProjectIfNeed(IdeStarter.kt)




at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:72) at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt) at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)




atcom.intellij.idea.IdeStarter.start$suspendImpl(IdeStarter.kt:70) at com.intellij.idea.IdeStarter.start(IdeStarter.kt) at com.intellij.idea.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:169) at com.intellij.idea.ApplicationLoader.access$initApplicationImpl(ApplicationLoader.kt:1) at com.intellij.idea.ApplicationLoader$initApplicationImpl$1.invokeSuspend(ApplicationLoader.kt)




at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)



at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)由: java.lang.NoClassDefFoundError: com/intellij/ide/util/PropertiesComponentImpl at fuck_you.ap.a(Unknown Source) at fuck_you.aq.appFrameCreated(Unknown Source) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:655)





at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:625)
...23 更多
由: java.lang.ClassNotFoundException: com.intellij.ide.util.PropertiesComponentImpl PluginClassLoader(plugin=PluginDescriptor(name=BetterIntelliJ, id=org.example.BetterIntelliJ, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\PyCharm2022.3\plugins\BetterIntelliJ-1.20.jar, version=1.20, package=null, isBundled=false), packagePrefix=null, instanceId=83, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:217) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)

...还有 27 个

-----
您的 JRE: 17.0.6+1-b653.34 amd64 (JetBrains s.r.o.)
D:\PyCharn\PyCharm 2022.3.3\jbr

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

java.lang.ClassCastException: class com.intellij.openapi.wm.impl.IdeFrameImpl cannot be cast to class com.intellij.ide.MyProjectUiFrameManager (com.intellij.openapi.wm.impl.IdeFrameImpl and com.intellij.ide.MyProjectUiFrameManager are in unnamed module of loader com.intellij.util.lang.PathClassLoader @f5f2bb7)
at com.intellij.ide.RecentProjectsManagerBase$openMultiple$3.invokeSuspend(RecentProjectsManagerBase.kt:547)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:194)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:456)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:666)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:570)
at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1446)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:570)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:994)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:994)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

-----
Your JRE: 17.0.6+10-b829.5 aarch64 (JetBrains s.r.o.)
/Users/penguin/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/231.8109.174/WebStorm.app/Contents/jbr/Contents/Home
Edited by Cheon Park
0

Please sign in to leave a comment.

Have more questions?

Submit a request