You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.braintreepayments.api.internal.BraintreeHttpClient.get(java.lang.String, com.braintreepayments.api.interfaces.HttpResponseCallback)' on a null object reference
#105
Closed
brunobar79 opened this issue
Jun 7, 2016
· 2 comments
Similar to #101 . Only on my release build (fresh install) I always get the following error:
E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: com.myapp, PID: 11127 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.braintreepayments.api.internal.BraintreeHttpClient.get(java.lang.String, com.braintreepayments.api.interfaces.HttpResponseCallback)' on a null object reference at com.braintreepayments.api.ConfigurationManager.getConfiguration(ConfigurationManager.java:50) at com.braintreepayments.api.BraintreeFragment.fetchConfiguration(BraintreeFragment.java:482) at com.braintreepayments.api.BraintreeFragment.waitForConfiguration(BraintreeFragment.java:528) at com.braintreepayments.api.TokenizationClient.tokenize(TokenizationClient.java:38) at com.braintreepayments.api.Card.tokenize(Card.java:29) at com.myapp.braintree.Braintree.checkoutWithCreditCard(Braintree.java:100) at java.lang.reflect.Method.invoke(Native Method) ... ... ...
Any idea what's going on?
Thanks!
The text was updated successfully, but these errors were encountered:
#101 is a different issue. This is caused by trying to create a payment method before the fragment has been attached to the activity. We're working on a fix for this.
Similar to #101 . Only on my release build (fresh install) I always get the following error:
E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: com.myapp, PID: 11127 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.braintreepayments.api.internal.BraintreeHttpClient.get(java.lang.String, com.braintreepayments.api.interfaces.HttpResponseCallback)' on a null object reference at com.braintreepayments.api.ConfigurationManager.getConfiguration(ConfigurationManager.java:50) at com.braintreepayments.api.BraintreeFragment.fetchConfiguration(BraintreeFragment.java:482) at com.braintreepayments.api.BraintreeFragment.waitForConfiguration(BraintreeFragment.java:528) at com.braintreepayments.api.TokenizationClient.tokenize(TokenizationClient.java:38) at com.braintreepayments.api.Card.tokenize(Card.java:29) at com.myapp.braintree.Braintree.checkoutWithCreditCard(Braintree.java:100) at java.lang.reflect.Method.invoke(Native Method) ... ... ...
Any idea what's going on?
Thanks!
The text was updated successfully, but these errors were encountered: