Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Qasim Khokhar
, 1 year ago
RetrofitInterface.getUser: Must have return type or Callback as last argument, not both.
via GitHub by gennadiiivanov
, 2 years ago
IntercomApiInterface.getUnreadConversations: Must have either a return type or Callback as last argument.
via Stack Overflow by sarthakmeh
, 1 year ago
d.a: Last parameter must be of type Callback<X> or Callback<? super X>.
via Stack Overflow by Keeano
, 1 year ago
IMyClient.getUser: Must have return type or Callback as last argument, not both.
via GitHub by gregorko
, 2 years ago
RestApiService.loadCurrentUser: URL query string "i={i}" must not have replace block.
via Stack Overflow by Perry Hoekstra
, 1 year ago
FooService.getPositionByZip: URL query string "address={zipcode}&sensor=false" must not have replace block.
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.(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)