IntelliJ + Ruby + Docker = NoClassDefFoundError: DockerComposeCredentialsType

Answered

When Docker Integration is enabled, projects cannot be created with Ruby SDKs. Existing Ruby projects cannot have Ruby run configurations. See the excerpt from idea.log below.

I've tried this on two different machines with both 2019.1 and the previous version of IntelliJ, and the most recent versions of both plugins as of this post.

Another problem that may or may not be related is that trying to add a new remote SDK to an existing project results in "The Remote Hosts Access plugin is missing", even though it is installed and enabled.

 

ERROR - llij.ide.plugins.PluginManager - com/intellij/docker/remote/DockerComposeCredentialsType

java.lang.NoClassDefFoundError: com/intellij/docker/remote/DockerComposeCredentialsType

at com.intellij.docker.remote.ruby.compose.RubyDockerComposeUtil.isRubyDockerComposeSdkAdditionalData(RubyDockerComposeUtil.java:18)

at com.intellij.docker.remote.ruby.compose.RubyDockerComposeUtil.isRubyDockerComposeSDK(RubyDockerComposeUtil.java:13)

at com.intellij.docker.remote.ruby.run.RubyDockerRunConfigurationExtension.isApplicableFor(RubyDockerRunConfigurationExtension.java:57)

at com.intellij.docker.remote.ruby.run.RubyDockerRunConfigurationExtension.isApplicableFor(RubyDockerRunConfigurationExtension.java:19)

at com.intellij.execution.configuration.RunConfigurationExtensionsManager.extendTemplateConfiguration(RunConfigurationExtensionsManager.kt:220)

at org.jetbrains.plugins.ruby.ruby.run.configuration.RubyRunConfigurationFactoryBase.createTemplateConfiguration(RubyRunConfigurationFactoryBase.java:49)

at com.intellij.execution.configurations.ConfigurationFactory.createTemplateConfiguration(ConfigurationFactory.java:65)

at com.intellij.execution.impl.RunManagerImpl.createTemplateSettings$intellij_platform_lang_impl(RunManagerImpl.kt:301)

at com.intellij.execution.impl.RunManagerImpl.getConfigurationTemplate(RunManagerImpl.kt:293)

at com.intellij.execution.impl.RunManagerImpl.createConfiguration(RunManagerImpl.kt:215)

at com.intellij.execution.impl.RunConfigurable.createNewConfiguration(RunConfigurable.kt:890)

at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$showAddPopup$popup$1.consume(RunConfigurable.kt:935)

at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$showAddPopup$popup$1.consume(RunConfigurable.kt:908)

at com.intellij.execution.impl.NewRunConfigurationPopup$1.onChosen(NewRunConfigurationPopup.java:61)

at com.intellij.execution.impl.NewRunConfigurationPopup$1.onChosen(NewRunConfigurationPopup.java:32)

at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:389)

at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:341)

at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:501)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)

at java.awt.Component.processMouseEvent(Component.java:6550)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)

at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:555)

at java.awt.Component.processEvent(Component.java:6315)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4899)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4721)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4721)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)

at java.awt.EventQueue.access$500(EventQueue.java:98)

at java.awt.EventQueue$3.run(EventQueue.java:715)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:739)

at java.awt.EventQueue$4.run(EventQueue.java:737)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)

at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747)

at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:692)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)

at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)

at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)

at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)

at java.awt.Dialog.show(Dialog.java:1077)

at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:688)

at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)

at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1682)

at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1631)

at com.intellij.execution.actions.EditRunConfigurationsAction.actionPerformed(EditRunConfigurationsAction.java:33)

at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:260)

at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:277)

at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:251)

at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:200)

at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:190)

at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$2(ActionPopupStep.java:184)

at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)

at com.intellij.ui.popup.AbstractPopup.lambda$dispose$14(AbstractPopup.java:1425)

at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3075)

at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:159)

at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:111)

at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:179)

at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:58)

at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1421)

at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:160)

at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:306)

at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:279)

at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)

at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)

at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:136)

at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:105)

at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:214)

at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:105)

at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:162)

at com.intellij.openapi.util.Disposer.dispose(Disposer.java:129)

at com.intellij.openapi.util.Disposer.dispose(Disposer.java:125)

at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:263)

at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:442)

at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:395)

at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:341)

at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.handleSelect(PopupFactoryImpl.java:299)

at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:501)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)

at java.awt.Component.processMouseEvent(Component.java:6550)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)

at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:555)

at java.awt.Component.processEvent(Component.java:6315)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4899)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4721)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4721)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)

at java.awt.EventQueue.access$500(EventQueue.java:98)

at java.awt.EventQueue$3.run(EventQueue.java:715)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:739)

at java.awt.EventQueue$4.run(EventQueue.java:737)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)

at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747)

at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:692)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

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)

2019-03-28 16:43:26,551 [1311794]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.1  Build #IU-191.6183.87

2019-03-28 16:43:26,551 [1311794]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_202-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o

2019-03-28 16:43:26,552 [1311795]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X

2019-03-28 16:43:26,552 [1311795]  ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Ruby version: 2019.1.20190327

2 comments
Comment actions Permalink

Hello,

could you please check how it goes in case both Docker Integration and SSH Remote Run plugin are enabled? (There's a corresponding issue for that https://youtrack.jetbrains.com/issue/RUBY-20288)

0
Comment actions Permalink

Thanks Olga. Enabling the SSH Remote Run plugin appears to have resolved the issue.

0

Please sign in to leave a comment.