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

[Droid] IInAppBillingServiceStub+Proxy.IsBillingSupported throws Java.Lang.Exception #150

Closed
Sebastian1989101 opened this issue May 4, 2018 · 1 comment

Comments

@Sebastian1989101
Copy link
Contributor

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.

Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.

Bug Information

Version Number of Plugin: 1.2.5
Device Tested On: Problem only reported on Galaxy J7 (2016) and Galaxy Note8
Simulator Tested On: -
Version of VS: Latest stable
Version of Xamarin: Latest stable
Versions of other things you are using: -

Steps to reproduce the Behavior

I'm not 100% sure. I only see this exception within my AppCenter and I was not able to reproduce it myself yet.

Expected Behavior

I guess it is not really critical. I got 47 reports yet and this app has ~200.000 Users total (iOS + Android). On the other hand it would be great if no crash is caused by a external library.

Actual Behavior

This is the Exception StackTrace I got from AppCenter:

IInAppBillingServiceStub+Proxy.IsBillingSupported (System.Int32 apiVersion, System.String packageName, System.String type)
Java.Lang.Exception: Exception of type 'Java.Lang.Exception' was thrown.

ExceptionDispatchInfo.Throw ()
JniEnvironment+InstanceMethods.CallBooleanMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args)
JNIEnv.CallBooleanMethod (System.IntPtr jobject, System.IntPtr jmethod, Android.Runtime.JValue* parms)
IBinderInvoker.Transact (System.Int32 code, Android.OS.Parcel data, Android.OS.Parcel reply, Android.OS.TransactionFlags flags)
IInAppBillingServiceStub+Proxy.IsBillingSupported (System.Int32 apiVersion, System.String packageName, System.String type)
InAppBillingImplementation+InAppBillingServiceConnection.OnServiceConnected (Android.Content.ComponentName name, Android.OS.IBinder service)
IServiceConnectionInvoker.n_OnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_name, System.IntPtr native_service)
(wrapper dynamic-method) System.Object.c25d4090-deae-4df2-87f5-9d0623ec1c63(intptr,intptr,intptr,intptr)
android.os.DeadObjectException
android.os.BinderProxy.transactNative(Native Method)
android.os.BinderProxy.transact(Binder.java:628)
md56885c85faef29b157cbdef39836265e2.InAppBillingImplementation_InAppBillingServiceConnection.n_onServiceConnected(Native Method)
md56885c85faef29b157cbdef39836265e2.InAppBillingImplementation_InAppBillingServiceConnection.onServiceConnected(InAppBillingImplementation_InAppBillingServiceConnection.java:38)
android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1516)
android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1544)
android.os.Handler.handleCallback(Handler.java:751)
android.os.Handler.dispatchMessage(Handler.java:95)
android.os.Looper.loop(Looper.java:154)
android.app.ActivityThread.main(ActivityThread.java:6816)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)

Code snippet

Screenshotst

@jamesmontemagno
Copy link
Owner

Duplicated #129

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

No branches or pull requests

2 participants