AppMain.main() has thrown an AnnotationFormatError

We found this prefix in 3 webpages.
MapChildren (3)Typical messages (1)TraceDetailed Map
  1. java.lang.annotation.AnnotationFormatError
    1.   at java.lang.reflect.Method.getDefaultValue()
    2.   at sun.reflect.annotation.AnnotationType.<init>()
    3.   at sun.reflect.annotation.AnnotationType.getInstance()
    4.   at sun.reflect.annotation.AnnotationParser.parseAnnotation2()
    5.   at sun.reflect.annotation.AnnotationParser.parseAnnotations2()
    6.   at sun.reflect.annotation.AnnotationParser.parseAnnotations()
    7.   at java.lang.Class.createAnnotationData()
    8.   at java.lang.Class.annotationData()
    9.   at java.lang.Class.getAnnotation()
    10.   at com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest()
    11.   at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs()
    12.   at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs()
    13.   at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart()
    14.   at com.intellij.rt.execution.junit.JUnitStarter.main()
    15.   at sun.reflect.NativeMethodAccessorImpl.invoke0()
    16.   at sun.reflect.NativeMethodAccessorImpl.invoke()
    17.   at sun.reflect.DelegatingMethodAccessorImpl.invoke()
    18.   at java.lang.reflect.Method.invoke()
    19.   at com.intellij.rt.execution.application.AppMain.main()
  1. GitHub iconjava.lang.Class org.robolectric.annotation.Config.application()

    First:1 year ago
    Last:9 months ago
    Author:LuckyLi706
  2. GitHub icon java.lang.annotation.AnnotationFormatError at Android Studio 2.3

    First:1 year ago
    Last:1 year ago
    Author:wulaoh
  3. GitHub iconAfter delete .gradle dir,aways happen this :Exception in thread "main" java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()

    First:1 year ago
    Last:5 months ago
    Author:wuseal
MessageNumber of crashes
Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()3
  1. java.lang.annotation.AnnotationFormatError
    1.   at java.lang.reflect.Method.getDefaultValue()
    2.   at sun.reflect.annotation.AnnotationType.<init>()
    3.   at sun.reflect.annotation.AnnotationType.getInstance()
    4.   at sun.reflect.annotation.AnnotationParser.parseAnnotation2()
    5.   at sun.reflect.annotation.AnnotationParser.parseAnnotations2()
    6.   at sun.reflect.annotation.AnnotationParser.parseAnnotations()
    7.   at java.lang.Class.createAnnotationData()
    8.   at java.lang.Class.annotationData()
    9.   at java.lang.Class.getAnnotation()
    10.   at com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest()
    11.   at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs()
    12.   at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs()
    13.   at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart()
    14.   at com.intellij.rt.execution.junit.JUnitStarter.main()
    15.   at sun.reflect.NativeMethodAccessorImpl.invoke0()
    16.   at sun.reflect.NativeMethodAccessorImpl.invoke()
    17.   at sun.reflect.DelegatingMethodAccessorImpl.invoke()
    18.   at java.lang.reflect.Method.invoke()
    19.   at com.intellij.rt.execution.application.AppMain.main()