记录一个小问题
问题:pycharm 安装插件后突然打不开了
1.背景:
1.1 2023.21版本
1.2 win系统
在这里插入代码片Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: Fatal error initializing 'com.jiyuanime.ActivatePowerModeApplicationPlugin
' [Plugin: com.jiyuanime.ActivatePowerModeApplicationPlugin]
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:392)
at com.intellij.serviceContainer.ComponentManagerImpl.access$registerComponents(ComponentManagerImpl.kt:73)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:258)
at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:48)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invokeSuspend(appPreInit.kt:41)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invoke(appPreInit.kt)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invoke(appPreInit.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.diagnostic.TracerKt.subtask(tracer.kt:45)
at com.intellij.diagnostic.TracerKt.subtask$default(tracer.kt:34)
at com.intellij.ide.bootstrap.AppPreInitKt.initServiceContainer(appPreInit.kt:40)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$1.invokeSuspend(appPreInit.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:270)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
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)
Caused by: java.lang.ClassNotFoundException: com.jiyuanime.ActivatePowerModeApplicationPlugin
PluginClassLoader(plugin=PluginDescriptor(name=activate-power-mode, id=com.jiyuanime.ActivatePowerModeApplicationPlugin, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\PyCharm2023.2\plugins\activate-power-mode_v0.1.8.jar, version=0.1.8, package=null, isBundled=false), packagePrefix=null, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:156)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponent(ComponentManagerImpl.kt:513)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:372)
... 22 more
-----
Your JRE: 17.0.8+7-b1000.8 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\PyCharm 2023.2.1\jbr
2.解决方案:
2.1.尝试问GPT (有一点用)
2.2 重装软件 修改端口 禁用沙盒 等等(无效)
3.3 百度刷文章 (有效)
3.解决问题
c盘搜索文件 activate-power-mode_v0.1.8.jar 最直接问题就是他 将他删除就ok了
4:建议
看一看软件报错提示信息
参考资料:
https://blog.csdn.net/vicosna/article/details/114279589
https://blog.csdn.net/jineeq/article/details/131874809