java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.isEmpty()' on a null object reference

GitHub | vcrepin | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Testing on Emulator

    GitHub | 7 months ago | vcrepin
    java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.isEmpty()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'boolean java.util.List.isEmpty()' on a null object reference

      at com.alexdisler.inapppurchases.IabHelper.startSetup()
    2. com.alexdisler.inapppurchases
      InAppBillingV3.execute
      1. com.alexdisler.inapppurchases.IabHelper.startSetup(IabHelper.java:276)
      2. com.alexdisler.inapppurchases.InAppBillingV3.init(InAppBillingV3.java:184)
      3. com.alexdisler.inapppurchases.InAppBillingV3.execute(InAppBillingV3.java:162)
      3 frames
    3. org.apache.cordova
      SystemExposedJsApi.exec
      1. org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
      2. org.apache.cordova.PluginManager.exec(PluginManager.java:133)
      3. org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
      4. org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
      4 frames
    4. org.chromium.base
      SystemMessageHandler.handleMessage
      1. org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
      2. org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
      2 frames
    5. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames