You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Attempt to get length of null array
at org.junit.extensions.cpsuite.RecursiveFilenameIterator.getInnerIterators(RecursiveFilenameIterator.java:46)
at org.junit.extensions.cpsuite.RecursiveFilenameIterator.(RecursiveFilenameIterator.java:36)
at org.junit.extensions.cpsuite.RecursiveFilenameIterator.(RecursiveFilenameIterator.java:29)
at org.junit.extensions.cpsuite.ClasspathClassesFinder.gatherClassesInRoot(ClasspathClassesFinder.java:65)
at org.junit.extensions.cpsuite.ClasspathClassesFinder.findClassesInRoots(ClasspathClassesFinder.java:50)
at org.junit.extensions.cpsuite.ClasspathClassesFinder.findClassesInClasspath(ClasspathClassesFinder.java:44)
at org.junit.extensions.cpsuite.ClasspathClassesFinder.find(ClasspathClassesFinder.java:33)
at org.junit.extensions.cpsuite.ClasspathSuite.getSortedTestclasses(ClasspathSuite.java:127)
at org.junit.extensions.cpsuite.ClasspathSuite.(ClasspathSuite.java:117)
at org.junit.extensions.cpsuite.ClasspathSuite.(ClasspathSuite.java:110)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:107)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at android.support.test.internal.runner.junit4.AndroidAnnotatedBuilder.runnerForClass(AndroidAnnotatedBuilder.java:77)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runner.Computer.getRunner(Computer.java:40)
at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
at org.junit.runners.Suite.(Suite.java:81)
at org.junit.runner.Computer.getSuite(Computer.java:28)
at android.support.test.internal.runner.TestRequestBuilder.classes(TestRequestBuilder.java:789)
at android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:753)
at android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:354)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:260)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
The text was updated successfully, but these errors were encountered:
I've encountered a problem when running a test by ClasspathSuite runner on Android platform:
The problem seems to be caused by Android specific value for "java.class.path" property: it's always '.'
See https://developer.android.com/reference/java/lang/System.html
So it fails with the following exception:
The text was updated successfully, but these errors were encountered: