java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NPE when running unit tests.
    via GitHub by EBatTiVo
    ,
    • java.lang.RuntimeException: java.lang.NullPointerException at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1127) at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2074) at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1119) at com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase.setUp(JavaCodeInsightFixtureTestCase.java:57) at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:340) at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:353) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672) at java.awt.EventQueue.access$400(EventQueue.java:81) at java.awt.EventQueue$2.run(EventQueue.java:633) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:642) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.NullPointerException at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:106) at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:33) at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:80) at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:85) at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.a(HeavyIdeaTestFixtureImpl.java:148) at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.setUp(HeavyIdeaTestFixtureImpl.java:102) at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1123) ... 20 more
    No Bugmate found.