java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation error when I run my integration tests in Android Studioand I can't figure out why. I know others have seen this error before but I'm fairly certain I have looked into all of the solutions. I'm most interested in how to debug this. java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

Stack Overflow | tir38 | 3 months ago
  1. 0

    How to debug "java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation"

    Stack Overflow | 3 months ago | tir38
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation error when I run my integration tests in Android Studioand I can't figure out why. I know others have seen this error before but I'm fairly certain I have looked into all of the solutions. I'm most interested in how to debug this. java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
  2. 0

    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation after adding AppCompat to stable application

    Stack Overflow | 2 years ago | MLProgrammer-CiM
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
  3. 0

    Testing android project with db4o (or other referenced lib)

    Stack Overflow | 6 years ago | Andre Luis IM
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exclude JAR from DEX

    Stack Overflow | 2 years ago | m0skit0
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
  6. 0

    How make mock of final class?

    Stack Overflow | 2 years ago
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

    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.IllegalAccessError

      Class ref in pre-verified class resolved to unexpected implementation error when I run my integration tests in Android Studioand I can't figure out why. I know others have seen this error before but I'm fairly certain I have looked into all of the solutions. I'm most interested in how to debug this. java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

      at java.lang.Class.getDeclaredAnnotations()
    2. Java RT
      Class.getDeclaredAnnotations
      1. java.lang.Class.getDeclaredAnnotations(Native Method)
      1 frame
    3. Jackson
      ObjectWriter.writeValueAsString
      1. com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveClassAnnotations(AnnotatedClass.java:310)
      2. com.fasterxml.jackson.databind.introspect.AnnotatedClass.getAnnotation(AnnotatedClass.java:175)
      3. com.fasterxml.jackson.databind.AnnotationIntrospector._findAnnotation(AnnotationIntrospector.java:1115)
      4. com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.isIgnorableType(JacksonAnnotationIntrospector.java:141)
      5. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.removeIgnorableTypes(BeanSerializerFactory.java:676)
      6. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:545)
      7. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:361)
      8. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:272)
      9. com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
      10. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:153)
      11. com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1199)
      12. com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1153)
      13. com.fasterxml.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:634)
      14. com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
      15. com.fasterxml.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:819)
      16. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:634)
      17. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
      18. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
      19. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
      20. com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1387)
      21. com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1088)
      22. com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:960)
      22 frames
    4. WireMock
      WireMock.stubFor
      1. com.github.tomakehurst.wiremock.common.Json.write(Json.java:47)
      2. com.github.tomakehurst.wiremock.client.HttpAdminClient.addStubMapping(HttpAdminClient.java:115)
      3. com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:233)
      4. com.github.tomakehurst.wiremock.client.WireMock.register(WireMock.java:229)
      5. com.github.tomakehurst.wiremock.client.WireMock.givenThat(WireMock.java:100)
      6. com.github.tomakehurst.wiremock.client.WireMock.stubFor(WireMock.java:104)
      6 frames