syllant/idea-plugin-remotesynchronizer

update failed for AnAction with ID=RemoteSynchronizer.RerunLastSynchroAction: com/intellij/openapi/actionSystem/DataKeys

LOQUILLO opened this issue · 8 comments

update failed for AnAction with ID=RemoteSynchronizer.RerunLastSynchroAction: com/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at org.sylfra.idea.plugins.remotesynchronizer.utils.Utils.getPlugin(Utils.java:71)
at org.sylfra.idea.plugins.remotesynchronizer.utils.Utils.getCurrentCopierThread(Utils.java:79)
at org.sylfra.idea.plugins.remotesynchronizer.actions.toolbar.RerunLastSynchroAction.update(RerunLastSynchroAction.java:25)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:111)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:167)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:126)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.run(ActionToolbarImpl.java:890)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:616)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:597)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:567)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:55)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:465)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1971)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:443)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:936)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(ActionToolbarImpl.java:178)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(ActionToolbarImpl.java:149)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:193)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:189)
at org.sylfra.idea.plugins.remotesynchronizer.ui.ToolPanel.(ToolPanel.java:35)
at org.sylfra.idea.plugins.remotesynchronizer.RemoteSynchronizerPlugin.initToolWindow(RemoteSynchronizerPlugin.java:180)
at org.sylfra.idea.plugins.remotesynchronizer.RemoteSynchronizerPlugin.projectOpened(RemoteSynchronizerPlugin.java:148)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:418)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:76)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:454)
at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:155)
at com.intellij.openapi.project.impl.ProjectManagerImpl.e(ProjectManagerImpl.java:1041)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:411)
at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:178)
at com.intellij.platform.NewDirectoryProjectAction.generateProject(NewDirectoryProjectAction.java:95)
at com.intellij.platform.NewDirectoryProjectAction.actionPerformed(NewDirectoryProjectAction.java:48)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:169)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:132)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.actionSystem.DataKeys PluginClassLoader[RemoteSynchronizer, 1.7.3]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 67 more

Hi,

For which product/version (e.g. IDEA 133.193)? Wich version of plugin?

I'm using Pycharm Community Edition 3.0.2 and plugin version 1.7.3 and I have the same issue.
Scenario:

  1. Install latest Pycharm
  2. Install plugin
  3. Restart Pycharm

Testing with PhpStorm 7.1.1 Build 133.679 I have the same issue, again

I admit I don't understand. I've just tried with a fresh download of PhpStorm 7.1.1 Build 133.679.

I've uploaded a new version 1.9 (for a new feature, see #8). Could you try again?

Also, do you install plugin from plugin manager inside Jetbrains product (IDEA, Pycharm, PhpStorm, ...)?

Thanks

Again testing with WebStorm 7.0.3 Build 133.434 and the same issue:

update failed for AnAction with ID=RemoteSynchronizer.RerunLastSynchroAction: com/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at org.sylfra.idea.plugins.remotesynchronizer.utils.Utils.getPlugin(Utils.java:71)
at org.sylfra.idea.plugins.remotesynchronizer.utils.Utils.getCurrentCopierThread(Utils.java:79)
at org.sylfra.idea.plugins.remotesynchronizer.actions.toolbar.RerunLastSynchroAction.update(RerunLastSynchroAction.java:25)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:111)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:187)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:138)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:95)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.run(ActionToolbarImpl.java:917)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:641)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:622)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:592)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:59)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:488)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1999)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:466)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:963)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(ActionToolbarImpl.java:178)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.(ActionToolbarImpl.java:149)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:206)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:201)
at org.sylfra.idea.plugins.remotesynchronizer.ui.ToolPanel.(ToolPanel.java:35)
at org.sylfra.idea.plugins.remotesynchronizer.RemoteSynchronizerPlugin.initToolWindow(RemoteSynchronizerPlugin.java:180)
at org.sylfra.idea.plugins.remotesynchronizer.RemoteSynchronizerPlugin.projectOpened(RemoteSynchronizerPlugin.java:148)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:419)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:77)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:456)
at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:155)
at com.intellij.openapi.project.impl.ProjectManagerImpl.e(ProjectManagerImpl.java:1050)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:415)
at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:178)
at com.intellij.ide.RecentDirectoryProjectsManager.doOpenProject(RecentDirectoryProjectsManager.java:59)
at com.intellij.ide.ReopenProjectAction.actionPerformed(ReopenProjectAction.java:61)
at com.intellij.openapi.wm.impl.welcomeScreen.RecentProjectPanel$1.onClick(RecentProjectPanel.java:77)
at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:73)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:696)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.actionSystem.DataKeys PluginClassLoader[RemoteSynchronizer, 1.9]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 69 more

Installed from WebStorm plugin manager RemoteSynchronizer v1.9 (using Windows 7 Ultimate 64bits)

OK, I'm able to reproduce this issue. RemoteSynchronizer plugin cannot work with other platforms than IDEA due to OpenAPI differences. I'll try to fix that in next days.

Sylvain

1.9.1 release fixes this issue and is now available on Plugin Manager.

Sylvain