Plugin Testing (Windows)

Hi all,

I've just been following some of the guides on running tests and i'm hitting some issues;

This is currently my test file

import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
import org.junit.Assert;

public class BasicTest extends LightCodeInsightFixtureTestCase {
    public void testCompletion() {
        Assert.assertTrue(true);
    }
}


And these are some of the errors which I seem to get; It seems to be somewhat non-deterministic however

 java.io.FileNotFoundException: Native filesystem .dll is missing, home: [Path to IDEA version settings]


I have also been getting these errors too; Sometimes the required plugin will be different, for instance sometimes 'com.intellij.javaee' and sometimes 'JavaScript';

log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
ERROR: Problems found loading plugins:
<br>Plugin "JSF Support" was not loaded: required plugin "JavaScript" not installed.<br><br><a href="disable">Disable JSF Support</a><br><a href="edit">Open plugin manager</a>
java.lang.Throwable
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
     at com.intellij.ide.plugins.PluginManager.b(PluginManager.java:323)
     at com.intellij.ide.plugins.PluginManager.a(PluginManager.java:238)
     at com.intellij.ide.plugins.PluginManager.initPlugins(PluginManager.java:120)
     at com.intellij.openapi.application.impl.ApplicationImpl.d(ApplicationImpl.java:402)
     at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:239)
     at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:39)
     at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:58)
     at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:52)
     at com.intellij.idea.IdeaTestApplication.<init>(IdeaTestApplication.java:34)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:48)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at junit.framework.TestCase.runBare(TestCase.java:132)
     at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:281)
     at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:293)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

java.lang.AssertionError: Problems found loading plugins:
<br>Plugin "JSF Support" was not loaded: required plugin "com.intellij.javaee" not installed.<br><br><a href="disable">Disable JSF Support</a><br><a href="edit">Open plugin manager</a>
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
     at com.intellij.ide.plugins.PluginManager.b(PluginManager.java:323)
     at com.intellij.ide.plugins.PluginManager.a(PluginManager.java:238)
     at com.intellij.ide.plugins.PluginManager.initPlugins(PluginManager.java:120)
     at com.intellij.openapi.application.impl.ApplicationImpl.d(ApplicationImpl.java:402)
     at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:239)
     at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:39)
     at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:58)
     at com.intellij.idea.CommandLineApplication.<init>(CommandLineApplication.java:52)
     at com.intellij.idea.IdeaTestApplication.<init>(IdeaTestApplication.java:34)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:48)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:281)
     at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:293)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


Hopefully there's an easy solution for these problems! :)

Cheers

12 comments

Just created a new VirtualMachine with Ubuntu and I've had no problems with running the above test.
I'm assuming this is a Windows specific issue then :)

Edit - I was able to reproduce the second error of plugins within Ubuntu still.
I have switched to using a Fixture class, which does not tie me to a specific testing framework, as per the testing documentation

It seems that manually setting the platformPrefix changes the loading of plugins, which stops the JavaScript/Javaee plugin exceptions

System.setProperty(PlatformUtils.PLATFORM_PREFIX_KEY, "PlatformLangXml");

There are comments about what this does specifically here

Unfortunately that still led me to a null pointer exception. Hopefully there's a work around for this too :)

Caused by: java.lang.NullPointerException
     at com.intellij.testFramework.IdeaTestUtil.getMockJdk17(IdeaTestUtil.java:71)
     at com.intellij.testFramework.IdeaTestUtil.getMockJdk17(IdeaTestUtil.java:67)
     at com.intellij.testFramework.fixtures.DefaultLightProjectDescriptor.getSdk(DefaultLightProjectDescriptor.java:40)
     at com.intellij.testFramework.LightPlatformTestCase$2.run(LightPlatformTestCase.java:269)
     at com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteCommandAction.java:177)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAction.java:126)
     at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
     at com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandAction.java:123)
     at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
     at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
     at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:120)
     at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:35)
     at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:76)
     at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:81)
     at com.intellij.testFramework.LightPlatformTestCase.a(LightPlatformTestCase.java:205)
     at com.intellij.testFramework.LightPlatformTestCase.doSetup(LightPlatformTestCase.java:348)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:52)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     ... 20 more
0

Just trying to debug the null pointer exception now;

And it seems that a method call to JavaSdk.getInstance() is returning null.
I've set a breakpoint within the ComponentManagerImpl class; but for some reason the debugger isn't picking up the field 'myInitializedComponents' instance correctly.
I've attached a screenshot of that, as I'm not sure if that's a bug within IntelliJ or not

Hopefully someone knows about some of the inner workings of this and can point me in the right direction :)



Attachment(s):
InteliJ-SDK-Debug.png
0

Please make sure to pass -Didea.home.path pointing to your local IntelliJ Community project's path (see com.intellij.testFramework.IdeaTestUtil#getPathForJdkNamed)

0

Brilliant suggestion Yann! It might be worth adding that information to the testing documentation, possibly under the 'Tests and Fixtures' section, as that section currently talks about being able to use Custom test runners

That now brings me back to the first error I posted, shown below:

log4j:WARN No appenders could be found for logger (#com.intellij.ide.plugins.PluginManager).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
ERROR: Failed to load native filesystem for Windows
java.io.FileNotFoundException: Native filesystem .dll is missing (path=C:\Users\foo\.IntelliJIdea12\system\plugins-sandbox\test\bin content=null)
     at com.intellij.openapi.util.io.win32.IdeaWin32.(IdeaWin32.java:51)
     at com.intellij.openapi.util.io.FileSystemUtil.getMediator(FileSystemUtil.java:72)
     at com.intellij.openapi.util.io.FileSystemUtil.(FileSystemUtil.java:65)
     at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:415)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.c(FSRecords.java:237)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.connect(FSRecords.java:126)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:498)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.initComponent(PersistentFSImpl.java:99)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:268)
     at org.picocontainer.defaults.CollectionComponentParameter.resolveInstance(CollectionComponentParameter.java:127)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:116)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:174)
     at com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:564)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:202)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:197)
     at com.intellij.openapi.vfs.VirtualFileManager.getInstance(VirtualFileManager.java:43)
     at com.intellij.openapi.vfs.LocalFileSystem$LocalFileSystemHolder.(LocalFileSystem.java:42)
     at com.intellij.openapi.vfs.LocalFileSystem.getInstance(LocalFileSystem.java:46)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.b(FileBasedStorage.java:115)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.(FileBasedStorage.java:74)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$1.(StateStorageManagerImpl.java:235)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.b(StateStorageManagerImpl.java:234)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:176)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:109)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:54)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:285)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: Failed to load native filesystem for Windows
java.lang.AssertionError: Failed to load native filesystem for Windows
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:65)
     at com.intellij.openapi.util.io.win32.IdeaWin32.(IdeaWin32.java:61)
     at com.intellij.openapi.util.io.FileSystemUtil.getMediator(FileSystemUtil.java:72)
     at com.intellij.openapi.util.io.FileSystemUtil.(FileSystemUtil.java:65)
     at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:415)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.c(FSRecords.java:237)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.connect(FSRecords.java:126)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:498)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.initComponent(PersistentFSImpl.java:99)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:268)
     at org.picocontainer.defaults.CollectionComponentParameter.resolveInstance(CollectionComponentParameter.java:127)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:116)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:174)
     at com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:564)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:202)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:197)
     at com.intellij.openapi.vfs.VirtualFileManager.getInstance(VirtualFileManager.java:43)
     at com.intellij.openapi.vfs.LocalFileSystem$LocalFileSystemHolder.(LocalFileSystem.java:42)
     at com.intellij.openapi.vfs.LocalFileSystem.getInstance(LocalFileSystem.java:46)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.b(FileBasedStorage.java:115)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.(FileBasedStorage.java:74)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$1.(StateStorageManagerImpl.java:235)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.b(StateStorageManagerImpl.java:234)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:176)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:109)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:54)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:285)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: Could not initialize class com.intellij.openapi.util.io.FileSystemUtil
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.openapi.util.io.FileSystemUtil
     at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:415)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.c(FSRecords.java:237)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.connect(FSRecords.java:126)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:498)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.initComponent(PersistentFSImpl.java:99)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:174)
     at com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:564)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:202)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:197)
     at com.intellij.openapi.vfs.VirtualFileManager.getInstance(VirtualFileManager.java:43)
     at com.intellij.openapi.vfs.LocalFileSystem$LocalFileSystemHolder.(LocalFileSystem.java:42)
     at com.intellij.openapi.vfs.LocalFileSystem.getInstance(LocalFileSystem.java:46)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.b(FileBasedStorage.java:115)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.(FileBasedStorage.java:74)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$1.(StateStorageManagerImpl.java:235)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.b(StateStorageManagerImpl.java:234)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:176)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:109)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:54)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:285)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: Could not initialize class com.intellij.openapi.util.io.FileSystemUtil
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.openapi.util.io.FileSystemUtil
     at com.intellij.openapi.util.io.FileUtil.delete(FileUtil.java:415)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.c(FSRecords.java:237)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.connect(FSRecords.java:126)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:498)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.initComponent(PersistentFSImpl.java:99)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:217)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:174)
     at com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:564)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:202)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:197)
     at com.intellij.openapi.vfs.newvfs.ManagingFS$ManagingFSHolder.(ManagingFS.java:31)
     at com.intellij.openapi.vfs.newvfs.ManagingFS.getInstance(ManagingFS.java:35)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:95)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:73)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.b(FileBasedStorage.java:115)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.(FileBasedStorage.java:74)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$1.(StateStorageManagerImpl.java:235)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.b(StateStorageManagerImpl.java:234)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:176)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:109)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:54)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:285)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.b(FSRecords.java:477)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$900(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:711)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:773)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:52)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:95)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:73)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.b(FileBasedStorage.java:115)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.(FileBasedStorage.java:74)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$1.(StateStorageManagerImpl.java:235)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.b(StateStorageManagerImpl.java:234)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:176)
     at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:109)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:54)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:285)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.g(FSRecords.java:329)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$800(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:660)
     ... 61 more
ERROR: java.lang.NullPointerException
java.lang.AssertionError: java.lang.NullPointerException
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:96)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.b(FSRecords.java:477)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$900(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:711)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:773)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:52)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:36)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:62)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByIoFile(LocalFileSystemBase.java:88)
     at com.intellij.openapi.components.impl.stores.StorageUtil.getVirtualFile(StorageUtil.java:168)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.getVirtualFile(FileBasedStorage.java:240)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadDocument(FileBasedStorage.java:254)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadData(XmlElementStorage.java:161)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:154)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:124)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:146)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:237)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:180)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$100(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:87)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:661)
     ... 76 more
ERROR: java.lang.NullPointerException
java.lang.AssertionError: java.lang.NullPointerException
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:96)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
     at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.b(FSRecords.java:477)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$900(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:711)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:773)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:52)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:36)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:62)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByIoFile(LocalFileSystemBase.java:88)
     at com.intellij.openapi.components.impl.stores.StorageUtil.getVirtualFile(StorageUtil.java:168)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.getVirtualFile(FileBasedStorage.java:240)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadDocument(FileBasedStorage.java:254)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadData(XmlElementStorage.java:161)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:154)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.hasState(XmlElementStorage.java:139)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:286)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$000(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:84)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:661)
     ... 61 more
ERROR: java.lang.NullPointerException
java.lang.AssertionError: java.lang.NullPointerException
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:96)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.b(FSRecords.java:477)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$900(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:711)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:773)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:52)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:36)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:62)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByIoFile(LocalFileSystemBase.java:88)
     at com.intellij.openapi.components.impl.stores.StorageUtil.getVirtualFile(StorageUtil.java:168)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.getVirtualFile(FileBasedStorage.java:240)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadDocument(FileBasedStorage.java:254)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadData(XmlElementStorage.java:161)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:154)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:124)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:146)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:237)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:180)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$100(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:87)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:661)
     ... 63 more
ERROR: java.lang.NullPointerException
java.lang.AssertionError: java.lang.NullPointerException
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:96)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.b(FSRecords.java:477)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$DbConnection.access$900(FSRecords.java:105)
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:711)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:773)
     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:52)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.a(VfsImplUtil.java:136)
     at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:36)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:62)
     at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByIoFile(LocalFileSystemBase.java:88)
     at com.intellij.openapi.components.impl.stores.StorageUtil.getVirtualFile(StorageUtil.java:168)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.getVirtualFile(FileBasedStorage.java:240)
     at com.intellij.openapi.components.impl.stores.FileBasedStorage.loadDocument(FileBasedStorage.java:254)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.loadData(XmlElementStorage.java:161)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getStorageData(XmlElementStorage.java:154)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:124)
     at com.intellij.openapi.components.impl.stores.XmlElementStorage.getState(XmlElementStorage.java:146)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:237)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:180)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$100(ComponentStoreImpl.java:44)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$1.run(ComponentStoreImpl.java:87)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:81)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findRootRecord(FSRecords.java:661)
     ... 63 more
ERROR: java.lang.NullPointerException
java.lang.AssertionError: java.lang.NullPointerException
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:96)
     at com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:208)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.b(ComponentManagerImpl.java:215)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1300(ComponentManagerImpl.java:55)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:587)
     at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:630)
     at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:242)
     at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:229)
     at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
     at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: Assertion failed: Can't instantiate component for: class com.intellij.openapi.fileTypes.FileTypeManager
java.lang.Throwable
     at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:128)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
ERROR: null
java.lang.reflect.InvocationTargetException
     at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272)
     at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247)
     at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1991)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at foo.CucumberFixture.setUp(CucumberFixture.java:30)
     at foo.World.setUp(World.java:18)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at cucumber.runtime.Utils$1.call(Utils.java:44)
     at cucumber.runtime.Timeout.timeout(Timeout.java:12)
     at cucumber.runtime.Utils.invoke(Utils.java:40)
     at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
     at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:197)
     at cucumber.runtime.Runtime.runHooks(Runtime.java:185)
     at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:175)
     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:32)
     at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112)
     at cucumber.runtime.Runtime.run(Runtime.java:105)
     at cucumber.runtime.Runtime.run(Runtime.java:93)
     at cucumber.api.cli.Main.run(Main.java:20)
     at cucumber.api.cli.Main.main(Main.java:12)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.lang.AssertionError: Assertion failed: Can't instantiate component for: class com.intellij.openapi.fileTypes.FileTypeManager
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:65)
     at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:128)
     at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:412)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
     at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346)
     at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:82)
     at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:543)
     at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:53)
     at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
     at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:35)
     at com.intellij.ui.GuiUtils.runOrInvokeAndWait(GuiUtils.java:380)
     at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:31)
     at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:51)
     at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:154)
     at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:51)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$16.run(CodeInsightTestFixtureImpl.java:1090)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1987)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1086)
     at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:69)
     at foo.CucumberFixture.access$001(CucumberFixture.java:17)
     at foo.CucumberFixture$1.run(CucumberFixture.java:34)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

before




java.lang.AssertionError: null
     at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
     at com.intellij.testFramework.TestLogger.error(TestLogger.java:52)
     at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
     at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1994)
     at com.intellij.testFramework.UsefulTestCase.edt(UsefulTestCase.java:272)
     at foo.CucumberFixture.setUp(CucumberFixture.java:30)
     at foo.World.setUp(World.java:18)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at cucumber.runtime.Utils$1.call(Utils.java:44)
     at cucumber.runtime.Timeout.timeout(Timeout.java:12)
     at cucumber.runtime.Utils.invoke(Utils.java:40)
     at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)
     at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:197)
     at cucumber.runtime.Runtime.runHooks(Runtime.java:185)
     at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:175)
     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:32)
     at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:112)
     at cucumber.runtime.Runtime.run(Runtime.java:105)
     at cucumber.runtime.Runtime.run(Runtime.java:93)
     at cucumber.api.cli.Main.run(Main.java:20)
     at cucumber.api.cli.Main.main(Main.java:12)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)





Skipped step

after





1 scenario (0 passed)


1 steps (0 passed)


Process finished with exit code 1


Which I certainly consider to be progress :)

Cheers

0

It took me a while to find this post from Google http://devnet.jetbrains.com/thread/441514, and it offered a possible solution for the above exception.
However that brings back the original NullPointerException JDK at at com.intellij.testFramework.IdeaTestUtil.getMockJdk17

This is the relevant code from IdeaTestUtil

public static Sdk getMockJdk17(@NotNull String name) {
  return JavaSdk.getInstance().createJdk(name, getMockJdk17Path().getPath(), false);
}


The call to getMockJdk17Path().getPath() reoslves to C:\Users\alan\.IntelliJIdea12\system\plugins-sandbox\test\community\java\mockJDK-1.7 - Which as far as I can tell is the random path that it plans to create a mock JDK at.

The JavaSdk.getInstance() method returns null however, which results in the NullPointerException.
And as attached to my previous post, I can not inspect the getter code for the Sdk for some reason; potentially due to a bug within IntelliJ's variable inspector.

I am currently running with the following JVM args

-ea
"-Xbootclasspath/a:C:/Program Files (x86)/JetBrains/IntelliJ IDEA 12.1.4\lib\boot.jar"
-Didea.home.path=C:\Users\alan\.IntelliJIdea12\system\plugins-sandbox\test
-Didea.plugins.path=C:\Users\alan\.IntelliJIdea12\system\plugins-sandbox\plugins
-Didea.launcher.port=7532
"-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.4\bin"
-Dfile.encoding=UTF-8


IntelliJ doesn't seem to be picking up the project type to be of type PLUGIN_MODULE... I'll have to investigate this a bit more it seems :)

0

I have still not been able to resolve these issues; However I can definitely confirm that these problems are specifically related to instantiating the test fixture from CucumberJVM.
The initial problem of not being able to find the Windows dll has been fixed by the previously reference post here

So for all intenstive purposes the original question regarding Windows issues has been answered;
However the tests still do not run within the context of CucumberJVM. I have attached an example project showing that issue here

Cheers
Alan

0

Hi Alan,

The Mock JDK is per project, so IdeaTestUtil.getMockJdk17() returns one that's good for the community plugin. For your own plugin, you'll have to copy the mock JDK files somewhere in your plugin and then you can point to them by overriding getProjectJDK in your test case. Some random snippets from my plugin from a test base class:

Base test class:
  private static String JDK_HOME = TestUtils.getMockJdk();


  @Override
  protected Sdk getProjectJDK() {
    return JavaSdk.getInstance().createJdk("java sdk", JDK_HOME, false);
  }


TestUtils.java:

  public static String getMockJdk() {
    return getTestDataPath() + "/mockJDK";
  }

That should work.

Cheers,
Colin

0

Hi Collin,

Thanks for the reply!
I have just switched over to the test class you suggested, but i'm still hitting issues.

The main problem is that `JavaSdk.getInstance()` actually returns null, which then results in a NPE when 'createJdk("java sdk", JDK_HOME, false)' is called

Do you happen to know how they might be happening? :)
Here's a screenshot for clarity;



Are there any reasons why this might happen?

Cheers
Alan



Attachment(s):
CucumberTestingNPE.png
0

Hmm, I'm not sure about that to be honest - which test class are you using? Mine is derived from LightPlatformCodeInsightTestCase.

0

The main difference is that i'm trying to kick this off from CucumberJVM you see :)
I've got an example project here http://devnet.jetbrains.com/servlet/JiveServlet/download/5490514-18339/untitled.zip (from the post http://devnet.jetbrains.com/message/5490385#5490514)

You can trigger the test by right clicking HelloWorld.feature and clicking run Feature.
That will fire the @Before method in the World class, which then tries to instantiate CucumberLightFixture (LightCodeInsightTestCase) class, and it's there that the NPE is fired when trying to get the mock sdk :(

0

Ok, I see - so you're not actually needing JUnit for your tests at all, and I think you should be using test fixtures instead (which is what I do for Clojure testing). Sorry, I can't actually run your example, I'm only on the community edition right now.

In your @Before method, do something like the following:

public class World {
  public static CucumberLightFixture cucumberLightFixture;


  private static String testDataPath = null;
  private JavaCodeInsightTestFixture fixture;


  @Before
  public void setUp() throws Exception {
    System.out.println("Attempting to setUp World");
    IdeaTestFixtureFactory fixtureFactory = IdeaTestFixtureFactory.getFixtureFactory();
    LightProjectDescriptor descriptor = new DefaultLightProjectDescriptor() {
      @Override
      public Sdk getSdk()
      {
        return JavaSdk.getInstance().createJdk("1.7", getMockJdk(), false);
      }
    };
    TestFixtureBuilder<IdeaProjectTestFixture> fixtureBuilder =
      fixtureFactory.createLightFixtureBuilder(descriptor);
    IdeaProjectTestFixture fixture = fixtureBuilder.getFixture();
    JavaTestFixtureFactory javaFixtureFactory = JavaTestFixtureFactory.getFixtureFactory();
    fixture = javaFixtureFactory.createCodeInsightFixture(fixture, new LightTempDirTestFixtureImpl(true));
    
    System.out.println("Successfully setUp World for testing");
  }


  public static String getMockJdk()
  {
    return getTestDataPath() + "/mockJDK";
  }


  public static String getTestDataPath()
  {
    if (testDataPath == null) {
      ClassLoader loader = World.class.getClassLoader();
      URL resource = loader.getResource("testdata");
      testDataPath = new File("testdata").getAbsolutePath();
      if (resource != null) {
        try
        {
          testDataPath = new File(resource.toURI()).getPath().replace(File.separatorChar, '/');
        }
        catch (URISyntaxException e)
        {
          throw new RuntimeException(e);
        }
      }
    }
    return testDataPath;
  }
}


Again, I can't test this but that should get you started - you can then use fixture to do all your testing, there are many examples in the CE source code and the JUnit classes use this under the hood.
0

The CucumberJVM support is actually a free plugin for the CE too! :)

I modified your example code slightly by calling the setUp() method onthe fixture which allowed it to trigger the getSdk() method.
I was also forced to call the code from the EDT, and added the line System.setProperty(PlatformUtils.PLATFORM_PREFIX_KEY, "PlatformLangXml"); - as I still got the odd exceptions I described originally.

Unfortunately this still leds to an NPE in the LightProjectDescriptor's getSdk() method, as the JavaSdk.getInstance() still returns null :(

Thanks again for the help Colin, I feel like we're close to getting this working! :)

0

Please sign in to leave a comment.