java.lang.NullPointerException: Attempt to invoke interface method 'android.os.Bundle com.android.vending.billing.IInAppBillingService.a(int, java.lang.String, java.lang.String, java.lang.String)' on a null object reference

Stack Overflow | 4ntoine | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android's IabHelper does not reconnect to the service on disconnected and lead to crashes

    Stack Overflow | 7 months ago | 4ntoine
    java.lang.NullPointerException: Attempt to invoke interface method 'android.os.Bundle com.android.vending.billing.IInAppBillingService.a(int, java.lang.String, java.lang.String, java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'android.os.Bundle com.android.vending.billing.IInAppBillingService.a(int, java.lang.String, java.lang.String, java.lang.String)' on a null object reference

      at com.android.vending.billing.util.IabHelper.queryPurchases()
    2. com.android.vending
      IabHelper.queryInventory
      1. com.android.vending.billing.util.IabHelper.queryPurchases(IabHelper.java:822)
      2. com.android.vending.billing.util.IabHelper.queryInventory(IabHelper.java:526)
      3. com.android.vending.billing.util.IabHelper.queryInventory(IabHelper.java:505)
      3 frames