java.lang.IllegalArgumentException: Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage

GitHub | gushoubang | 4 months ago
  1. 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
  2. 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
  3. 0

    SDK 24 Incompatibility

    GitHub | 5 months ago | arammkhitaryan
    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 1900#231133825

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

    How to debug "java.lang.IllegalArgumentException: Unable to create converter for java.util.List" in Retrofit2 converter-simplexml?

    Stack Overflow | 4 months ago | ku4irka
    java.lang.IllegalArgumentException: Unable to create converter for java.util.List<com.ku4irka.rss_nfr.model.entity.Channel> for method ChannelService.getChannel

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

    Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage

    at retrofit2.ServiceMethod$Builder.methodError()
  2. retrofit2
    Retrofit$1.invoke
    1. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:720)
    2. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:711)
    3. retrofit2.ServiceMethod$Builder.parseHttpMethodAndPath(ServiceMethod.java:280)
    4. retrofit2.ServiceMethod$Builder.parseMethodAnnotation(ServiceMethod.java:258)
    5. retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:170)
    6. retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
    7. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    7 frames
  3. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:393)
    1 frame
  4. Unknown
    $Proxy0.deleteMessage
    1. $Proxy0.deleteMessage(Unknown Source)
    1 frame
  5. com.dituwuyou.adapter
    MessageAdapter.removeItem
    1. com.dituwuyou.adapter.MessageAdapter.deleteSingleMessage(MessageAdapter.java:311)
    2. com.dituwuyou.adapter.MessageAdapter.removeItem(MessageAdapter.java:363)
    2 frames
  6. com.dituwuyou.ui
    MessageActivity.onClick
    1. com.dituwuyou.ui.MessageActivity.onClick(MessageActivity.java:150)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5204)
    2. android.view.View$PerformClick.run(View.java:21153)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5417)
    6 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames