Unexpected node Pythonid

Answered

Hi all,

I have recently enabled automated testing on Idea IU (previously i was testing only IC) for the Robot Framework Support plugin and I get a strange error while setting up the Idea test fixtures:

java.lang.AssertionError: Unexpected node Pythonid

https://travis-ci.org/AmailP/robot-plugin/builds/103632556

Actually the python plugin is correctly installed in the idea-sandbox with the correct version, the one for IU-15.0.2. Everything runs smoothly instead with IC-15.0.2.

Do you have any clue what it could be the cause?

Thanks,

Valerio

STACK TRACE:

16:01:08.849 [DEBUG] [TestEventLogger] amailp.intellij.robot.psi.RobotPsiFileTest > testIsRobotPsiFile FAILED

16:01:08.850 [DEBUG] [TestEventLogger] java.lang.AssertionError: Unexpected node Pythonid; nodes=[com.intellij.ui-designer-new, com.intellij.modules.xml, com.intellij.modules.xdebugger, com.intellij.modules.vcs, com.intellij.modules.ultimate, com.intellij.modules.remoteServers, com.intellij.modules.python, com.intellij.modules.platform, com.intellij.modules.lang, com.intellij.modules.json, com.intellij.modules.java, com.intellij.modules.all, com.intellij, amailp.intellij.robot]

16:01:08.850 [DEBUG] [TestEventLogger] at com.intellij.util.graph.GraphGenerator.buildOuts(GraphGenerator.java:55)

16:01:08.850 [DEBUG] [TestEventLogger] at com.intellij.util.graph.GraphGenerator.<init>(GraphGenerator.java:36)

16:01:08.851 [DEBUG] [TestEventLogger] at com.intellij.util.graph.GraphGenerator.create(GraphGenerator.java:40)

16:01:08.851 [DEBUG] [TestEventLogger] at com.intellij.ide.plugins.PluginManagerCore.a(PluginManagerCore.java:622)

16:01:08.851 [DEBUG] [TestEventLogger] at com.intellij.ide.plugins.PluginManagerCore.b(PluginManagerCore.java:1167)

16:01:08.851 [DEBUG] [TestEventLogger] at com.intellij.ide.plugins.PluginManagerCore.a(PluginManagerCore.java:1334)

16:01:08.852 [DEBUG] [TestEventLogger] at com.intellij.ide.plugins.PluginManagerCore.getPlugins(PluginManagerCore.java:105)

16:01:08.852 [DEBUG] [TestEventLogger] at com.intellij.idea.IdeaApplication.getStarter(IdeaApplication.java:179)

16:01:08.852 [DEBUG] [TestEventLogger] at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:117)

16:01:08.852 [DEBUG] [TestEventLogger] at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:247)

16:01:08.853 [DEBUG] [TestEventLogger] at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:45)

16:01:08.853 [DEBUG] [TestEventLogger] at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:45)

16:01:08.853 [DEBUG] [TestEventLogger] at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:38)

16:01:08.853 [DEBUG] [TestEventLogger] at com.intellij.idea.IdeaTestApplication.<init>(IdeaTestApplication.java:32)

16:01:08.857 [DEBUG] [TestEventLogger] at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:52)

16:01:08.858 [DEBUG] [TestEventLogger] at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:46)

16:01:08.858 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:169)

16:01:08.858 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:52)

16:01:08.858 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$26.run(CodeInsightTestFixtureImpl.java:1381)

 

16:01:08.859 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.859 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:37)

16:01:08.859 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:25)

16:01:08.860 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.kt)

16:01:08.860 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1378)

16:01:08.860 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase.setUp(LightPlatformCodeInsightFixtureTestCase.java:61)

16:01:08.860 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:358)

16:01:08.861 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:419)

16:01:08.861 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:25)

16:01:08.861 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.861 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtilKt$sam$Runnable$a15fd9f8.run(EdtTestUtil.kt)

16:01:08.863 [DEBUG] [TestEventLogger] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)

16:01:08.864 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)

16:01:08.864 [DEBUG] [TestEventLogger] at java.awt.EventQueue.access$300(EventQueue.java:103)

16:01:08.864 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:706)

16:01:08.864 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:704)

16:01:08.865 [DEBUG] [TestEventLogger] at java.security.AccessController.doPrivileged(Native Method)

16:01:08.865 [DEBUG] [TestEventLogger] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

16:01:08.865 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)

16:01:08.865 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:361)

16:01:08.866 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

16:01:08.875 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

16:01:08.875 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

16:01:08.875 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

16:01:08.880 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

16:01:08.880 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

16:01:08.882 [DEBUG] [TestEventLogger]

16:01:08.883 [DEBUG] [TestEventLogger] amailp.intellij.robot.psi.RobotPsiFileTest > testImportedRobotFiles STARTED

16:01:08.883 [DEBUG] [TestEventLogger]

16:01:08.883 [DEBUG] [TestEventLogger] amailp.intellij.robot.psi.RobotPsiFileTest > testImportedRobotFiles FAILED

16:01:08.884 [DEBUG] [TestEventLogger] java.lang.NullPointerException

16:01:08.884 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.c(LightPlatformTestCase.java:225)

16:01:08.884 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.a(LightPlatformTestCase.java:237)

16:01:08.885 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.doSetup(LightPlatformTestCase.java:315)

16:01:08.898 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:53)

16:01:08.899 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$26.run(CodeInsightTestFixtureImpl.java:1381)

16:01:08.899 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:25)

16:01:08.899 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.899 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:37)

16:01:08.899 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:25)

16:01:08.900 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.kt)

16:01:08.900 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1378)

16:01:08.900 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase.setUp(LightPlatformCodeInsightFixtureTestCase.java:61)

16:01:08.900 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:358)

16:01:08.901 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:419)

16:01:08.901 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:25)

16:01:08.901 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.901 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtilKt$sam$Runnable$a15fd9f8.run(EdtTestUtil.kt)

16:01:08.908 [DEBUG] [TestEventLogger] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)

16:01:08.914 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)

16:01:08.914 [DEBUG] [TestEventLogger] at java.awt.EventQueue.access$300(EventQueue.java:103)

16:01:08.914 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:706)

16:01:08.915 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:704)

16:01:08.915 [DEBUG] [TestEventLogger] at java.security.AccessController.doPrivileged(Native Method)

16:01:08.915 [DEBUG] [TestEventLogger] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

16:01:08.915 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)

16:01:08.915 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)

16:01:08.916 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)

16:01:08.916 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)

16:01:08.916 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

16:01:08.917 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

16:01:08.917 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

16:01:08.917 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

16:01:08.917 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

16:01:08.917 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

16:01:08.918 [DEBUG] [TestEventLogger]

16:01:08.919 [DEBUG] [TestEventLogger] amailp.intellij.robot.psi.RobotPsiFileTest > testRecursivelyImportedRobotFiles STARTED

16:01:08.920 [DEBUG] [TestEventLogger]

16:01:08.920 [DEBUG] [TestEventLogger] amailp.intellij.robot.psi.RobotPsiFileTest > testRecursivelyImportedRobotFiles FAILED

16:01:08.920 [DEBUG] [TestEventLogger] java.lang.NullPointerException

16:01:08.921 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.c(LightPlatformTestCase.java:225)

16:01:08.930 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.a(LightPlatformTestCase.java:237)

16:01:08.930 [DEBUG] [TestEventLogger] at com.intellij.testFramework.LightPlatformTestCase.doSetup(LightPlatformTestCase.java:315)

16:01:08.930 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:53)

16:01:08.931 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$26.run(CodeInsightTestFixtureImpl.java:1381)

16:01:08.931 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:25)

16:01:08.931 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.931 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:37)

16:01:08.931 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion.runInEdtAndWait(EdtTestUtil.kt:25)

16:01:08.932 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil.runInEdtAndWait(EdtTestUtil.kt)

16:01:08.932 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1378)

16:01:08.932 [DEBUG] [TestEventLogger] at com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase.setUp(LightPlatformCodeInsightFixtureTestCase.java:61)

16:01:08.932 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:358)

16:01:08.933 [DEBUG] [TestEventLogger] at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:419)

16:01:08.933 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:25)

16:01:08.933 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:23)

16:01:08.933 [DEBUG] [TestEventLogger] at com.intellij.testFramework.EdtTestUtilKt$sam$Runnable$a15fd9f8.run(EdtTestUtil.kt)

16:01:08.934 [DEBUG] [TestEventLogger] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)

16:01:08.934 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)

16:01:08.934 [DEBUG] [TestEventLogger] at java.awt.EventQueue.access$300(EventQueue.java:103)

16:01:08.934 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:706)

16:01:08.935 [DEBUG] [TestEventLogger] at java.awt.EventQueue$3.run(EventQueue.java:704)

16:01:08.935 [DEBUG] [TestEventLogger] at java.security.AccessController.doPrivileged(Native Method)

16:01:08.935 [DEBUG] [TestEventLogger] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

16:01:08.935 [DEBUG] [TestEventLogger] at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)

16:01:08.936 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)

16:01:08.936 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)

16:01:08.936 [DEBUG] [TestEventLogger] at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)

16:01:08.936 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

16:01:08.937 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

16:01:08.937 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

16:01:08.937 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

16:01:08.937 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

16:01:08.937 [DEBUG] [TestEventLogger] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

 

 

2 comments
Comment actions Permalink

Make sure you have all the dependent plug-ins enabled. Python plug-in requires Coverage enabled. Did you disable it?

0
Comment actions Permalink

Thanks for the hint. I did not have the coverage plugin loaded. Now with both "coverage" and the "yaml" plugin the tests run fine.

Regards,

Valerio

0

Please sign in to leave a comment.