easy-yapi
easy-yapi copied to clipboard
[Bug] PyCharm启动失败
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.RuntimeException: Cannot invoke (class=aq, method=appFrameCreated, topic=AppLifecycleListener) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676) at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:422) at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:401) at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1) at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:460) at jdk.proxy2/jdk.proxy2.$Proxy51.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:69) 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:78) at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264) at com.intellij.idea.IdeStarter.start$suspendImpl(IdeStarter.kt:66) at com.intellij.idea.IdeStarter.start(IdeStarter.kt) at com.intellij.ide.bootstrap.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:90) at com.intellij.ide.bootstrap.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: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.NoClassDefFoundError: com/intellij/ide/util/PropertiesComponentImpl at fuck_you.ap.a(Unknown Source) at fuck_you.aq.appFrameCreated(Unknown Source) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:699) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:663) ... 22 more Caused by: java.lang.ClassNotFoundException: com.intellij.ide.util.PropertiesComponentImpl at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:224) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ... 26 more
Your JRE: 17.0.9+7-b1000.46 amd64 (JetBrains s.r.o.) D:\jet-idea-pycharm\PyCharm Professional\jbr
Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.
Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.
那我应该怎么做呢
Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.
So what should I do?
If PyCharm cannot start due to the installation of easy-yapi, you can go to PyCharm's installation directory, find the plugins folder, and delete the easy-yapi plugin from there. After doing so, you should be able to start PyCharm.
If PyCharm cannot start due to the installation of easy-yapi, you can go to PyCharm's installation directory, find the plugins folder, and delete the easy-yapi plugin from there. After doing so, you should be able to start PyCharm.
There doesn't seem to be that plugin in there
Interesting. It appears that PyCharm uses a separate directory for user-installed plugins.
On my device, these plugins are located at '~/Library/Application Support/JetBrains/PyCharm2023.2/plugins'.
In Windows, the corresponding path may be 'C:\Users<YourUsername>\AppData\Roaming\JetBrains\PyCharm
Interesting. It appears that PyCharm uses a separate directory for user-installed plugins. On my device, these plugins are located at '~/Library/Application Support/JetBrains/PyCharm2023.2/plugins'. In Windows, the corresponding path may be 'C:\Users<YourUsername>\AppData\Roaming\JetBrains\PyCharm\plugins'.
There is still none
I tried installing the plugin on Windows, and I find it here:
I tried installing the plugin on Windows, and I find it here:
![]()
Is it possible that there are other reasons why pycharm cannot be started?
I reported this error when the tool was launched on the right
- I'm unsure if easy-yapi is the only plugin you've installed recently. If you've added others, they could be causing compatibility issues, so consider disabling them to see if it solves the issue.
- Issues can sometimes arise from configuration files or caches. Consider resetting your PyCharm settings or clearing caches.
Alternatively, installing a different version of PyCharm could help determine if the issue lies within PyCharm itself. If no other solutions work, reinstalling PyCharm could resolve the issue, although this may result in the loss of some configurations.
- I'm unsure if easy-yapi is the only plugin you've installed recently. If you've added others, they could be causing compatibility issues, so consider disabling them to see if it solves the issue.
- Issues can sometimes arise from configuration files or caches. Consider resetting your PyCharm settings or clearing caches.
Alternatively, installing a different version of PyCharm could help determine if the issue lies within PyCharm itself. If no other solutions work, reinstalling PyCharm could resolve the issue, although this may result in the loss of some configurations.
I deleted the old version of the original, and then downloaded the latest version and it was ready to start
Thank you for your reply