Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalArgumentException: attempted to invoke public void org.robolectric.shadows.ShadowConfiguration.__constructor__(android.content.res.Configuration) on instance of class org.robolectric.shadows.ShadowConfiguration, but ShadowConfiguration doesn't extend ShadowConfiguration	at android.content.res.Configuration.(Configuration.java:545)	at android.content.res.Configuration.__staticInitializer__(Configuration.java:39)	at org.robolectric.bytecode.RobolectricInternals.performStaticInitialization(RobolectricInternals.java:157)	at org.robolectric.bytecode.ShadowWrangler.classInitializing(ShadowWrangler.java:69)	at org.robolectric.bytecode.RobolectricInternals.classInitializing(RobolectricInternals.java:67)	at android.content.res.Configuration.(Configuration.java)	at org.robolectric.shadows.ShadowResources.setSystemResources(ShadowResources.java:85)	at org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:82)	at org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:430)	at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:236)	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)	at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:177)	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)