Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendIntentException when exiting billing client frame #63

Open
pszNicx opened this issue May 3, 2012 · 4 comments
Open

SendIntentException when exiting billing client frame #63

pszNicx opened this issue May 3, 2012 · 4 comments
Labels

Comments

@pszNicx
Copy link

pszNicx commented May 3, 2012

I'm trying to use the AbstractBillingActivity in a single Activity app. It's just one activity because it's an NDK game. I implemented everything exactly as in the documentation and it seems to work on my ASUS Transformer Android tablet running ICS. The problem is it crashes with the following exception on other devices when I have people test it. I don't have access to the other devices so all I have to work from is this log. According to what they tell me, as soon as they either accept the purchase or cancel out, whenever the billing window exits, it crashes with this log:

05-02 20:47:22.750: E/Compatibility(958): startIntentSender
05-02 20:47:22.750: E/Compatibility(958): java.lang.reflect.InvocationTargetException
05-02 20:47:22.750: E/Compatibility(958): at java.lang.reflect.Method.invokeNative(Native Method)
05-02 20:47:22.750: E/Compatibility(958): at java.lang.reflect.Method.invoke(Method.java:507)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.utils.Compatibility.startIntentSender(Compatibility.java:65)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingController.startPurchaseIntent(BillingController.java:565)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.helper.AbstractBillingObserver.onPurchaseIntent(AbstractBillingObserver.java:58)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingController.onPurchaseIntent(BillingController.java:325)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingRequest$RequestPurchase.processOkResponse(BillingRequest.java:128)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingRequest.run(BillingRequest.java:247)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.runRequest(BillingService.java:230)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.runPendingRequests(BillingService.java:213)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.runRequestOrQueue(BillingService.java:243)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.requestPurchase(BillingService.java:197)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.handleCommand(BillingService.java:179)
05-02 20:47:22.750: E/Compatibility(958): at net.robotmedia.billing.BillingService.onStartCommand(BillingService.java:165)
05-02 20:47:22.750: E/Compatibility(958): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2039)
05-02 20:47:22.750: E/Compatibility(958): at android.app.ActivityThread.access$2800(ActivityThread.java:117)
05-02 20:47:22.750: E/Compatibility(958): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:994)
05-02 20:47:22.750: E/Compatibility(958): at android.os.Handler.dispatchMessage(Handler.java:99)
05-02 20:47:22.750: E/Compatibility(958): at android.os.Looper.loop(Looper.java:130)
05-02 20:47:22.750: E/Compatibility(958): at android.app.ActivityThread.main(ActivityThread.java:3683)
05-02 20:47:22.750: E/Compatibility(958): at java.lang.reflect.Method.invokeNative(Native Method)
05-02 20:47:22.750: E/Compatibility(958): at java.lang.reflect.Method.invoke(Method.java:507)
05-02 20:47:22.750: E/Compatibility(958): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-02 20:47:22.750: E/Compatibility(958): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-02 20:47:22.750: E/Compatibility(958): at dalvik.system.NativeStart.main(Native Method)
05-02 20:47:22.750: E/Compatibility(958): Caused by: android.content.IntentSender$SendIntentException
05-02 20:47:22.750: E/Compatibility(958): at android.app.Activity.startIntentSenderForResultInner(Activity.java:2896)
05-02 20:47:22.750: E/Compatibility(958): at android.app.Activity.startIntentSenderForResult(Activity.java:2875)
05-02 20:47:22.750: E/Compatibility(958): at android.app.Activity.startIntentSender(Activity.java:2954)
05-02 20:47:22.750: E/Compatibility(958): ... 25 more

Can anyone help point me in the direction of a solution?

@davidcesarino
Copy link

I'm having the same issue.

@schlingel
Copy link

Me too - did anybode of you get a work around?

@MrFloppyCoding
Copy link

same here. what's going on?

@srikanthnama
Copy link

HI @pszNicx I am also facing the same issue.. Have you got the solution for this? If so please help me in this..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants