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

BillingProcessor: prevent null pointer exception at handleActivityResult #75

Merged
merged 1 commit into from
Mar 12, 2015

Conversation

amartinz
Copy link
Contributor

  • passed in data may be null and will crash when checking extras

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2061984, result=0, data=null} to activity
....
Caused by: java.lang.NullPointerException
at com.anjlab.android.iab.v3.BillingProcessor.handleActivityResult(BillingProcessor.java:297)

Change-Id: Idbd1eaed2c2c97d7aee710f16056221461616b22

  * passed in data may be null and will crash when checking extras

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2061984, result=0, data=null} to activity
....
Caused by: java.lang.NullPointerException
at com.anjlab.android.iab.v3.BillingProcessor.handleActivityResult(BillingProcessor.java:297)

Change-Id: Idbd1eaed2c2c97d7aee710f16056221461616b22
serggl added a commit that referenced this pull request Mar 12, 2015
BillingProcessor: prevent null pointer exception at handleActivityResult
@serggl serggl merged commit 05cf6ee into anjlab:master Mar 12, 2015
showdpro pushed a commit to showdpro/android-inapp-billing-v3 that referenced this pull request Jul 13, 2021
BillingProcessor: prevent null pointer exception at handleActivityResult
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

Successfully merging this pull request may close these issues.

3 participants