Created
March 2, 2022 10:57
-
-
Save shankarpriyank/8bd90c7baa321f53e21bcae652c4540d to your computer and use it in GitHub Desktop.
Test Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files (x86)\Java\jdk1.8.0_202\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\Android\Android Studio\lib\idea_rt.jar=58997:C:\Program Files\Android\Android Studio\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Android\Android Studio\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\shank\AppData\Local\Temp\idea_classpath683113976 com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 org.oppia.android.app.profile.ProfileChooserFragmentTest | |
Exception in thread "main" java.lang.reflect.InvocationTargetException | |
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.CommandLineWrapper.main(CommandLineWrapper.java:64) | |
Caused by: java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application() | |
at java.lang.reflect.Method.getDefaultValue(Method.java:612) | |
at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:132) | |
at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85) | |
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:266) | |
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120) | |
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72) | |
at java.lang.Class.createAnnotationData(Class.java:3521) | |
at java.lang.Class.annotationData(Class.java:3510) | |
at java.lang.Class.getAnnotation(Class.java:3415) | |
at com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest(JUnit4TestRunnerUtil.java:213) | |
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:47) | |
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) | |
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:221) | |
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) | |
... 5 more | |
Picked up _JAVA_OPTIONS: -Xmx1024m | |
Process finished with exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment