ceylon-ide-intellij
ceylon-ide-intellij copied to clipboard
ClassCastException when clicking gutter icon to run ceylon method
IntelliJ 2017.1.2 and 2016.3.6 Ceylon IDE 1.3.2
com.intellij.execution.application.ApplicationConfigurationType$1@772e39b1 produced wrong type: com.intellij.execution.application.ApplicationConfiguration cannot be cast to org.intellij.plugins.ceylon.ide.runner.CeylonRunConfiguration
java.lang.ClassCastException: com.intellij.execution.application.ApplicationConfiguration cannot be cast to org.intellij.plugins.ceylon.ide.runner.CeylonRunConfiguration
at org.intellij.plugins.ceylon.ide.runner.CeylonRunConfigurationProducer.setupConfigurationFromContext(CeylonRunConfigurationProducer.java:31)
at com.intellij.execution.actions.RunConfigurationProducer.createLightConfiguration(RunConfigurationProducer.java:255)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.a(ExecutorAction.kt:76)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.b(ExecutorAction.kt:62)
at com.intellij.execution.lineMarker.ExecutorAction$Companion.access$getConfigurations(ExecutorAction.kt:45)
at com.intellij.execution.lineMarker.ExecutorAction.a(ExecutorAction.kt:108)
at com.intellij.execution.lineMarker.ExecutorAction.update(ExecutorAction.kt:85)
at com.intellij.execution.lineMarker.LineMarkerActionWrapper.update(LineMarkerActionWrapper.java:84)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:131)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:234)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:179)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:99)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:340)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:98)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.b(EditorGutterComponentImpl.java:1831)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.mousePressed(EditorGutterComponentImpl.java:1598)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.g(EditorImpl.java:3609)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.b(EditorImpl.java:3479)
at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.e(EditorImpl.java:3484)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:3414)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6538)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6306)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
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:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
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:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.k(IdeEventQueue.java:827)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:651)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
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)