java.lang.IllegalAccessError: cannot access superclass from class

Stack Overflow | Marcin Sasin | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cannot access superclass from class

    Stack Overflow | 9 months ago | Marcin Sasin
    java.lang.IllegalAccessError: cannot access superclass from class

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      cannot access superclass from class

      at sun.misc.Unsafe.defineClass()
    2. Java RT
      ClassInfoImpl.getProperties
      1. sun.misc.Unsafe.defineClass(Native Method)
      2. sun.reflect.ClassDefiner.defineClass(ClassDefiner.java)
      3. sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java)
      6. sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java)
      7. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java)
      8. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
      9. java.lang.reflect.Constructor.newInstance(Constructor.java)
      10. java.lang.reflect.Proxy.newInstance(Proxy.java)
      11. java.lang.reflect.Proxy.newProxyInstance(Proxy.java)
      12. sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java)
      13. sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java)
      14. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java)
      15. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java)
      16. java.lang.reflect.Field.declaredAnnotations(Field.java)
      17. java.lang.reflect.Field.getDeclaredAnnotations(Field.java)
      18. java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java)
      19. com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java)
      20. com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getAllFieldAnnotations(RuntimeInlineAnnotationReader.java)
      21. com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(ClassInfoImpl.java)
      22. com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java)
      22 frames