java.lang.IllegalArgumentException: Only one encoding annotation is allowed. for method AllNetworkCalls.completeRegistration

Stack Overflow | Zahidul Islam | 3 months ago
  1. 0

    Sending file and String value making error in Retrofit 2.0

    Stack Overflow | 3 months ago | Zahidul Islam
    java.lang.IllegalArgumentException: Only one encoding annotation is allowed. for method AllNetworkCalls.completeRegistration
  2. 0

    SDK 24 Incompatibility

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

    GitHub comment 1900#231133825

    GitHub | 5 months ago | JakeWharton
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1940#235137135

    GitHub | 4 months ago | gushoubang
    java.lang.IllegalArgumentException: Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage
  6. 0

    GitHub comment 1940#235143985

    GitHub | 4 months ago | JakeWharton
    java.lang.IllegalArgumentException: Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage

  1. Diogo Jaym 2 times, last 5 months ago
  2. laszlo.kustra 6 times, last 7 months ago
  3. Kawada 3 times, last 5 months ago
  4. 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

    Only one encoding annotation is allowed. for method AllNetworkCalls.completeRegistration

    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.parseMethodAnnotation(ServiceMethod.java:266)
    4. retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:169)
    5. retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
    6. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    6 frames
  3. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:397)
    1 frame
  4. Unknown
    $Proxy1.completeRegistration
    1. $Proxy1.completeRegistration(Unknown Source)
    1 frame
  5. com.sslwireless.app
    RegistrationActivity_5$5.onClick
    1. com.sslwireless.app.Activities.SignUp.RegistrationActivity_5.completeRegistration(RegistrationActivity_5.java:244)
    2. com.sslwireless.app.Activities.SignUp.RegistrationActivity_5.access$1100(RegistrationActivity_5.java:51)
    3. com.sslwireless.app.Activities.SignUp.RegistrationActivity_5$5.onClick(RegistrationActivity_5.java:132)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4856)
    2. android.view.View$PerformClick.run(View.java:19956)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:211)
    6. android.app.ActivityThread.main(ActivityThread.java:5389)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
    2 frames