java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype

GitHub | NeilConcur | 5 months ago
  1. 0

    GitHub comment 1766#234018316

    GitHub | 5 months ago | NeilConcur
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  2. 0

    GitHub comment 2379#203278437

    GitHub | 8 months ago | SimonHaenle
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  3. 0

    "libraries" property in robolectric.properties crashes robolectric when libraries are not found

    GitHub | 1 year ago | athkalia
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2398#208569798

    GitHub | 8 months ago | menny
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  6. 0

    GitHub comment 2398#208571481

    GitHub | 8 months ago | jongerrish
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype

  1. kid 1 times, last 1 month ago
  2. Handemelindo 2 times, last 2 months ago
54 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ServiceConfigurationError

    org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype

    at java.util.ServiceLoader.fail()
  2. Java RT
    ServiceLoader$1.next
    1. java.util.ServiceLoader.fail(ServiceLoader.java:239)
    2. java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    5 frames
  3. Roboelectric
    InstrumentationConfiguration$Builder.build
    1. org.robolectric.internal.bytecode.InstrumentationConfiguration$Builder.build(InstrumentationConfiguration.java:151)
    1 frame
  4. com.test
    TestRunner.createClassLoaderConfig
    1. com.test.TestRunner.createClassLoaderConfig(CorpTestRunner.java:39)
    1 frame
  5. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:191)
    2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
    2 frames
  6. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  7. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:159)
    1 frame
  8. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runners.Suite.runChild(Suite.java:128)
    3. org.junit.runners.Suite.runChild(Suite.java:27)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    10 frames
  9. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  10. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  12. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame