在我安裝新的Pycharm之后,打不開(kāi)了,系統(tǒng)報(bào)錯(cuò)如下:文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-524063.html
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.RuntimeException: Cannot invoke (class=ao, method=appFrameCreated, topic=AppLifecycleListener)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:657)
at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:415)
at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:394)
at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:454)
at jdk.proxy1/jdk.proxy1.$Proxy56.appFrameCreated(Unknown Source)
at com.intellij.idea.IdeStarter.openProjectIfNeeded$suspendImpl(IdeStarter.kt:89)
at com.intellij.idea.IdeStarter.openProjectIfNeeded(IdeStarter.kt)
at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:70)
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:67)
at com.intellij.idea.IdeStarter.start(IdeStarter.kt)
at com.intellij.idea.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:191)
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.NoClassDefFoundError: com/intellij/ide/util/PropertiesComponentImpl
at fuck_you.an.a(Unknown Source)
at fuck_you.ao.appFrameCreated(Unknown Source)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:680)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:644)
... 23 more
Caused by: java.lang.ClassNotFoundException: com.intellij.ide.util.PropertiesComponentImpl PluginClassLoader(plugin=PluginDescriptor(name=BetterIntelliJ, id=org.example.BetterIntelliJ, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/PyCharm2023.1/plugins/BetterIntelliJ, version=1.16, package=null, isBundled=false), packagePrefix=null, instanceId=85, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 27 more
-----
Your JRE: 17.0.6+10-b829.5 x86_64 (JetBrains s.r.o.)
/Applications/PyCharm.app/Contents/jbr/Contents/Home
可能是由于一個(gè)名為 “BetterIntelliJ” 的插件引起的。這個(gè)插件可能與當(dāng)前使用的 PyCharm 版本不兼容。為了解決這個(gè)問(wèn)題,嘗試以下步驟:
1.打開(kāi) Finder,然后按下 Cmd + Shift + G。
2.在彈出的“前往文件夾”窗口中,輸入 ~/Library/Application Support/JetBrains/PyCharm2023.1/plugins/,然后點(diǎn)擊 “前往”。
3.在打開(kāi)的文件夾中找到 “BetterIntelliJ” 文件夾,并將其移動(dòng)到桌面或其他位置(以便在需要時(shí)恢復(fù)它)。
4.重啟 PyCharm。
由于是使用Mac系統(tǒng),所以路徑指令按照Mac來(lái)進(jìn)行
接下來(lái)便解決了這個(gè)問(wèn)題~文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-524063.html
到了這里,關(guān)于PyCharm更新后打開(kāi)報(bào)錯(cuò)Internal error. Please refer to https://jb.gg/ide/critical-startup-errors的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!