Pycharm crashed at start up

My pycharm keeps crashing even if I re-install it for couple of time, the error message is as following>

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: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.an.a(Unknown Source)
   at fuck_you.ao.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:\PyCharm 2023.2.5\jbr

 

I follow the instruction in other posts to clear the plugin folders, but this didn't help.

0
1 comment

It indeed looks like a third-party plugin is causing the crash. According to the output you shared:

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:699)
   at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:663)

There is a strange class name in the stacktrace. Which plugins directory did you try to delete? You can find the plugins directory path here. Did you install PyCharm from the Toolbox App or directly from the official website: https://www.jetbrains.com/pycharm/download?
 

0

Please sign in to leave a comment.