1

I have an app with opportunity to buy in-app item. And when I've downloaded this app and tried to buy the item - everything is ok - buying intent appears (then I canceled transaction). the issue is that intent appears only first day after downloading app - the next day I got the crash "null pointer exception" on line

  startIntentSenderForResult(pendingIntent.getIntentSender(),
       1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0),
       Integer.valueOf(0));
Siarhei
  • 2,358
  • 3
  • 27
  • 63
  • Possible duplicate of [what-is-a-null-pointer-exception-and-how-do-i-fix-it](http://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception-and-how-do-i-fix-it) – Saumik Bhattacharya Apr 04 '16 at 12:46
  • unfortently it's appears only on downloaded copy, I cant reprodyce issue locally. so i doesn't recognize which object is null. but look i shouldn't pass null object to the method. because all i passed sucesfully used in code below – Siarhei Apr 05 '16 at 15:04
  • Could you post the log or stacktrace? – Aurasphere Apr 20 '16 at 14:03
  • looks it was a bug, i've created new product in console and issue disappeared – Siarhei May 18 '16 at 06:29

1 Answers1

0

looks it was a bug, i've created new product in console and issue disappeared

btw, you can faced with the similar issue in case you forgot to consume product

Community
  • 1
  • 1
Siarhei
  • 2,358
  • 3
  • 27
  • 63