Cannot run IntelliJ IDEA and Rider at the same time
已回答
I have installed Rider 2018.2.3 and IntelliJ IDEA 2018.1. I cannot run them together.
So if I start InteliJ IDEA and I start Rider, then Rider does not start up. It even does not show the splash screen.
If I first start Rider and then IntelliJ IDEA, then IntelliJ IDEA does not start up and does not show the splash screen.
I think somehow the installs are mixed up, because I installed the FindBugs plugin in IntelliJ IDEA and when I start Rider (after having closed IntelliJ IDEA), it complains about FindBugs: "com.intellij.ide.plugins.PluginManager$StartupAbortedExceprtion: Fatal error initializing plugin FindBugs-IDEA".
Can anyone help fix this problem?
请先登录再写评论。
Here are details about the crash of the FindBugs plugin when starting Rider:
Product Infos
FindBugs: 3.0.1
FindBugs-IDEA: FindBugs-IDEA 1.0.1
IDEA: JetBrains Rider 2018.2.3
IDEA-Build: RD-182.4231.496, September 13, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o
java.lang.NoClassDefFoundError: com/intellij/psi/JavaCodeFragment$VisibilityChecker
at org.twodividedbyzero.idea.findbugs.gui.settings.SearchableOptionContributorImpl.processOptions(SearchableOptionContributorImpl.java:43)
at com.intellij.ide.ui.search.SearchableOptionPreloader.preload(SearchableOptionPreloader.java:49)
at com.intellij.openapi.application.Preloader.lambda$null$0(Preloader.java:75)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.application.Preloader.lambda$initComponent$1(Preloader.java:72)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:226)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$2$1.run(BoundedTaskExecutor.java:199)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:193)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.intellij.psi.JavaCodeFragment$VisibilityChecker PluginClassLoader[FindBugs-IDEA, 1.0.1] com.intellij.ide.plugins.cl.PluginClassLoader@6184a143
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more
Make sure you do not use the same directories for IDE settings/caches for Rider and IntelliJ IDEA. See https://intellij-support.jetbrains.com/hc/en-us/articles/207240985 on how to change them.
Thanks Andrey!
It turned out that I indeed mixed up the settings for IntelliJ IDEA and Rider. I tried to change the location of the IDE system, config and logs folders for Rider, but I accidentally edited the idea.properties file of IntelliJ and by that mixed up the configurations myself...