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

Android- System.NotImplementedException: Do not know how to dispose: Invalid #162

Open
EmilAlipiev opened this issue Mar 21, 2021 · 4 comments

Comments

@EmilAlipiev
Copy link

Hi,

I am seeing below exception in my appcenter logs for Android. Any idea what could be the problem here?

System.NotImplementedException: Do not know how to dispose: Invalid.
  at Java.Interop.JniObjectReference.Dispose (Java.Interop.JniObjectReference& reference) <0x7d096135c8 + 0x00198> in <f45d9019fe71433b9f0c52a4ec897f8b>:0
  at Java.Interop.JniRuntime+JniValueManager.DisposePeer (Java.Interop.JniObjectReference h, Java.Interop.IJavaPeerable value) <0x7d09610370 + 0x00193> in <f45d9019fe71433b9f0c52a4ec897f8b>:0
  at Java.Interop.JniRuntime+JniValueManager.DisposePeer (Java.Interop.IJavaPeerable value) <0x7d096101f8 + 0x000df> in <f45d9019fe71433b9f0c52a4ec897f8b>:0
  at Java.Lang.Object.Dispose () <0x7d09669290 + 0x0004f> in <639415c7d0944741a80debaccf350bd7>:0
  at Xamarin.Forms.PancakeView.Droid.PancakeDrawable.CreateBitmap (System.Int32 width, System.Int32 height) [0x00017] in <a78434c6a99a44c9a90dcaf5dc993f88>:0
  at Xamarin.Forms.PancakeView.Droid.PancakeDrawable.Draw (Android.Graphics.Canvas canvas) [0x0007c] in <a78434c6a99a44c9a90dcaf5dc993f88>:0
  at Android.Graphics.Drawables.Drawable.n_Draw_Landroid_graphics_Canvas_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_canvas) [0x0000f] in <639415c7d0944741a80debaccf350bd7>:0
  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.85(intptr,intptr,intptr)
@EmilAlipiev
Copy link
Author

no idea on this exception? am i the only one getting this? :)

@ericlira
Copy link

@EmilAlipiev did you ever figured this out? I just saw the same exception on my logs too.

@EmilAlipiev
Copy link
Author

Unfortunately no. I have removed the pancakeview because of this error

@ericlira
Copy link

Unfortunately no. I have removed the pancakeview because of this error

Oh okay, thanks anyway. I'll try to have a look and I'll post here if I find something

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