- edited description
Can not create a new project
Intellij and Illuminated Cloud has updated yesterday and I can not create a new project neither Illuminated cloud not SFDX - can’t get past this step.
OS: Ubuntu 19.10
Attachning the Intellij log from the point it is turned on up until the exception.
Comments (13)
-
reporter -
repo owner Sorry for the issue, Simonas. I can see the reason clearly in the provided log:
2020-04-09 11:02:09,449 [ 37196] ERROR - llij.ide.plugins.PluginManager - com/intellij/ide/util/newProjectWizard/SelectTemplateSettings java.lang.NoClassDefFoundError: com/intellij/ide/util/newProjectWizard/SelectTemplateSettings at com.illuminatedcloud.intellij.moduletype.IlluminatedCloudSfdxModuleWizardStep.updateDataModel(SourceFile:64)
I'll investigate this today. I'm curious as to why it didn't show up in the compile.
-
repo owner Hi, Simonas. I'm unable to reproduce this. That class is properly resolved in my 2020.1 installation. Just in case the upgrade to 2020.1 left things in a bad state for you, can you please uninstall and reinstall 2020.1 and see if the issue persists?
-
reporter Hello and thank you for a quick response.
Just tired to remove it completely, did a fresh install - still getting the same result with 2020.1.
At least 2019.3.4 seems to work fine.
Guess I’ll wait for intellij update and try my luck then
Thanks.
-
repo owner Let me poke around today and see if perhaps it's a plugin you've disabled that I haven't or something. I'll let you know what I find.
-
The same issue, macOS, IdeaCE 2020.1.
Tried clean install, doesn’t help.
UPD:
Idea 2020.1 works fine, broken IdeaCE has all default plugins enabled.
2020-04-10 17:43:55,997 [ 48844] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2020.1 Build #IC-201.6668.121 2020-04-10 17:43:55,997 [ 48844] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 2020-04-10 17:43:55,997 [ 48844] ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 2020-04-10 17:43:55,998 [ 48845] ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Illuminated Cloud 2 version: 2.1.1.3 2020-04-10 17:43:55,998 [ 48845] ERROR - llij.ide.plugins.PluginManager - Last Action: WelcomeScreen.
2020-04-10 17:43:55,992 [ 48839] ERROR - llij.ide.plugins.PluginManager - com/intellij/ide/util/newProjectWizard/SelectTemplateSettings java.lang.NoClassDefFoundError: com/intellij/ide/util/newProjectWizard/SelectTemplateSettings at com.illuminatedcloud.intellij.moduletype.IlluminatedCloudModuleWizardStep.updateDataModel(SourceFile:127) at com.intellij.ide.projectWizard.ProjectTypeStep.updateDataModel(ProjectTypeStep.java:514) at com.intellij.ide.util.newProjectWizard.AbstractProjectWizard.commitStepData(AbstractProjectWizard.java:239) at com.intellij.ide.util.newProjectWizard.AbstractProjectWizard.doNextAction(AbstractProjectWizard.java:250) at com.intellij.ide.wizard.AbstractWizard$5.actionPerformed(AbstractWizard.java:192) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
-
repo owner Ugh....still trying to figure this out. Are you both on Community Edition? I'm upgrading CE to 2020.1 now to see if that helps to reproduce it. I'll let you know what I find.
-
repo owner Good news! I've reproduced this in Community Edition. Investigating a fix now. I'll try to get a hotfix out ASAP.
-
repo owner - attached IlluminatedCloud2.zip
Okay, I think I have a fix(/workaround) in the attached build. I'm pretty sure this is a bug in IntelliJ IDEA CE 2020.1 and have reported it to JetBrains, but it seems I have to express an explicit dependency in my plugin on the Java plugin when run in IntelliJ IDEA CE 2020.1 for the jars containing these unresolvable classes to be loaded. Oddly that's not necessary in IntelliJ IDEA UE 2020.1 which is why I think this is a bug.
This build is the same as 2.1.1.4 which was published today except for this workaround. You can install it by downloading it (but don't extract it) and using Settings / Preferences > Plugins > Install plugin from disk (under the gear drop-down menu).
Please let me know if this doesn't resolve the issue for you, and once I speak with JetBrains (hopefully on Monday) about whether this is the right way to address this for the moment--assuming/hoping that they'll issue a fix in the base IDE--I'll roll this into an official build ASAP.
-
Tested attached fix and managed to create new project, which is great thanks. Hope it will get to official build asap.
-
repo owner Thanks for helping confirm. I do want to chat with JetBrains on Monday, but one way or another I'll get an official build with a fix out very early in the week.
-
The fix worked for me as well. I have IlluminatedCloud2 installed in IntelliJ IDEA UE 2020.1 on both a Mac and PC and there are no issues. I had to apply the fix to IntelliJ IDEA CE 2020.1 on another Mac to get the plugin to work correctly. Seems that there is definitely a bug in the latest Community Edition. Nice job on putting a fix together to ensure it works properly in Community Edition as well.
-
repo owner - changed status to resolved
Workaround/fix delivered in 2.1.1.5. Please let me know if you continue to see this issue (or any others, of course) after updating.
- Log in to comment