Can't start IDEA 2024.1 EAP
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.lang.IllegalStateException: PageSize(=67108864) must be > FileUtilRt.LARGE_FOR_CONTENT_LOADING(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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(=2147483647b), 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 amd64 (JetBrains s.r.o.)
C:\Users\louieawang\AppData\Local\Programs\IntelliJ IDEA Community Edition 3\jbr
Please sign in to leave a comment.
The same happens for GoLand2024.1 and deleting the corresponding cache doesn't help.
The related bug report is here: https://youtrack.jetbrains.com/issue/IDEA-343701
Adding
-Dvfs.content-storage.impl=over-lock-free-page-cache
in the .vmoptions file per https://intellij-support.jetbrains.com/hc/en-us/articles/206544869 could be a workaround. Please try it.Hi, @Hans-dieter @Wangfeng930618 Have you configured
idea.max.intellisense.filesize
andidea.max.content.load.filesize
properties before? It seems that you have custom these with a very large value and trigger this issue. See here for details: https://youtrack.jetbrains.com/issue/IDEA-343701/com.intellij.diagnostic.PluginException-VFS-cant-be-initialized-IllegalStateException-from-VFSContentStorageOverMMappedFile#focus=Comments-27-8869076.0-0Lejia Chen Great, thanks a lot, worked out of the box!