question

si2k avatar image
si2k asked

NPE in com.amazon.inapp.purchasing.ResponseReceiver: java.lang.NullPointerE

While testing our IAB implementation we came across a Null Pointer Exception, this can be reproduced using the Sample IAP Entitlements App. Steps to reproduce are as follows: Start the sample app Click the buy button Click purchase Swipe away the application. Switch to the Amazon Test Client from the recent apps list Click on recent apps list button to switch away from the Amazon Test Client. Dialog: Unfortunately, SampleIAPEntitlement has stopped Has anyone seen this before and can anyone advise on the reason?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi, I am unable to reproduce the issue in Samsung S3 (Android 4.3). I think you are testing it on a generic Android device since the recent apps button is not present in Kindle Fire. Now, I have below questions to ask you. 1. Can you post the exception stack trace from logcat? 2. Which device (version of android OS) are you testing on? 3. Is it blocking you to complete test your app? Is the same thing happening for your app while you are testing IAP win sandbox?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.