安装最新版Pycharm报错(fuck_the_regulations_v320.ba)

刚重新安装了pycharm到最新版本2023.1,但是一打开就报错。

Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

com.intellij.diagnostic.PluginException: Fatal error initializing 'fuck_the_regulations_v320.ba' [Plugin: io.zhile.crack.jetbrains.agent]
    at com.intellij.serviceContainer.ComponentManagerImpl.handleInitComponentError$intellij_platform_serviceContainer(ComponentManagerImpl.kt:612)
    at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:59)
    at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
    at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
    at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
    at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
    at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)
    at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:77)
    at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:428)
    at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:426)
    at com.intellij.idea.ApplicationLoader$initApplicationImpl$appInitializedListeners$1$1$2$1.invokeSuspend(ApplicationLoader.kt:161)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:302)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.ExceptionInInitializerError
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at fuck_the_regulations_v320.us.f(Unknown Source)
    at fuck_the_regulations_v320.us.W(Unknown Source)
    at fuck_the_regulations_v320.us.q(Unknown Source)
    at fuck_the_regulations_v320.ba.uf(ba.java)
    at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:92)
    at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
    at fuck_the_regulations_v320.ba.a(ba.java)
    at fuck_the_regulations_v320.ba.(ba.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:54)
    at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1041)
    at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:36)
    ... 25 more
Caused by: java.util.ConcurrentModificationException: java.lang.ClassNotFoundException: com.licel.b.z@ PluginClassLoader(plugin=PluginDescriptor(name=jetbrains-agent, id=io.zhile.crack.jetbrains.agent, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\PyCharm2023.1\plugins\jetbrains-agent.jar, version=3.2.0, package=null, isBundled=false), packagePrefix=null, instanceId=14, state=active)
    at fuck_the_regulations_v320.eM.(eM.java)
    ... 45 more
Caused by: java.lang.ClassNotFoundException: com.licel.b.z@ PluginClassLoader(plugin=PluginDescriptor(name=jetbrains-agent, id=io.zhile.crack.jetbrains.agent, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\PyCharm2023.1\plugins\jetbrains-agent.jar, version=3.2.0, package=null, isBundled=false), packagePrefix=null, instanceId=14, state=active)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:150)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    ... 46 more

-----
Your JRE: 17.0.6+10-b829.5 amd64 (JetBrains s.r.o.)
E:\Program Files\JetBrains\PyCharm 2023.1\jbr

由于之前在使用 PyCharm 时使用了不兼容新版本的破解插件io.zhile.crack.jetbrains.agent,现在已经可以通过教育邮箱免费获取专业版许可证,因此不再需要破解插件。
值得一提的是,PyCharm 在安装新版本时会自动将旧版本的插件和启动选项复制过来,非常智能,但也导致现在的问题。

1. 修改配置文件

打开C盘 ~\AppData\Roaming\JetBrains\PyCharm2023.1\pycharm64.exe.vmoptions
javaagent那一行删除。

2. 删除插件

进入C盘 ~\AppData\Roaming\JetBrains\PyCharm2023.1\plugins
找到并删除jetbrains-agent.jar文件。

3.重启Pycharm

好起来了

你可能感兴趣的:(pycharm)