
marketbilling - issue #134
IllegalStateException: Can't start async operation (refresh inventory) because another async operation(refresh inventory) is in progress
STEPS TO REPRODUCE: 1. launch app 2. click on market icon 3. sometimes it crashes (I cannot reproduce it every time)
I have 1 call to query items when the app start and 1 to query item when the market activity start (in order to refresh them).
EXPECTED OUTPUT:
All calls handle correctly parallels and async interaction
ACTUAL OUTPUT:
Crash with this log:
java.lang.IllegalStateException: Can't start async operation (refresh inventory) because another async operation(refresh inventory) is in progress .at com.android.vending.billing.util.IabHelper.flagStartAsync(IabHelper.java:901) at com.android.vending.billing.util.IabHelper.queryInventoryAsync(IabHelper.java:692) at com.designfuture.music.service.InappPurchaseService$2.onIabSetupFinished(InappPurchaseService.java:97) at com.android.vending.billing.util.IabHelper$1.onServiceConnected(IabHelper.java:270) at android.app.ActivityThread$PackageInfo$ServiceDispatcher.doConnected(ActivityThread.java:1247) at android.app.ActivityThread$PackageInfo$ServiceDispatcher$RunConnection.run(ActivityThread.java:1264) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method)
AFFECTED ORDER IDS (IF RELEVANT):
OS VERSION: not relevant
MARKET/MYAPPS VERSION: not published yet.
DEVICE:
OUTPUT FROM ADB BUGREPORT ATTACHED: (Note: The output from "adb bugreport" is required for all bug reports.)
NOTES:
Comment #1
Posted on May 30, 2014 by Happy KangarooIs this going to be fixed?
Status: New
Labels:
Type-Defect
Priority-Medium