User Tag List

Results 1 to 2 of 2

Thread: In-App Purchases causes Crashes java.lang.NullPointerException

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    83
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    In-App Purchases causes Crashes java.lang.NullPointerException

    These are the crashes it generates in the play console. They exceed the threshold limit for bad behavior!!
    Code:
      at Extensions.InAppControl.queryPurchases (InAppControl.java:668)
      at Extensions.InAppControl.queryInventory (InAppControl.java:865)
      at Extensions.InAppControl.queryInventory (InAppControl.java:829)
      at Extensions.InAppControl$3.run (InAppControl.java:927)
      at java.lang.Thread.run (Thread.java:818)
    Code:
      at Extensions.InAppControl.querySkuDetails (InAppControl.java:755)
      at Extensions.InAppControl.queryInventory (InAppControl.java:871)
      at Extensions.InAppControl.queryInventory (InAppControl.java:829)
      at Extensions.InAppControl$3.run (InAppControl.java:927)
      at java.lang.Thread.run (Thread.java:818)
    and these are the events i use for IAP

    IAP EVENT.jpg

    I run the latest Fusion build,
    my minimum target is 4.0.3/4.0.4.
    target build is 8.1
    Build API is 28

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,368
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)


    I think you miss the On Inventory Update which is used for after purchase, consume and inventory update

    also if this happens again please post in a zip teh full logcat report.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. app crash after update. java.lang.IllegalStateException
    By Perry in forum Android Export Module 2.5
    Replies: 6
    Last Post: 19th October 2017, 04:09 PM
  2. Users Crash report - java.lang.UnsatisfiedLinkError:
    By macca02 in forum Android Export Module 2.5
    Replies: 4
    Last Post: 2nd November 2014, 07:32 AM
  3. [CRASH] Google Play Crash Report: java.lang.NullPointerException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 1st August 2013, 04:08 AM
  4. java.lang.UnsatisfiedLinkError
    By Danny in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 24th May 2013, 07:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •