-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] 'New Arduino Sketch Project' does not seem to work after upgrading to CLion 3.2 #29
Comments
I forgot to mention that neither the 'New Arduino Sketch Project' under 'File' drop down menu would work. |
I've got the same issue on Mint 18. CLion 2016.3.2 Exception: |
I am experiencing the same problem in Clion 3.2 on OSX. |
I have the same problem when doing new Arduino Sketch project. Here is the stack trace com/jetbrains/cidr/cpp/cmake/projectWizard/NewCMakeProjectStepAdapter Thanks ! |
Same problem on Fedora 25 CLion 2016.3.2 Same Trace as everyone: |
Note that it works if you install the plugin on the previous version of
CLion.
Le lun. 9 janv. 2017 18:16, schneebonus <[email protected]> a écrit :
… Same problem on *Fedora 25*
CLion 2016.*3.2*
Build #CL-163.10154.43, built on December 21, 2016
Licensed to xxxxxxxxxxxxxx
Subscription is active until xxxxxxxxxxxxx
JRE: 1.8.0_112-release-408-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Same Trace as everyone:
com/jetbrains/cidr/cpp/cmake/projectWizard/*NewCMakeProjectStepAdapter*
...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALqXZ7EOBJNoLVWDz8DjK2Q-Q13HI6Gks5rQmuEgaJpZM4LXSkj>
.
|
Running CLion 3.1 on Mac OSC 10.10.4
|
I fixed the bugs in a personal branch here: https://github.com/rjuang/CLionArduinoPlugin Now pending a pull request. |
@rjuang Installed your copy of the plugin and it didn't work (CLion 2016.3.2 x64, Windows). I received the following error on restart after installing the plugin. CLion version details follow the error message text below. Error Message
CLion Version Details
|
Having the same problem, on OSX 10.12.2 Clion version: 2016.3.2
|
Thanks. I'll take a look this weekend. Been busy with work, so have not been able to get to any of my personal projects. It does look like Jetbrains has made changes to the interfaces that this plugin relies on. It might be best to just refactor out all of the private API dependencies (though, not sure how to make a CMake project based on CLion's public API). |
@vector-kerr The error message you posted comes from the older plugin. If you examine the pull request I posted, I explicitly removed all references to NewCMakeProjectStepAdapter. Before you install the plugin, make sure you uninstall the old one. My plugin binary is posted at: The one in francoiscampbell branch is outdated until the pull request I sent is merged. |
@zigge The error message you posted also comes from the older plugin. The pull request I posted explicitly removes all references to NewCMakeProjectStepAdapter which shows up in your stack trace. Before you install the plugin, make sure you uninstall the old one. My plugin binary is posted at: The one in francoiscampbell branch is outdated until the pull request I sent is merged. |
@krzyzanowskim my guess is that francoiscampbell (owner of master branch) maintains the arduino plugin version that's uploaded to jetbrains. I have no control over that. |
Having same problems on OS X, Clion 2016.3.2 version. Anyone has some temporary solution to this problems? |
@rjuang 's external plugin works for me: https://github.com/rjuang/CLionArduinoPlugin/raw/master/CLionArduinoPlugin.zip |
@stevieb9 how to install it manually? |
@rjuang I still get an exception with yours:
|
@rjuang 's external plugin worked for me as well. @sergiufalcusan To install it copy the two jars from the zip into the plugin directory for CLionArduinoPlugin, which for me was at ~/.CLion2016.3/config/plugins/CLionArduinoPlugin/lib (Linux install) CLion version 2016.3.3 |
Running CLion 2016.3.4 on Ubuntu 16.10, placing @rjuang 's plugin worked for me. I am using JetBrains Toolbox, default location for CLion is ~/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/163.13906.4/plugins/CLionArduinoPlugin |
Running CLion 2017.1.1 on Mac OS X 10.12.3 and using @rjuang plugin worked for me - will check on Ubuntu 16.10 asap. |
Still getting the same problem. Running Clion 2017.2.3 or manjaro deepin (Arch linux). Arduino plugin version: 1.2.2 Clion location: /opt/ Error details: |
how can I fix it |
If you are only going to use CLion with this plugin to replace Arduino IDE, consider using PlatformIO. Found this great tutorial on YouTube : https://www.youtube.com/playlist?list=PLyITY2JC-2OsF8vaUp17XUCeDFbg-ADzs |
Hello,
After upgrading to CLion 3.2, the 'New Arduino Sketch Project' on welcome page does not work, where as in CLion 3.1 before upgrading, there should be a pop-up window after clicking it.
And a ClassNotFoundException was thrown when opening a non-arduino project (regular cpp project) using the same IDE.
java.lang.NoClassDefFoundError: com/jetbrains/cidr/cpp/cmake/projectWizard/NewCMakeProjectStepAdapter
at io.github.francoiscambell.clionarduinoplugin.actions.NewArduinoProject.actionPerformed(NewArduinoProject.java:26)
at com.intellij.ui.components.labels.ActionLink$1.linkSelected(ActionLink.java:66)
at com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:156)
at com.intellij.ui.components.labels.ActionLink.doClick(ActionLink.java:79)
at com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:341)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:843)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:675)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: com.jetbrains.cidr.cpp.cmake.projectWizard.NewCMakeProjectStepAdapter PluginClassLoader[io.github.francoiscambell.clionarduinoplugin, 1.2.2]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 39 more
=======
Reported in the following env settings :
(K)ubuntu 16.04.1
CLion 2016.3.2
Build #CL-163.10154.43, built on December 21, 2016
JRE: 1.8.0_112-release-408-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
The text was updated successfully, but these errors were encountered: