Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.NullPointerException
at com.intellij.idea.SocketLockKt.readStringSequence(SocketLock.kt:274)
at com.intellij.idea.SocketLockKt.tryActivate(SocketLock.kt:207)
at com.intellij.idea.SocketLockKt.access$tryActivate(SocketLock.kt:1)
at com.intellij.idea.SocketLock.lockAndTryActivate(SocketLock.kt:114)
at com.intellij.idea.StartupUtil$lockSystemDirs$1.invokeSuspend(StartupUtil.kt:863)
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+1-b653.25 amd64 (JetBrains s.r.o.)
D:\Program Files\IntelliJ IDEA 2022.3.2\jbr
1、免重启方案
用管理员权限打开cmd,执行以下命令
net stop winnat
net start winnat
2、重启方案
用管理员权限打开cmd,执行以下命令
netsh winsock reset