CLionArduinoPlugin icon indicating copy to clipboard operation
CLionArduinoPlugin copied to clipboard

File -> New Project -> Arduino Sketch -> java.lang.NoSuchMethodError

Open arvidj01 opened this issue 5 years ago • 0 comments

Just getting started with the ArduinoPlugin so cannot say if this worked on earlier versions of CLion or the plugin. However, I consistently get this exception when I try to create a new Arduino Sketch project.

Being new at this I am fully aware of my not having done something correctly, but the only thing I am aware of that is not 'just using the defaults' is the boards.txt path in the Global Arduino Settings pointing to /home/xxx/xxx/github.com/espressif/arduino-esp32/boards.txt. I have verified that the file does exist at this location as the "Show Difference" button does compare the bundled and the custom files.

Any suggestions as to what I may have done incorrectly would be appreciated.

java.lang.NoSuchMethodError: 'void com.jetbrains.cidr.cpp.cmake.projectWizard.CLionProjectWizardUtils.reformatProjectFiles(com.intellij.openapi.project.Project, com.intellij.openapi.vfs.VirtualFile, boolean, com.intellij.openapi.vfs.VirtualFile[])' at com.vladsch.clionarduinoplugin.generators.ArduinoProjectGenerator.generateProject(ArduinoProjectGenerator.kt:174) at com.vladsch.clionarduinoplugin.generators.ArduinoProjectGenerator.generateProject(ArduinoProjectGenerator.kt:59) at com.intellij.ide.util.projectWizard.AbstractNewProjectStep.doGenerateProject(AbstractNewProjectStep.java:232) at com.intellij.ide.util.projectWizard.AbstractNewProjectStep$AbstractCallback.consume(AbstractNewProjectStep.java:178) at com.intellij.ide.util.projectWizard.ProjectSettingsStepBase$1.actionPerformed(ProjectSettingsStepBase.java:141) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ...

CLion 2021.1 Beta Build #CL-211.6693.7, built on March 23, 2021 CLion EAP User Expiration date: April 22, 2021 Runtime version: 11.0.10+9-b1341.21 amd64 VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o. Linux 5.4.0-48-generic GC: G1 Young Generation, G1 Old Generation Memory: 2000M Cores: 8 Registry: run.processes.with.pty=TRUE, localHistory.daysToKeep=30 Non-Bundled Plugins: com.vladsch.clionarduinoplugin (1.5.2), com.jetbrains.plugins.ini4idea (211.6693.7), mobi.hsz.idea.gitignore (4.0.4-eap), intellij.clion.embedded.platformio (211.6693.7), Docker (211.6693.14), ru.adelf.idea.dotenv (2021.1), izhangzhihao.rainbow.brackets (6.17), org.asciidoctor.intellij.asciidoc (0.32.29), pro.bashsupport (1.5.16.211) Current Desktop: X-Cinnamon

Arduino Support: 1.5.2

arvidj01 avatar Mar 28 '21 02:03 arvidj01