Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: lateinit property stripeInstance has not been initialized #300

Open
chrisparton1991 opened this issue May 31, 2021 · 0 comments
Open

Comments

@chrisparton1991
Copy link

chrisparton1991 commented May 31, 2021

Hi, I'm seeing a couple of crashes in Crashlytics, caused by lateinit property stripeInstance has not been initialized and lateinit property onCancelListener has not been initialized (full stacktraces below).

Details from Crashlytics:
details

Stacktrace from first crash:

Fatal Exception: h.i: lateinit property stripeInstance has not been initialized
       at de.jonasbark.stripepayment.StripeDialog.getToken(StripeDialog.java:110)
       at de.jonasbark.stripepayment.StripeDialog.access$getToken(StripeDialog.java)
       at de.jonasbark.stripepayment.StripeDialog$onViewCreated$1.onClick(StripeDialog.java:2)
       at android.view.View.performClick(View.java:7862)
       at android.widget.TextView.performClick(TextView.java:15004)
       at android.view.View.performClickInternal(View.java:7831)
       at android.view.View.access$3600(View.java:879)
       at android.view.View$PerformClick.run(View.java:29359)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8167)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Stacktrace from second crash:

Fatal Exception: h.i: lateinit property onCancelListener has not been initialized
       at de.jonasbark.stripepayment.StripeDialog.onCancel(StripeDialog.java:13)
       at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1740)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8167)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant