My IDE cannot start because of a Java error

My IDE has refused to start since I got a license. This is extremely frustrating. Please see the log message below.

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.proxy2/jdk.proxy2.$Proxy54.appFrameCreated(Unknown Source)
    at com.intellij.idea.IdeStarter.openProjectIfNeeded$suspendImpl(IdeStarter.kt:90)
    at com.intellij.idea.IdeStarter.openProjectIfNeeded(IdeStarter.kt)
    at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:71)
    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:68)
    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
    at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:224)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    ... 27 more

-----
Your JRE: 17.0.7+10-b829.16 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\JetBrains Rider 2023.1.4\jbr

 

Version: Rider 2023.1.4

PS: I've spent hours trying to figure this out on the internet and from your support page. Yet, none of the suggested workaround has worked.

0
13 comments

Hi Eseosaehioghae

This startup error is caused by 3rd party plugin. Unfortunately, I can't tell what plugin is causing it, but you can observe that the cause of this error roots in a class with a very odd name. It could be caused by the BetterIntelliJ plugin if you have it installed. 

To solve this issue, please backup and remove the plugin's directory. Then you can launch Rider again and check if it works. After that, one can try to reinstall most of the plugins.

Please keep me posted regarding the results.

0

Hi Alexandra Guk!

 

Thank you very much. This has been resolved now. It was the BetterIntelliJ plugin as you suggested that was the culprit.

0

Glad to hear it helped! 

If you have any other questions, do not hesitate to contact us. 

Have a great day! 

0

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.proxy1/jdk.proxy1.$Proxy53.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.8.1+7-b1000.32 x86_64 (JetBrains s.r.o.)
/Applications/PyCharm.app/Contents/jar/Contents/Home
PS: I ran into a similar problem but the plugins folder was not in my file

0

Hello, 

This error originates from the faulty plugin. Please remove the plugins directory and try starting IDE again.

0

As you can see, I have moved all the plugins to TEST folder, with exception php-impl which is required for PHPStorm to start, but it still shows me the error!?

https://hesammoosapour.ir/images/phpstorm-crash-start.png

This is the path:
C:\Program Files\JetBrains\PhpStorm 2023.2.2\plugins

0

Actually, “C:\Program Files\JetBrains\PhpStorm 2023.2.2\plugins” contains built-in IDE plugins (including mandatory ones) so it not safe to remove it. If you still have a copy, please move it back.

What you might want to do instead to mitigate the original issue is to remove the custom plugins folder contents which is “%APPDATA%\JetBrains\PhpStorm2023.2\plugins”.

0

Vasiliy , there is no plugins folder in C:\Users\Hesam\AppData\Local\JetBrains\PhpStorm2023.2 
But the issue still persists.

Can I give you an anydesk access to have a look at it?!
I would really appreciate it if you would solve it for us🙏.

0

Hi,

Thank you for your reply. Unfortunately, we do not provide remote sessions, sorry :(

Back to the issue, what exact IDE version do you currently have? Is there any chance you are using JetBrains Toolbox?

0

I have a 2021.1.4 which I currently work with it, and a newer version that I installed but doesn't start which is 2023.2.2.

Not sure about Toolbox you mean this?
https://hesammoosapour.ir/images/toolbox.png


 

0

Hi,

Sadly, the screenshot is not available anymore but I meant a JetBrains Toolbox utility before:
https://www.jetbrains.com/toolbox-app/

I would recommend to install this utility first and then use it to install PhpStorm 2023.3.1 (the latest stable build available at this moment). 

0

Hi Vasiliy
I restored the image.

Yes Thanks very much
 

0

Hi Hesam,

Great, thank you!

0

Please sign in to leave a comment.