App crash traced to sdkbox iap plugin

Hi,

We are receiving application crashes after integrating sdkbox plugin for in app purchases.

Exception Backtrace:
1 com.sdkbox.plugin.util.iap.IabHelper.queryPurchases
2 com.sdkbox.plugin.util.iap.IabHelper.queryInventory
3 com.sdkbox.plugin.util.iap.IabHelper.queryInventory
4 com.sdkbox.plugin.util.iap.IabHelper$3.run
5 java.lang.Thread.run

We have detailed crash report including the devices on which it is failing. Please let me know if somebody is interested in taking a look at this.

Yes, it would be great if I can look into the detailed crash report

Hello @abhinav

Please post your detailed report along with that let us know the version of SDKBOX and plugin version against which you got these crashes, as that would help us.

Thanks for your time to make sdkbox better :smile:

Regards,
Pabitra

Android: 5.1.1
Manufacturer: HUAWEI
Model: HUAWEI CRR-L09
Date: Sat Jan 02 11:08:00 GMT-05:00 2016

java.lang.NullPointerException: Attempt to invoke interface method ‘android.os.Bundle com.a.a.a.a.a(int, java.lang.String, java.lang.String, java.lang.String)’ on a null object reference
at com.sdkbox.plugin.util.iap.IabHelper.queryPurchases(SourceFile:874)
at com.sdkbox.plugin.util.iap.IabHelper.queryInventory(SourceFile:575)
at com.sdkbox.plugin.util.iap.IabHelper.queryInventory(SourceFile:553)
at com.sdkbox.plugin.util.iap.IabHelper$3.run(SourceFile:648)
at java.lang.Thread.run(Thread.java:831)

SDKBOX version : v0.5.8.6

Another specific model on which the same crash is happening is:
Android: 5.1.1
Manufacturer: samsung
Model: SM-G920F

Hope it helps

Hi @abhinav

Thanks for the info.
Let us also tag @nite to keep him in loop to update the testing team with this issue.

If you have faced this issue, could you tell us how could we reproduce this… !!
because we have seen a similar issue before from another developer and the frequency was very rare.

If you could help us know the reproducing steps, let us know, we will fix in the fly.
We will also keep a look into these issues during our tests.

Best,
Pabitra

Does this device has google play store?

This is a crash report from a user. I don’t know whether it had google play.

But in case it didn’t have google play, would it be better if we can show a dialog to suggest the same to user instead of crashing.

We do have code to handle this kind of issue, but I think more tests are required. we’ll do some more test and see if we can reproduce this issue.

Hey @nite

Our crash reporting tool continuously shows large number of crashes due to sdkbox.

Here is the snapshot of a subset of all the sdkbox related crashes that we see:

I can give you full access to this dashboard. Please let me know your email id so that I can send across the invite.

Thanks a lot, we’ll look into this immediately.

Are you using 1.5.3 version?

I’ll PM you my email

Thanks a lot for sharing your crashing analytics data, I believe we fixed this issue on with 1.5.3, can you confirm which version of SDKBOX are you using?