java.lang.IllegalStateException

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

  • run spring test in netbeans ide
    via Stack Overflow by Valeriy Voronkov
    ,
  • Support for nested tests
    via GitHub by czietsman
    ,
    • java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:49) at org.spockframework.spring.SpringInterceptor.interceptSetupMethod(SpringInterceptor.java:42) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:28) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:87) at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:471) at org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:375) at org.spockframework.runtime.BaseSpecRunner.runSetup(BaseSpecRunner.java:370) at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:323) at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309) at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480) at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463) at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288) at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278) at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269) at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263) at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246) at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480) at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463) at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238) at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188) at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98) at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84) at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480) at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463) at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76) at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67) at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

    Users with the same issue

    rlovtangenrlovtangen
    1 times, last one,
    tvrmsmithtvrmsmith
    1 times, last one,
    BuggerBugger
    1 times, last one,
    qavidqavid
    1 times, last one,
    Shadd518Shadd518
    1 times, last one,
    14 more bugmates