java.lang.RuntimeException: 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

Stack Overflow | TopsAndy | 3 months ago
  1. 0

    Android Fabric Twitter error

    Stack Overflow | 3 months ago | TopsAndy
    java.lang.RuntimeException: 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
  2. 0

    Error when using Retrofit

    Stack Overflow | 8 months ago | rost_proz
    java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo
  3. 0

    Allow colons (":") in path parameters

    GitHub | 5 months ago | jianghaolu
    java.lang.IllegalArgumentException: @Path parameter name must match \{([a-zA-Z][a-zA-Z0-9_-]*)\}. Found: arrayPath:commaSeparated (parameter #1) for method PathsService.arrayCsvInPath
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SDK 24 Incompatibility

    GitHub | 5 months ago | arammkhitaryan
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......
  6. 0

    GitHub comment 1900#231133825

    GitHub | 5 months ago | JakeWharton
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......

  1. Indri Yunita 1 times, last 2 weeks ago
  2. Diogo Jaym 2 times, last 5 months ago
  3. Kawada 3 times, last 6 months ago
  4. laszlo.kustra 6 times, last 8 months ago
  5. Larten 2 times, last 9 months ago
3 unregistered visitors
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.IllegalArgumentException

    Service methods cannot return void. for method CustomService.show

    at retrofit2.ServiceMethod$Builder.methodError()
  2. retrofit2
    Retrofit$1.invoke
    1. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695)
    2. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:686)
    3. retrofit2.ServiceMethod$Builder.createCallAdapter(ServiceMethod.java:227)
    4. retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:159)
    5. retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
    6. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    6 frames
  3. com.app
    SocialIntegrationFragment$5$1.success
    1. com.app.$Proxy8.show(Native Method)
    2. com.app.SocialIntegrationFragment$5$1.success(SocialIntegrationFragment.java:190)
    2 frames
  4. com.twitter.sdk
    TwitterAuthClient.onActivityResult
    1. com.twitter.sdk.android.core.identity.TwitterAuthClient$CallbackWrapper.success(TwitterAuthClient.java:230)
    2. com.twitter.sdk.android.core.identity.AuthHandler.handleOnActivityResult(AuthHandler.java:92)
    3. com.twitter.sdk.android.core.identity.TwitterAuthClient.onActivityResult(TwitterAuthClient.java:161)
    3 frames
  5. com.app
    SocialIntegrationFragment.onActivityResult
    1. com.app.SocialIntegrationFragment.onActivityResult(SocialIntegrationFragment.java:534)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.dispatchActivityResult(Activity.java:5293)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:3315)
    3. android.app.ActivityThread.handleSendResult(ActivityThread.java:3362)
    4. android.app.ActivityThread.access$1100(ActivityThread.java:141)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:137)
    8. android.app.ActivityThread.main(ActivityThread.java:5041)
    8 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame