{"action":"created","issue":{"url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/29","repository_url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin","labels_url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/29/comments","events_url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/29/events","html_url":"https://github.com/francoiscampbell/CLionArduinoPlugin/issues/29","id":197939690,"number":29,"title":"[Issue] 'New Arduino Sketch Project' does not seem to work after upgrading to CLion 3.2","user":{"login":"mcfongtw","id":1127998,"avatar_url":"https://avatars.githubusercontent.com/u/1127998?v=3","gravatar_id":"","url":"https://api.github.com/users/mcfongtw","html_url":"https://github.com/mcfongtw","followers_url":"https://api.github.com/users/mcfongtw/followers","following_url":"https://api.github.com/users/mcfongtw/following{/other_user}","gists_url":"https://api.github.com/users/mcfongtw/gists{/gist_id}","starred_url":"https://api.github.com/users/mcfongtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcfongtw/subscriptions","organizations_url":"https://api.github.com/users/mcfongtw/orgs","repos_url":"https://api.github.com/users/mcfongtw/repos","events_url":"https://api.github.com/users/mcfongtw/events{/privacy}","received_events_url":"https://api.github.com/users/mcfongtw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-29T01:25:31Z","updated_at":"2017-02-02T05:54:20Z","closed_at":null,"body":"Hello,\r\n\r\nAfter 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.\r\n\r\nAnd a ClassNotFoundException was thrown when opening a non-arduino project (regular cpp project) using the same IDE.\r\n\r\njava.lang.NoClassDefFoundError: com/jetbrains/cidr/cpp/cmake/projectWizard/NewCMakeProjectStepAdapter\r\n\tat io.github.francoiscambell.clionarduinoplugin.actions.NewArduinoProject.actionPerformed(NewArduinoProject.java:26)\r\n\tat com.intellij.ui.components.labels.ActionLink$1.linkSelected(ActionLink.java:66)\r\n\tat com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:156)\r\n\tat com.intellij.ui.components.labels.ActionLink.doClick(ActionLink.java:79)\r\n\tat com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:341)\r\n\tat java.awt.Component.processMouseEvent(Component.java:6533)\r\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3324)\r\n\tat java.awt.Component.processEvent(Component.java:6298)\r\n\tat java.awt.Container.processEvent(Container.java:2236)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4889)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2294)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4711)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2280)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2746)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4711)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:731)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:729)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:728)\r\n\tat com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:843)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:675)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\nCaused by: java.lang.ClassNotFoundException: com.jetbrains.cidr.cpp.cmake.projectWizard.NewCMakeProjectStepAdapter PluginClassLoader[io.github.francoiscambell.clionarduinoplugin, 1.2.2]\r\n\tat com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:64)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\t... 39 more\r\n\r\n=======\r\nReported in the following env settings : \r\n\r\n(K)ubuntu 16.04.1\r\n\r\nCLion 2016.3.2\r\nBuild #CL-163.10154.43, built on December 21, 2016\r\nJRE: 1.8.0_112-release-408-b6 amd64\r\nJVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o\r\n"},"comment":{"url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/comments/276874911","html_url":"https://github.com/francoiscampbell/CLionArduinoPlugin/issues/29#issuecomment-276874911","issue_url":"https://api.github.com/repos/francoiscampbell/CLionArduinoPlugin/issues/29","id":276874911,"user":{"login":"rjuang","id":1617608,"avatar_url":"https://avatars.githubusercontent.com/u/1617608?v=3","gravatar_id":"","url":"https://api.github.com/users/rjuang","html_url":"https://github.com/rjuang","followers_url":"https://api.github.com/users/rjuang/followers","following_url":"https://api.github.com/users/rjuang/following{/other_user}","gists_url":"https://api.github.com/users/rjuang/gists{/gist_id}","starred_url":"https://api.github.com/users/rjuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjuang/subscriptions","organizations_url":"https://api.github.com/users/rjuang/orgs","repos_url":"https://api.github.com/users/rjuang/repos","events_url":"https://api.github.com/users/rjuang/events{/privacy}","received_events_url":"https://api.github.com/users/rjuang/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T05:54:20Z","updated_at":"2017-02-02T05:54:20Z","body":"@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.\r\n\r\nBefore you install the plugin, make sure you uninstall the old one. My plugin binary is posted at:\r\nhttps://github.com/rjuang/CLionArduinoPlugin/raw/master/CLionArduinoPlugin.zip\r\n\r\nThe one in francoiscampbell branch is outdated until the pull request I sent is merged.\r\n\r\n"}}
{"actor":{"display_login":"rjuang"}}