Skip to content

Instantly share code, notes, and snippets.

@mindlapse
Created July 15, 2019 00:07
Show Gist options
  • Save mindlapse/2f4942411f6185696019eb17f6d14cda to your computer and use it in GitHub Desktop.
Save mindlapse/2f4942411f6185696019eb17f6d14cda to your computer and use it in GitHub Desktop.
NullPointerException in example app: GoogleApiPayFlowImpl$1.onComplete
--------- beginning of crash
07-14 23:58:22.639 3119 3119 E AndroidRuntime: FATAL EXCEPTION: main
07-14 23:58:22.639 3119 3119 E AndroidRuntime: Process: com.example, PID: 3119
07-14 23:58:22.639 3119 3119 E AndroidRuntime: java.lang.NullPointerException: ApiException
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.gettipsi.stripe.util.ArgCheck.nonNull(ArgCheck.java:17)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.gettipsi.stripe.Errors.toErrorCode(Errors.java:34)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.gettipsi.stripe.GoogleApiPayFlowImpl$1.onComplete(GoogleApiPayFlowImpl.java:86)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.google.android.gms.tasks.zzf.run(Unknown Source)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6077)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
07-14 23:58:22.639 3119 3119 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
07-14 23:58:22.687 966 1466 W ActivityManager: Force finishing activity com.example/.MainActivity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment