java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Retrofit Exception During Execution
    via Stack Overflow by Qasim Khokhar
    ,
  • Retrofit 1.9 Error on Callback
    via Stack Overflow by Keeano
    ,
  • url == null exception
    via GitHub by julio-cotta-edx
    ,
  • Retrofit 1.9 with Proguard
    via Stack Overflow by sarthakmeh
    ,
    • java.lang.IllegalArgumentException: RetrofitInterface.getUser: Must have return type or Callback as last argument, not both. at retrofit.RestMethodInfo.methodError(RestMethodInfo.java:107) at retrofit.RestMethodInfo.parseResponseType(RestMethodInfo.java:267) at retrofit.RestMethodInfo.<init>(RestMethodInfo.java:97) at retrofit.RestAdapter.getMethodInfo(RestAdapter.java:213) at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:236) at com.sun.proxy.$Proxy0.getUser(Unknown Source) at com.company.Main.main(Main.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,