Start Failed, Internal error: recovering IDE to the working state after the critical startup error
Symptoms
IDE shows the Start Failed dialog with the exception stacktrace and the following text:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
Cause
There are multiple possible causes for this issue: broken or incompatible plug-in, corrupted IDE installation files, failed patch update, broken caches or damaged configuration.
It may be hard to guess the root case from the exception stacktrace.
Resolution
Please try the following steps one by one until the issue is resolved:
- In case of "java.nio.file.AccessDeniedException: ...plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe", please see this Copilot discussion and the corresponding issue.
- If you get "java.net.BindException: Address already in use: bind" exception, please refer to IDEA-238995 for the workaround.
- Delete the third-party plug-ins directory (
idea.plugins.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. - Download and install the IDE again, either from the official site or using the Toolbox App. Your settings and projects will be preserved. When installing from .tar.gz on Linux make sure to unpack into the new empty directory, not on the top of the existing installation.
- Delete the IDE system (
idea.system.path
) directory. - In most cases the issue should be already resolved, but if the IDE still doesn't start with the same error dialog, you can also try to backup and delete the configuration directory (
idea.config.path
). - Contact support with the full exception stacktrace (you can copy/paste it from the error dialog).
Feedback
We'd appreciate if you report all such issues to the support team or directly to the issue tracker. We are trying to eliminate the root cases and make the IDE recovery process more seamless.
Please sign in to leave a comment.
Serge Baranov Does this apply to pycharm as well?
Vitmuha Same as above, for PhpStorm, please edit
options/laf.xml
file in the config folder: https://www.jetbrains.com/help/phpstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory. See https://youtrack.jetbrains.com/issue/IDEA-339511/IC-241.4292-doesnt-start-up-on-Linux#focus=Comments-27-8511651.0-0 for more information.NicoLoubet Yes, it applies to all products.
java.lang.NullPointerException
at com.intellij.ide.ui.laf.LafManagerImpl.initInEdt(LafManagerImpl.kt:189)
at com.intellij.ide.ui.laf.LafManagerImpl.access$initInEdt(LafManagerImpl.kt:94)
at com.intellij.ide.ui.laf.LafManagerImpl$applyInitState$2.invokeSuspend(LafManagerImpl.kt:183)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
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:761)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:321)
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.9+7-b1087.7 amd64 (JetBrains s.r.o.)
/snap/webstorm/348/jbr
Anton Kiselevych See https://youtrack.jetbrains.com/issue/IDEA-339511/IC-241.4292-doesnt-start-up-on-Linux#focus=Comments-27-8511651.0-0. For WebStorm edit
options/laf.xml
file under the config directory: https://www.jetbrains.com/help/webstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory.For anyone with this startup issue:
or this one:
Please see https://youtrack.jetbrains.com/issue/IDEA-340108 for the workaround and attach your original
options/laf.xml
file to the linked ticket before modifying it.New error mode.
Solved the issue by removing `com.intellij.database` from `disabled_plugins.txt`.
Error message face during startup:
since 2023.3 i keep get statup errors.
I tried to upgrade to the latest version and also to the early access program version but that also didn't fixed the issue.
Had to downgrade to 2323.2.4 to make it work again.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: null [Plugin: com.jetbrains.codeWithMe]
at com.intellij.serviceContainer.InstantiateKt.instantiateWithContainer(instantiate.kt:25)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:26)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance(ServiceInstanceInitializer.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:44)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext$suspendImpl(LazyInstanceHolder.kt:87)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext(LazyInstanceHolder.kt)
at com.intellij.serviceContainer.ComponentManagerImplKt$getOrCreateInstanceBlocking$3.invokeSuspend(ComponentManagerImpl.kt:2337)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
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.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:2406)
at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:2397)
at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:86)
at com.intellij.serviceContainer.ComponentManagerImplKt.runBlockingInitialization(ComponentManagerImpl.kt:2397)
at com.intellij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:2336)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:1057)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:988)
at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:29)
at cc.takacs.php_codeverage_display.ApplicationPlugin.initComponent(ApplicationPlugin.java:16)
at com.intellij.serviceContainer.ComponentInstanceInitializer.createInstance$suspendImpl(ComponentInstanceInitializer.kt:27)
at com.intellij.serviceContainer.ComponentInstanceInitializer.createInstance(ComponentInstanceInitializer.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:44)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext$suspendImpl(LazyInstanceHolder.kt:87)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstanceInCallerContext(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.UtilKt.preloadAllInstances(util.kt:47)
at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask2$1.invokeSuspend(ComponentManagerImpl.kt:628)
at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask2$1.invoke(ComponentManagerImpl.kt)
at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask2$1.invoke(ComponentManagerImpl.kt)
at com.intellij.platform.ide.bootstrap.AppServicePreloadingKt$postAppRegistered$3$1.invokeSuspend(appServicePreloading.kt:176)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
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:761)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:321)
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)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$4.invoke(instantiate.kt:74)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$4.invoke(instantiate.kt:72)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:278)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:72)
at com.intellij.serviceContainer.InstantiateKt.instantiateWithContainer(instantiate.kt:19)
... 81 more
Caused by: com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Access from Event Dispatch Thread (EDT) is not allowed; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[AWT-EventQueue-0,6,main] 8556740 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:149)
at com.intellij.util.concurrency.ThreadingAssertions.throwThreadAccessException(ThreadingAssertions.java:143)
at com.intellij.util.concurrency.ThreadingAssertions.assertBackgroundThread(ThreadingAssertions.java:76)
at com.intellij.openapi.application.impl.ApplicationImpl.assertIsNonDispatchThread(ApplicationImpl.java:1033)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(ActionManagerImpl.kt:127)
at com.jetbrains.rdserver.ui.actionPopupMenu.BackendActionManager.<init>(BackendActionManager.kt:17)
... 91 more
-----
Your JRE: 17.0.9+7-b1087.7 amd64 (JetBrains s.r.o.)
Please try to remove the contents in the plugins directory.
Did not boot my PhpStorm 2023.3.2 on Ubuntu 22.04.3 LTS because of the codeWithMe plugin. All I had to do was install another instance of Storm to fix the error.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: Fatal error initializing 'com.jetbrains.rider.protocol.ProtocolManagerInitializer' [Plugin: com.intellij]
at com.intellij.serviceContainer.ComponentManagerImpl.handleInitComponentError$intellij_platform_serviceContainer(ComponentManagerImpl.kt:612)
at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:59)
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.getInstance(BaseComponentAdapter.kt:92)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:77)
at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:428)
at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:426)
at com.intellij.idea.ApplicationLoader$initApplicationImpl$appInitializedListeners$1$1$2$1.invokeSuspend(ApplicationLoader.kt:161)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
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.dispatchEvent(IdeEventQueue.kt:302)
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)
Caused by: java.lang.IllegalStateException: No protocolHost for the application
at com.jetbrains.rider.protocol.ApplicationProtocolKt.M(ApplicationProtocol.kt:41)
at com.jetbrains.rider.protocol.ApplicationProtocolKt.getProtocolManager(ApplicationProtocol.kt:15)
at com.jetbrains.rider.protocol.ProtocolManagerInitializer.<init>(ProtocolManager.kt:68)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:54)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1041)
at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:36)
... 25 more
-----
Your JRE: 17.0.7+10-b829.16 amd64 (JetBrains s.r.o.)
E:\Rider\JetBrains Rider 2023.1.4\jbr
Berry Schmiege Hi, your issue might be related to https://youtrack.jetbrains.com/issue/RIDER-96605 or https://youtrack.jetbrains.com/issue/RIDER-98878.
Do you have any VPN enabled? If yes, try to disable it to see if you could start the IDE now.
If you still can't launch it, open File explorer, enter %LOCALAPPDATA%\JetBrains\ in path bar, press Enter to go there. Zip the related Rider log folder (Rider<version>\log) here, upload it here https://uploads.jetbrains.com/ and share us the upload id for investigation.
Upload id: 2024_01_11_hQ9gmex4ze87mkzyaK3hwJ (file: log.rar)
Even if I turn off my vpn there's no way to launch the software. I need help
From the log, I saw the below exception.
Rider fails to create a file in c:\Windows\Temp. This folder is Windows temp folder, and your current user should be able to access/write files in it.
Please fix the c:\Windows\Temp folder permission so you can create files in it. You could try to create files in the file explorer to test it.
After it, you should be able to start Rider now.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: VFS can't be initialized (3 attempts failed) [Plugin: com.intellij]
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:53)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance(ServiceInstanceInitializer.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:44)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance$suspendImpl(LazyInstanceHolder.kt:83)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.InstanceContainerImpl.instance(InstanceContainerImpl.kt:67)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:695)
at com.intellij.platform.ide.bootstrap.AppServicePreloadingKt$preloadCriticalServices$managingFsJob$1$1.invokeSuspend(appServicePreloading.kt:228)
at com.intellij.platform.ide.bootstrap.AppServicePreloadingKt$preloadCriticalServices$managingFsJob$1$1.invoke(appServicePreloading.kt)
at com.intellij.platform.ide.bootstrap.AppServicePreloadingKt$preloadCriticalServices$managingFsJob$1$1.invoke(appServicePreloading.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.platform.ide.bootstrap.AppServicePreloadingKt$preloadCriticalServices$managingFsJob$1.invokeSuspend(appServicePreloading.kt:48)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Caused by: java.lang.RuntimeException: VFS can't be initialized (3 attempts failed)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:105)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.connect(PersistentFSConnector.java:61)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.connect(FSRecordsImpl.java:289)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:119)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:99)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.doConnect(PersistentFSImpl.java:198)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.connect(PersistentFSImpl.java:160)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.<init>(PersistentFSImpl.java:138)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:49)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt$instantiate$2.invoke(instantiate.kt:42)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:308)
at com.intellij.platform.instanceContainer.instantiation.InstantiateKt.instantiate(instantiate.kt:42)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:31)
... 38 more
Suppressed: [UNRECOGNIZED]: VFS init failure of unrecognized category: java.io.IOException: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/records.dat]: fileSize(=6053888 b) is not page(=67108864 b)-aligned
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:282)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:79)
... 51 more
Caused by: java.io.IOException: java.io.IOException: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/records.dat]: fileSize(=6053888 b) is not page(=67108864 b)-aligned
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$static$3(PersistentFSLoader.java:93)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:228)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.initializeStorages(PersistentFSLoader.java:229)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:182)
... 52 more
Suppressed: java.util.concurrent.CompletionException: java.io.IOException: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/records.dat]: fileSize(=6053888 b) is not page(=67108864 b)-aligned
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$12(PersistentFSLoader.java:238)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:217)
... 54 more
Caused by: java.io.IOException: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/records.dat]: fileSize(=6053888 b) is not page(=67108864 b)-aligned
at com.intellij.util.io.dev.mmapped.MMappedFileStorageFactory.open(MMappedFileStorageFactory.java:89)
at com.intellij.util.io.dev.mmapped.MMappedFileStorageFactory.open(MMappedFileStorageFactory.java:18)
at com.intellij.util.io.dev.StorageFactory.wrapStorageSafely(StorageFactory.java:31)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSRecordsStorageFactory.createStorage(PersistentFSRecordsStorageFactory.kt:82)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createRecordsStorage(PersistentFSLoader.java:755)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$7(PersistentFSLoader.java:195)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1$1.invoke(PersistentFsConnectorHelper.kt:40)
at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321)
at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:197)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1.invokeSuspend(PersistentFsConnectorHelper.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
... 4 more
Suppressed: java.util.concurrent.CompletionException: java.lang.AssertionError: Bug: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/attributes.dat].channelSize(=6154240) is not pageSize(=16777216)-aligned
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$14(PersistentFSLoader.java:244)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:217)
... 54 more
Caused by: java.lang.AssertionError: Bug: [/Users/dd/Library/Caches/JetBrains/IntelliJIdea2024.1/caches/attributes.dat].channelSize(=6154240) is not pageSize(=16777216)-aligned
at com.intellij.util.io.dev.mmapped.MMappedFileStorage.actualFileSize(MMappedFileStorage.java:201)
at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageOverMMappedFile.<init>(StreamlinedBlobStorageOverMMappedFile.java:69)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$createAttributesStorage_makeStorage$17(PersistentFSLoader.java:634)
at com.intellij.util.io.dev.StorageFactory.lambda$wrapStorageSafely$0(StorageFactory.java:32)
at com.intellij.util.io.IOUtil.wrapSafely(IOUtil.java:501)
at com.intellij.util.io.dev.StorageFactory.wrapStorageSafely(StorageFactory.java:30)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createAttributesStorage_makeStorage(PersistentFSLoader.java:632)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createAttributesStorage(PersistentFSLoader.java:587)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$5(PersistentFSLoader.java:192)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1$1.invoke(PersistentFsConnectorHelper.kt:40)
at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321)
at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:197)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1.invokeSuspend(PersistentFsConnectorHelper.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
... 4 more
Suppressed: java.util.concurrent.CompletionException: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$15(PersistentFSLoader.java:247)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:217)
... 54 more
Caused by: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.dev.VFSContentStorageOverMMappedFile.<init>(VFSContentStorageOverMMappedFile.java:81)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage_makeStorage(PersistentFSLoader.java:704)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage(PersistentFSLoader.java:689)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$6(PersistentFSLoader.java:194)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1$1.invoke(PersistentFsConnectorHelper.kt:40)
at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321)
at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:197)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1.invokeSuspend(PersistentFsConnectorHelper.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
... 4 more
Suppressed: [UNRECOGNIZED]: VFS init failure of unrecognized category: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:282)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:79)
... 51 more
Caused by: java.io.IOException: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$static$3(PersistentFSLoader.java:93)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:228)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.initializeStorages(PersistentFSLoader.java:229)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:182)
... 52 more
Suppressed: java.util.concurrent.CompletionException: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$15(PersistentFSLoader.java:247)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:217)
... 54 more
Caused by: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.dev.VFSContentStorageOverMMappedFile.<init>(VFSContentStorageOverMMappedFile.java:81)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage_makeStorage(PersistentFSLoader.java:704)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage(PersistentFSLoader.java:689)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$6(PersistentFSLoader.java:194)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1$1.invoke(PersistentFsConnectorHelper.kt:40)
at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321)
at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:197)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1.invokeSuspend(PersistentFsConnectorHelper.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
... 4 more
Suppressed: [UNRECOGNIZED]: VFS init failure of unrecognized category: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:282)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:79)
... 51 more
Caused by: java.io.IOException: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$static$3(PersistentFSLoader.java:93)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:228)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.initializeStorages(PersistentFSLoader.java:229)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:182)
... 52 more
Suppressed: java.util.concurrent.CompletionException: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$15(PersistentFSLoader.java:247)
at com.intellij.util.ExceptionUtil.runAllAndRethrowAllExceptions(ExceptionUtil.java:217)
... 54 more
Caused by: java.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=102398976b), otherwise large content can't fit
at com.intellij.openapi.vfs.newvfs.persistent.dev.VFSContentStorageOverMMappedFile.<init>(VFSContentStorageOverMMappedFile.java:81)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage_makeStorage(PersistentFSLoader.java:704)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.createContentStorage(PersistentFSLoader.java:689)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSLoader.lambda$initializeStorages$6(PersistentFSLoader.java:194)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1$1.invoke(PersistentFsConnectorHelper.kt:40)
at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321)
at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:197)
at com.intellij.openapi.vfs.newvfs.persistent.ExecuteOnCoroutine$async$1.invokeSuspend(PersistentFsConnectorHelper.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
... 4 more
-----
Your JRE: 17.0.9+8-b1162.7 aarch64 (JetBrains s.r.o.)
/Users/dd/Applications/IntelliJ IDEA Ultimate.app/Contents/jbr/Contents/Home
@Accfcx This issue will be fixed in the next EAP version. As a workaround currently, please change customized `idea.max.intellisense.filesize` and `idea.max.content.load.filesize` properties below `67108864`. These properties are stored in the IDE_config_folder/idea.properties and you can change it there.
i try to run my project but i got this Error and i do not know how can i fix it
RenderJob.run: internal exception
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4165)
at java.base/java.util.Collections$UnmodifiableList.get(Collections.java:1347)
at com.sun.glass.ui.Screen.getMainScreen(Screen.java:59)
at com.sun.prism.es2.ES2Pipeline.getScreenForAdapter(ES2Pipeline.java:146)
at com.sun.prism.es2.ES2Pipeline.findDefaultResourceFactory(ES2Pipeline.java:157)
at com.sun.prism.es2.ES2Pipeline.getDefaultResourceFactory(ES2Pipeline.java:178)
at com.sun.prism.GraphicsPipeline.getDefaultResourceFactory(GraphicsPipeline.java:151)
at com.sun.javafx.tk.quantum.QuantumRenderer.lambda$createResourceFactory$2(QuantumRenderer.java:163)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:126)
at java.base/java.lang.Thread.run(Thread.java:833)
Mervanalomar8
It's not related to IntelliJ IDEA startup issues. Please post your question at https://stackoverflow.com/ or some other resource.
Also seeing:
Created IDEA-347298 Critical Startup Error when running `idea format`
Joe Clark
Please see https://youtrack.jetbrains.com/issue/IDEA-293738/formatter-with-.editorconfig-com.intellij.openapi.options.SchemeImportException#focus=Comments-27-6117974.0-0. The command line expects the IDE settings XML file, not editorconfig.
If someone gets the situation i had recently:
Running using toolbox: immediately crashes after start (without any crash windows).
Opening any .py file with PyCharm causes this:
“java.lang.IndexOutOfBoundsException”
What helped:
1. Removing of `%LOCALAPPDATA%\JetBrains\PyCharm2023.3`
2. After the window with opening of recent projects (or creating new) will appear - updating of all plugins that need to be updated.
3. And only after the plugins were updated and ‘restart IDE’ was pressed - the PyCharm had started correctly
The IDE failed to install or update some plugins. 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: C:\Users\huawei\AppData\Roaming\JetBrains\PyCharm2023.3\plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe
Julian Yu Please see https://github.com/orgs/community/discussions/17298. Report such issues at https://github.com/community/community/discussions/categories/copilot.
The IDE failed to install or update some plugins.
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: C:\Users\B047886\AppData\Roaming\JetBrains\IntelliJIdea2023.3\plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe
Prior updates of the plugin worked fine, I did not change anything. Now the update gives me this error after restart of IntelliJ. You know why?
UPDATE:
I simply deleted the github-copilot-intellij folder and installed it again. Now it works again.
Akan Yilmaz Please see my comment just above yours.
java.lang.AssertionError: kotlinx.coroutines.JobCancellationException: Parent job is Cancelling; job=DispatchedCoroutine{Cancelling}@4ade1d3a
at com.intellij.util.EnvironmentUtil.getEnvironmentMap(EnvironmentUtil.java:98)
at com.intellij.util.EnvironmentUtil.getValue(EnvironmentUtil.java:192)
at com.intellij.ide.D.C.EZ.E(EZ.java:146)
at com.intellij.ide.D.C.W.W(W.java:219)
at com.intellij.ide.D.C.Ep.E(Ep.java:194)
at com.intellij.ide.D.C.Eh.E(Eh.java:337)
at com.intellij.ide.D.C.Eh.E(Eh.java:203)
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.invokeSuspend(D.java:60)
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.E(D.java)
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.invoke(D.java)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.idea.MainImpl.start(MainImpl.kt:59)
at com.intellij.idea.StartupUtil$startApplication$8$2.invokeSuspend(StartupUtil.kt:332)
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:280)
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 kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.intellij.idea.Main.main(Main.kt:50)
Suppressed: java.lang.IllegalStateException: Recursive update
at java.base/java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1167)
at java.base/java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1102)
at com.intellij.util.messages.impl.MessageBusImpl.notifyOnSubscription$intellij_platform_core(MessageBusImpl.kt:224)
at com.intellij.util.messages.impl.BaseBusConnection.subscribe(BaseBusConnection.kt:43)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.<init>(EditorColorsManagerImpl.java:125)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.<init>(EditorColorsManagerImpl.java:107)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:63)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1011)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:43)
at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:158)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:137)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:94)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:676)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:630)
at com.intellij.openapi.editor.colors.EditorColorsManager.getInstance(EditorColorsManager.java:20)
at com.vermouthx.xcodetheme.listeners.XcTThemeChangeListener.<init>(XcTThemeChangeListener.java:13)
at com.intellij.serviceContainer.ComponentManagerImpl.doInstantiateClass(ComponentManagerImpl.kt:962)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:954)
at com.intellij.serviceContainer.ComponentManagerImpl.createListener(ComponentManagerImpl.kt:1043)
at com.intellij.util.messages.impl.CompositeMessageBus.subscribeLazyListeners$lambda$3(CompositeMessageBus.kt:123)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:64)
at com.intellij.util.messages.impl.CompositeMessageBus.subscribeLazyListeners(CompositeMessageBus.kt:117)
at com.intellij.util.messages.impl.CompositeMessageBus.doComputeSubscribers$intellij_platform_core(CompositeMessageBus.kt:93)
at com.intellij.util.messages.impl.MessageBusImpl.computeSubscribers$intellij_platform_core(MessageBusImpl.kt:217)
at com.intellij.util.messages.impl.CompositeMessageBus.computeSubscribers$intellij_platform_core(CompositeMessageBus.kt:88)
at com.intellij.util.messages.impl.MessagePublisher$publish$handlers$1.invoke(MessageBusImpl.kt:466)
at com.intellij.util.messages.impl.MessagePublisher$publish$handlers$1.invoke(MessageBusImpl.kt:466)
at com.intellij.util.messages.impl.MessagePublisher.publish$lambda$0(MessageBusImpl.kt:466)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at com.intellij.util.messages.impl.MessagePublisher.publish$intellij_platform_core(MessageBusImpl.kt:466)
at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:448)
at jdk.proxy2/jdk.proxy2.$Proxy33.lookAndFeelChanged(Unknown Source)
at com.intellij.ide.ui.laf.LafManagerImpl.notifyLookAndFeelChanged(LafManagerImpl.kt:922)
at com.intellij.ide.ui.laf.LafManagerImpl.updateUI$lambda$14(LafManagerImpl.kt:896)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:478)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:121)
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:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
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:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:589)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:589)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
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)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(com.intellij.ide.ui.html.GlobalStyleSheetHolder$UpdateService), StandaloneCoroutine{Cancelled}@6ac57ab7, Dispatchers.Default]
Caused by: kotlinx.coroutines.JobCancellationException: Parent job is Cancelling; job=DispatchedCoroutine{Cancelled}@4ade1d3a
Caused by: [CIRCULAR REFERENCE: java.lang.IllegalStateException: Recursive update]
-----
Your JRE: 17.0.8+7-b1000.22 x86_64 (JetBrains s.r.o.)
/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home
@Manypeoplecontactme Try to delete the third-party plug-ins directory to see if it helps. You can backup this folder before deleting.
When updating the GitHub Copilot (1.5.0.5148 -> 1.5.1.5285) plugin in PyCharm Professional 2023.3.5, the following error message is displayed.
The IDE failed to install or update some plugins.
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: C:\Users\eedsp\AppData\Roaming\JetBrains\PyCharm2023.3\plugins\github-copilot-intellij\copilot-agent\bin\copilot-agent-win.exe
Shiwon Cho Please see https://github.com/orgs/community/discussions/17298 for possible solutions.
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.ide.plugins.EssentialPluginMissingException: Missing essential plugins: JavaScript, com.intellij.css
at com.intellij.ide.plugins.PluginManagerCore.checkEssentialPluginsAreAvailable(PluginManagerCore.kt:561)
at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.kt:628)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invokeSuspend(PluginManagerCore.kt:814)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invoke(PluginManagerCore.kt)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invoke(PluginManagerCore.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
at com.intellij.idea.Main$startApp$2$1$1.span(Main.kt:90)
at com.intellij.diagnostic.CoroutineTracerShim.span$default(CoroutineTracerShim.kt:31)
at com.intellij.ide.plugins.PluginManagerCore.initializeAndSetPlugins$intellij_platform_core_impl(PluginManagerCore.kt:813)
at com.intellij.ide.plugins.PluginDescriptorLoader$scheduleLoading$pluginSetDeferred$1.invokeSuspend(PluginDescriptorLoader.kt:409)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
-----
Your JRE: 17.0.10+1-b1087.23 aarch64 (JetBrains s.r.o.)
/Applications/WebStorm.app/Contents/jbr/Contents/Home