java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.xtc.oauth.sdk.demo/com.xtc.oauth.sdk.demo.MainActivity}: java.lang.IllegalArgumentException: Unable to create converter for com.xtc.oauth.sdk.net.bean.response.bean.OauthNetResponseBaseBean<com.xtc.oauth.sdk.net.bean.response.bean.OauthAccessTokenResponseBean> for method a.a

GitHub | ouyangpeng | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.IllegalArgumentException: Unable to create converter for com.xtc.oauth.sdk.net.bean.response.bean.OauthNetResponseBaseBean<com.xtc.oauth.sdk.net.bean.response.bean.OauthAccessTokenResponseBean>

    GitHub | 5 months ago | ouyangpeng
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.xtc.oauth.sdk.demo/com.xtc.oauth.sdk.demo.MainActivity}: java.lang.IllegalArgumentException: Unable to create converter for com.xtc.oauth.sdk.net.bean.response.bean.OauthNetResponseBaseBean<com.xtc.oauth.sdk.net.bean.response.bean.OauthAccessTokenResponseBean> for method a.a

    Root Cause Analysis

    1. java.lang.TypeNotPresentException

      Type java.util.Objects not present

      at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType()
    2. org.apache.harmony
      Types.getClonedTypeArray
      1. org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:64)
      2. org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:73)
      3. org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61)
      4. org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53)
      5. org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72)
      6. org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61)
      7. org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53)
      8. org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72)
      9. org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61)
      10. org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53)
      11. org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray(Types.java:24)
      11 frames
    3. Java RT
      Method.getGenericParameterTypes
      1. java.lang.reflect.Method.getGenericParameterTypes(Method.java:225)
      1 frame
    4. Jackson
      DeserializerCache._createAndCache2
      1. com.fasterxml.jackson.databind.introspect.AnnotatedMethod.getParameterType(AnnotatedMethod.java:195)
      2. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:505)
      3. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:228)
      4. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143)
      5. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:406)
      6. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:352)
      7. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
      7 frames