目前我退回 2022.3.3 ,可以正常使用
2023.2.2 启动报错,
我尝试过关闭代理、删除缓存、删除插件、删除旧配置。当我看到这个 issue 后,意识到可能有不少人有这个问题,切换到旧版本可能比较好。
https://youtrack.jetbrains.com/issue/IDEA-332929
报错如下:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.IllegalArgumentException: nameId is invalid: fileId=446545, parentId=0, nameId=0
at com.intellij.openapi.vfs.newvfs.ChildInfoImpl.<init>(ChildInfoImpl.java:54)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSTreeAccessor.doLoadChildren(PersistentFSTreeAccessor.java:115)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.list(FSRecordsImpl.java:498)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.update(FSRecordsImpl.java:530)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:256)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:509)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:154)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:137)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:83)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.refreshAndFindChild(VirtualDirectoryImpl.java:349)
at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:117)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:132)
at com.intellij.openapi.vfs.LocalFileSystem.refreshAndFindFileByNioFile(LocalFileSystem.java:50)
at com.intellij.ide.CommandLineProcessor.doOpenFile(CommandLineProcessor.kt:99)
at com.intellij.ide.CommandLineProcessor.doOpenFileOrProject(CommandLineProcessor.kt:87)
at com.intellij.ide.CommandLineProcessor$doOpenFileOrProject$1.invokeSuspend(CommandLineProcessor.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: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)