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: here's the log
java.lang.RuntimeException: Unable to start service
com.designfuture.music.service.InappPurchaseService@421519f8 with Intent {
act=InappPurchaseService.ACTION_RESTORE_DB
cmp=com.musixmatch.android.lyrify/com.designfuture.music.service.InappPurchaseSe
rvice }: java.lang.IllegalStateException: IAB helper is already set up.
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2548)
at android.app.ActivityThread.access$1900(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: IAB helper is already set up.
at com.android.vending.billing.util.IabHelper.startSetup(IabHelper.java:203)
at
com.designfuture.music.service.InappPurchaseService.onStartCommand(InappPurchase
Service.java:73)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2531)
... 10 more
java.lang.IllegalStateException: IAB helper is already set up.
at com.android.vending.billing.util.IabHelper.startSetup(IabHelper.java:203)
at
com.designfuture.music.service.InappPurchaseService.onStartCommand(InappPurchase
Service.java:73)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2531)
at android.app.ActivityThread.access$1900(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
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:
Original issue reported on code.google.com by stermi on 26 Jul 2013 at 12:57
Original issue reported on code.google.com by
stermi
on 26 Jul 2013 at 12:57