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

Workaround NPE on Google Play IAB not installed #171

Closed
daniele-athome opened this issue Jun 15, 2014 · 1 comment
Closed

Workaround NPE on Google Play IAB not installed #171

daniele-athome opened this issue Jun 15, 2014 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@daniele-athome
Copy link
Member

Obviously...

E/AndroidRuntime( 1280): FATAL EXCEPTION: main
E/AndroidRuntime( 1280): java.lang.NullPointerException
E/AndroidRuntime( 1280):        at org.kontalk.billing.IabHelper.startSetup(IabHelper.java:263)
E/AndroidRuntime( 1280):        at org.kontalk.ui.DonationFragment.setupGoogle(DonationFragment.java:151)
E/AndroidRuntime( 1280):        at org.kontalk.ui.DonationFragment.donateGoogle(DonationFragment.java:235)
E/AndroidRuntime( 1280):        at org.kontalk.ui.DonationFragment.onClick(DonationFragment.java:92)
@daniele-athome daniele-athome added this to the 3.0a7 milestone Jun 15, 2014
@daniele-athome daniele-athome self-assigned this Jun 15, 2014
@daniele-athome
Copy link
Member Author

Seems like is an Android bug in queryIntentServices returning null where the docs says that it can never be null...
https://code.google.com/p/marketbilling/issues/detail?id=149

@daniele-athome daniele-athome changed the title Disable Google Play donation if IAB not installed Workaround NPE on Google Play IAB not installed Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant