-
Notifications
You must be signed in to change notification settings - Fork 235
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
NullPointerException when trying to get new instance of BraintreeFragment #125
Comments
This is on API 24 or above correct? Can you confirm if this is being run on that main thread or a background thread? |
API 24 correct. It's being run on the main thread. |
Any updates on this? |
@MiralDesai: it doesn't look like there is a fix for this, only a work around. We're reviewing the work around and will push it soon. |
Fair enough. Will look out for it. |
Thanks for the report, the fix will go out in the next release. |
A crash being reported to me:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Handler android.app.FragmentHostCallback.getHandler()' on a null object reference
Full stacktrace:
Not happening on my side since this is all within one method (initialiseBraintreeFragment()) which is setup exactly as the braintree docs suggest.
Could you guys look into this? Thanks. v2.3.10 of the Braintree SDK
The text was updated successfully, but these errors were encountered: