Exception for plugin in latest EAP: Action 'ForceStepInto' doesn't override anything

Answered

Hi,

I am testing in CI the RobotFramework plugin against the latest EAP for IntelliJ 193 and I get a lot of errors that seem to be unrelated to the plugin itself:

action 'ForceStepInto' doesn't override anything

Any idea on what could be the reason?

Below one of the stack traces.

https://travis-ci.com/AmailP/robot-plugin/jobs/245366393

amailp.intellij.robot.extensions.RobotStructureTest > testVariablesInStructure STANDARD_ERROR

ERROR: action 'ForceStepInto' doesn't override anything

java.lang.Throwable: action 'ForceStepInto' doesn't override anything

at com.intellij.openapi.diagnostic.Logger.error(Logger.java:145)

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerOrReplaceActionInner(ActionManagerImpl.java:657)

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionElement(ActionManagerImpl.java:641)

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionsChildElement(ActionManagerImpl.java:1014)

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerPluginActions(ActionManagerImpl.java:487)

at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.<init>(ActionManagerImpl.java:139)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)

at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:500)

at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)

at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)

at com.intellij.serviceContainer.PlatformComponentManagerImpl.getService(PlatformComponentManagerImpl.kt:288)

at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:18)

at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:29)

at com.intellij.codeInsight.daemon.impl.DaemonListeners$MyCommandListener.<init>(DaemonListeners.java:461)

at com.intellij.codeInsight.daemon.impl.DaemonListeners$MyCommandListener.<init>(DaemonListeners.java:457)

at com.intellij.codeInsight.daemon.impl.DaemonListeners.<init>(DaemonListeners.java:243)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)

at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:500)

at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:35)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)

at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)

at com.intellij.serviceContainer.PlatformComponentManagerImpl.createComponents(PlatformComponentManagerImpl.kt:177)

at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:295)

at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:322)

at com.intellij.openapi.project.impl.ProjectManagerImpl.newProject(ProjectManagerImpl.java:223)

at com.intellij.testFramework.HeavyPlatformTestCase.createProject(HeavyPlatformTestCase.java:299)

at com.intellij.testFramework.LightPlatformTestCase.initProject(LightPlatformTestCase.java:226)

at com.intellij.testFramework.LightPlatformTestCase.doSetup(LightPlatformTestCase.java:307)

at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:38)

at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.lambda$setUp$28(CodeInsightTestFixtureImpl.java:1189)

at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:18)

at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:13)

at com.intellij.testFramework.EdtTestUtilKt.runInEdtAndWait(EdtTestUtil.kt:44)

at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:18)

at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.kt)

at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1188)

at com.intellij.testFramework.fixtures.BasePlatformTestCase.setUp(BasePlatformTestCase.java:42)

at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:387)

at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:18)

at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:13)

at com.intellij.testFramework.EdtTestUtilKt$runInEdtAndWait$1.run(EdtTestUtil.kt:50)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)

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:74)

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

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

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)
0
3 comments

You're using "overrides='true'" in your Action definition, but the referenced action ID doesn't exist (anymore).

0

Hi Yann,

I did have a look and the robot framework plugin does not seem to use "overrides='true'" in any Action definition.

Trying to debug in depth the issue it seems to me that the Python CE plugin causes such problem (python is a dependency of the robot framework plugin).

It turns out that the file python-core-common.xml in all recent Python CE plugins uses "overrides='true'" and they claim to support 193

What do you think I can do?

0

Hi Valerio Angelini! Unfortunately, I can't reproduce the issue in the latest IDEA 2019.3 Beta (Build #IU-193.5096.12, built on November 6, 2019) with the corresponding Python plugin (193.5096.12).
Could you please check this version and let me know if you're still getting this exception?
Thank you!

0

Please sign in to leave a comment.