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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web49285

  • 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
  • via Stack Overflow by TopsAndy
    , 10 months ago
    Failure delivering result ResultInfo{who=null, request=140, result=-1, data=Intent { (has extras) }} to activity {com.app.SocialIntegrationFragment}: java.lang.IllegalArgumentException: Service methods cannot return void. for method CustomService.show
  • Failure delivering result ResultInfo{who=null, request=102, result=-1, data=Intent { (has extras) }} to activity {org.ros.android.android_tutorial_pubsub/org.ros.android.android_tutorial_pubsub.RaceMain}: java.lang.IllegalArgumentException
  • Stack trace

    • 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 at android.app.ActivityThread.deliverResults(ActivityThread.java:3319) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3362) at android.app.ActivityThread.access$1100(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method) Caused by: 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 at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:667) at retrofit2.ServiceMethod$Builder.createResponseConverter(ServiceMethod.java:653) at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:166) at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166) at retrofit2.Retrofit$1.invoke(Retrofit.java:145) at $Proxy1.a(Native Method) at com.xtc.oauth.sdk.XTCOauthApiAgent.getAccessToken(XTCOauthApiAgent.java:176) at com.xtc.oauth.sdk.demo.MainActivity.onActivityResult(MainActivity.java:127) at android.app.Activity.dispatchActivityResult(Activity.java:5293) at android.app.ActivityThread.deliverResults(ActivityThread.java:3315) ... 11 more Caused by: java.lang.TypeNotPresentException: Type java.util.Objects not present at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:64) at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:73) at org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61) at org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53) at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72) at org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61) at org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53) at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72) at org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61) at org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53) at org.apache.harmony.luni.lang.reflect.Types.getClonedTypeArray(Types.java:24) at java.lang.reflect.Method.getGenericParameterTypes(Method.java:225) at com.fasterxml.jackson.databind.introspect.AnnotatedMethod.getParameterType(AnnotatedMethod.java:195) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:505) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:228) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143) at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:406) at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:352) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.