Problem running a test - CNFE: org.apache.http.auth.Credentials

Hi,

I'm writing a simple plugin for a new language (org-mode files) and I've been trying to write it in a test-first way. So I've created a folding test, as follows:

 
public class FoldingTest extends LightCodeInsightFixtureTestCase {

    @Override
    protected
String getTestDataPath() {
        return "testData/parsing";
    
}

    private void doTest() {
        myFixture.testFolding(getTestDataPath() + "/" + getTestName(true) + ".org");
    
}

    public void testSimple() {
        doTest();
    
}
}


But when I run it, I get java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials caused by java.lang.ClassNotFoundException: org.apache.http.auth.Credentials

Can you help? What am I doing wrong?

The full output is below.

Thanks
Sergej

"C:\Program Files\Java\jdk1.8.0_25\bin\java" -ea "-Xbootclasspath/a:C:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1\lib\boot.jar" -Didea.load.plugins.id=com.yourcompany.unique.plugin.id -Didea.home.path=C:\Users\Sergej\.IntelliJIdea14\system\plugins-sandbox\test -Didea.plugins.path=C:\Users\Sergej\.IntelliJIdea14\system\plugins-sandbox\plugins -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_25\lib\tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1\lib\resources.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 14.1\lib\idea.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\junit\lib\junit-rt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_25\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\alloy.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\annotations.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\asm-all.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\asm-commons.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\asm-tree-3.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\asm.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\asm4-all.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\automaton.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\batik.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\boot.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\bootstrap.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\cglib-2.2.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\cli-parser-1.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\commons-codec-1.8.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\commons-httpclient-3.1-patched.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\commons-logging-1.1.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\ecj-4.4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\extensions.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\forms_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\freemarker.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\fxHelpBrowser.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\guava-17.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\hamcrest-core-1.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\hamcrest-library-1.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\icons.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\idea-jsp-openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\idea.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\isorelax.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jasper21_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jasper2_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\javac2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jaxen-1.1.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jayatana-1.2.4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jcip-annotations.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jdkAnnotations.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jdom.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jettison-1.3.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jgoodies-common-1.2.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jgoodies-forms.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jgoodies-looks-2.4.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jh.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jing.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jna-utils.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jna.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jps-launcher.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jps-model.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jps-server.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch-0.1.51.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.connector-factory.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.core.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.pageant.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.sshagent.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.usocket-jna.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsch.agentproxy.usocket-nc.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsp-api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsr166e.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jsr173_1.0_api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\junit-4.11.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\jzlib-1.1.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\log4j.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\markdownj-core-0.4.2-SNAPSHOT.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\microba.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\miglayout-swing.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\nanoxml-2.2.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\nekohtml-1.9.14.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\optimizedFileManager.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\oromatcher.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\picocontainer.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\protobuf-2.5.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\purejavacomm.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\resolver.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\resources.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\rhino-js-1_7R4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\rngom-20051226-patched.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\sanselan-0.98-snapshot.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\serviceMessages.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\servlet-api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\swingx-core-1.6.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\trang-core.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\trove4j.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\trove4j_src.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\util.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\velocity.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\winp-1.21-patched.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xbean.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xerces.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xml-apis.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xmlrpc-2.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xpp3-1.1.4-min.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\xstream-1.4.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\yjp-controller-api-redist.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\JavaEE\lib\gradle-javaee.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\JavaEE\lib\IntelliLang-javaee.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\JavaEE\lib\javaee-openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\JavaEE\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\PersistenceSupport\lib\persistence-openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\PersistenceSupport\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\DatabaseTools\lib\database-openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\DatabaseTools\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\CSS\lib\css-openapi.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\CSS\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\uml\lib\diagram-api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\Spring\lib\spring-aop.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\Spring\lib\spring-api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\Spring\lib\spring-eclipse.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\plugins\Spring\lib\spring-web.jar;C:\devel\org-plugin\out\test\org-plugin;C:\devel\org-plugin\out\production\org-plugin;C:\devel\org-plugin\testLib\mockito-all-1.10.19.jar;C:\devel\org-plugin\testLib\powermock-api-mockito-1.6.2.jar;C:\devel\org-plugin\testLib\powermock-api-support-1.6.2.jar;C:\devel\org-plugin\testLib\powermock-core-1.6.2.jar;C:\devel\org-plugin\testLib\powermock-reflect-1.6.2.jar;C:\devel\org-plugin\testLib\objenesis-2.1.jar;C:\devel\org-plugin\testLib\javassist-3.19.0-GA.jar;C:\devel\org-plugin\testLib\powermock-module-junit4-1.6.2.jar;C:\devel\org-plugin\testLib\junit-4.12.jar;C:\devel\org-plugin\testLib\hamcrest-core-1.3.jar;C:\devel\org-plugin\testLib\powermock-module-junit4-common-1.6.2.jar" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit3 orgmode.platform.FoldingTest,testSimple
log4j:WARN No appenders could be found for logger (#com.intellij.openapi.util.io.ZipFileCache).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:344)
 at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:427)
 at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:417)
 at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:403)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:108)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87)
 at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101)
 at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:504)
 at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:486)
 at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:56)
 at com.intellij.openapi.application.RunResult.run(RunResult.java:38)
 at com.intellij.openapi.application.WriteAction$1$1.run(WriteAction.java:47)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:937)
 at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:44)
 at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:53)
 at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:53)
 at com.intellij.testFramework.LightPlatformTestCase.initApplication(LightPlatformTestCase.java:167)
 at com.intellij.testFramework.fixtures.impl.LightIdeaTestFixtureImpl.setUp(LightIdeaTestFixtureImpl.java:50)
 at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$21.run(CodeInsightTestFixtureImpl.java:1216)
 at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2398)
 at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1212)
 at com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase.setUp(LightCodeInsightFixtureTestCase.java:100)
 at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:341)
 at com.intellij.testFramework.UsefulTestCase$4.run(UsefulTestCase.java:428)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
 at java.awt.EventQueue.access$400(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:697)
 at java.awt.EventQueue$3.run(EventQueue.java:691)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: org.apache.http.auth.Credentials
 at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 40 more

ERROR: com.intellij.openapi.project.impl.ProjectManagerImpl has unsatisfied dependency: class com.intellij.ide.RecentProjectsManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.VirtualFileManager, class com.intellij.ide.RecentProjectsManager, class com.intellij.openapi.progress.ProgressManager]] where com.intellij.util.pico.DefaultPicoContainer@b994c03 was the leaf container being asked for dependencies.
org.picocontainer.defaults.UnsatisfiableDependenciesException: com.intellij.openapi.project.impl.ProjectManagerImpl has unsatisfied dependency: class com.intellij.ide.RecentProjectsManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.VirtualFileManager, class com.intellij.ide.RecentProjectsManager, class com.intellij.openapi.progress.ProgressManager]] where com.intellij.util.pico.DefaultPicoContainer@b994c03 was the leaf container being asked for dependencies.
 at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getGreediestSatisfiableConstructor(ConstructorInjectionComponentAdapter.java:113)
 at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:210)
 at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
 at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
 at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:58)
 at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:550)
 at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)
 at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)
 at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:168)
 at com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:538)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:199)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:194)
 at com.intellij.openapi.project.ex.ProjectManagerEx.getInstanceEx(ProjectManagerEx.java:33)
 at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:299)
 at com.intellij.openapi.application.impl.ApplicationImpl.access$400(ApplicationImpl.java:87)
 at com.intellij.openapi.application.impl.ApplicationImpl$5$1.run(ApplicationImpl.java:288)
 at com.intellij.openapi.util.ShutDownTracker$2.run(ShutDownTracker.java:171)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
 at java.awt.EventQueue.access$400(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:697)
 at java.awt.EventQueue$3.run(EventQueue.java:691)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
ERROR: com.intellij.openapi.project.impl.ProjectManagerImpl has unsatisfied dependency: class com.intellij.ide.RecentProjectsManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.VirtualFileManager, class com.intellij.ide.RecentProjectsManager, class com.intellij.openapi.progress.ProgressManager]] where com.intellij.util.pico.DefaultPicoContainer@b994c03 was the leaf container being asked for dependencies.
java.lang.AssertionError: com.intellij.openapi.project.impl.ProjectManagerImpl has unsatisfied dependency: class com.intellij.ide.RecentProjectsManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.VirtualFileManager, class com.intellij.ide.RecentProjectsManager, class com.intellij.openapi.progress.ProgressManager]] where com.intellij.util.pico.DefaultPicoContainer@b994c03 was the leaf container being asked for dependencies.
 at com.intellij.testFramework.LoggedErrorProcessor.processError(LoggedErrorProcessor.java:56)
 at com.intellij.testFramework.TestLogger.error(TestLogger.java:67)
 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134)
 at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:134)
 at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:403)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:737)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.AssertionError: com.intellij.openapi.project.impl.ProjectManagerImpl has unsatisfied dependency: class com.intellij.ide.RecentProjectsManager among unsatisfiable dependencies: [[class com.intellij.openapi.vfs.VirtualFileManager, class com.intellij.ide.RecentProjectsManager, class com.intellij.openapi.progress.ProgressManager]] where com.intellij.util.pico.DefaultPicoContainer@b994c03 was the leaf container being asked for dependencies.
 at com.intellij.testFramework.LoggedErrorProcessor.processError(LoggedErrorProcessor.java:56)
 at com.intellij.testFramework.TestLogger.error(TestLogger.java:67)
 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134)
 at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:134)
 at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:403)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Process finished with exit code -1

2 comments
Comment actions Permalink

Please check that C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib folder contains httpclient-4.3.6.jar file and that IntelliJ Platform Plugin SDK you've set up contains C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1\lib\httpclient-4.3.6.jar in its classpath settings.

0
Comment actions Permalink

That was it, thanks! Not sure now why I haven't thought of it myself.

0

Please sign in to leave a comment.