java.lang.Exception: No runnable methods

Google Groups | Vincent Brouillet | 2 months ago
  1. 0

    cucumber run individual or subset with tag filter results in a Number format exception

    Google Groups | 2 months ago | Vincent Brouillet
    java.lang.Exception: No runnable methods
  2. 0

    mvn package failed because no runnable methods but run junit test in eclipse is ok

    Stack Overflow | 11 months ago | zhuguowei
    java.lang.Exception: No runnable methods
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Robolectric integration

    GitHub | 9 months ago | dmarcato
    java.lang.Exception: No runnable methods

  1. Aria Pahlavan 10 times, last 1 week ago
  2. tvrmsmith 2 times, last 4 weeks ago
  3. andyglick 2 times, last 3 months ago
8 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.lang.Exception

    No runnable methods

    at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods()
  2. JUnit
    BlockJUnit4ClassRunner.<init>
    1. org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:191)
    2. org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:128)
    3. org.junit.runners.ParentRunner.validate(ParentRunner.java:416)
    4. org.junit.runners.ParentRunner.<init>(ParentRunner.java:84)
    5. org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
    5 frames
  3. net.serenitybdd.junit
    SerenityRunner.<init>
    1. net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:153)
    2. net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:109)
    3. net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:93)
    3 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  5. JUnit
    ClassRequest.getRunner
    1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
    2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
    3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    6. org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
    6 frames
  6. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
    4 frames
  7. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames