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 Keeano
, 1 year ago
IMyClient.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 Qasim Khokhar
, 1 year ago
RetrofitInterface.getUser: Must have return type or Callback as last argument, not both.
via Stack Overflow by sarthakmeh
, 1 year ago
d.a: Last parameter must be of type Callback<X> or Callback<? super X>.
via GitHub by tonespy
, 2 years ago
PodApi.sendMultipleLocations: @FieldMap parameter type must be Map. (parameter #2)
via Stack Overflow by Ituoke Ajanlekoko
, 2 years ago
PodApi.sendMultipleLocations: @FieldMap parameter type must be Map. (parameter #2)
java.lang.IllegalArgumentException: IMyClient.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 java.lang.reflect.Proxy.invoke(Proxy.java:393)	at undefined.$Proxy15.getUser(Unknown Source)	at client.MyClient.getUser(MyClient.java:111)	at task.UserProfileTask.call(UserProfileTask.java:41)	at task.UserProfileTask.call(UserProfileTask.java:22)	at roboguice.util.SafeAsyncTask$SafeAsyncTaskAndroidCallable.doInBackground(SafeAsyncTask.java:163)	at roboguice.util.AndroidCallableWrapper.doDoInBackgroundThread(AndroidCallableWrapper.java:113)	at roboguice.util.AndroidCallableWrapper.run(AndroidCallableWrapper.java:41)	at roboguice.util.AndroidCallable.run(AndroidCallable.java:20)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)	at java.lang.Thread.run(Thread.java:818)	at dalvik.system.VMStack.getThreadStackTrace(Native Method)	at java.lang.Thread.getStackTrace(Thread.java:580)	at roboguice.util.AndroidCallable.(AndroidCallable.java:12)	at roboguice.util.SafeAsyncTask$SafeAsyncTaskAndroidCallable.(SafeAsyncTask.java:160)	at roboguice.util.SafeAsyncTask.newTask(SafeAsyncTask.java:156)	at roboguice.util.SafeAsyncTask.future(SafeAsyncTask.java:66)	at roboguice.util.SafeAsyncTask.execute(SafeAsyncTask.java:94)	at roboguice.util.SafeAsyncTask.execute(SafeAsyncTask.java:90)	at ui.fragment.AccountFragment.onViewCreated(AccountFragment.java:122)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1127)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)	at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)	at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1677)	at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)	at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:604)	at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)	at roboguice.activity.RoboActionBarActivity.onStart(RoboActionBarActivity.java:106)	at ui.activity.BaseActivity.onStart(BaseActivity.java:270)	at ui.activity.AccountActivity.onStart(AccountActivity.java:60)	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)	at android.app.Activity.performStart(Activity.java:6253)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)