java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.farheen_2.fbase/com.example.farheen_2.fbase.ui.login.LoginActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.

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 farheen
, 1 year ago
Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.farheen_2.fbase/com.example.farheen_2.fbase.ui.login.LoginActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.
via Stack Overflow by Jade
, 4 months ago
Failure delivering result ResultInfo{who=null, request=10002, result=-1, data=Intent { (has extras) }} to activity {ml.digits/ml.digits.MultiPlayerSignIn}: java.lang.IllegalStateException: Room ID must not be null or empty
via Stack Overflow by tamird14
, 1 year ago
Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.tamir.rikudim/com.example.tamir.rikudim.LoginActivity}: android.os.NetworkOnMainThreadException
via Stack Overflow by Timosis
, 11 months ago
Failure delivering result ResultInfo{who=null, request=140, result=-1, data=Intent { (has extras) }} to activity {com.tumymedia.tumer.lylafortwitter/com.tumymedia.tumer.lylafortwitter.MainActivity}: java.lang.IllegalArgumentException: CustomService.show: Must have either a return type or Callback as last argument.
via GitHub by jsarabia1247
, 10 months ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {wycliffeassociates.recordingapp/wycliffeassociates.recordingapp.ProjectManager.ActivityProjectManager}: java.lang.IllegalArgumentException: Language code: is not in the database.
via Stack Overflow by Luiz Zapchau
, 1 year ago
Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.farheen_2.fbase/com.example.farheen_2.fbase.ui.login.LoginActivity}: java.lang.IllegalArgumentException: Must specify an idToken or an accessToken.
at com.google.firebase.auth.GoogleAuthCredential.(Unknown Source)
at com.google.firebase.auth.GoogleAuthProvider.getCredential(Unknown Source)
at com.example.farheen_2.fbase.ui.login.LoginActivity.firebaseAuthWithGoogle(LoginActivity.java:265)
at com.example.farheen_2.fbase.ui.login.LoginActivity.handleSignInResult(LoginActivity.java:248)
at com.example.farheen_2.fbase.ui.login.LoginActivity.onActivityResult(LoginActivity.java:237)
at android.app.Activity.dispatchActivityResult(Activity.java:6448)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4003)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4050)
at android.app.ActivityThread.access$1400(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5912)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.