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

Cannot access a disposed object #172

Open
TheCaveOfWonders opened this issue Jan 13, 2020 · 0 comments
Open

Cannot access a disposed object #172

TheCaveOfWonders opened this issue Jan 13, 2020 · 0 comments

Comments

@TheCaveOfWonders
Copy link

TheCaveOfWonders commented Jan 13, 2020

This is on a Xamarin Forms app.
Android: 9
Android Build: PKQ1.190118.001
Manufacturer: vivo
Model: vivo 1727

Xamarin Exception Stack:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Android.App.NotificationManager'.
  at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in <4d2af34ca2694c37a4ea3d8074f2f66b>:0
  at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00000] in <4d2af34ca2694c37a4ea3d8074f2f66b>:0
  at Android.App.NotificationManager.Cancel (System.Int32 id) [0x00022] in <519a5f3aaae444f4b50cf623ff03eb78>:0
  at Plugin.Toasts.NotificationBuilder.TimerFinished (System.String id, System.Boolean cancel, System.Boolean allowTapInNotificationCenter) [0x00028] in <ff2bac5dfa8f470a8c69cfd33f67eef9>:0
  at Plugin.Toasts.NotificationBuilder+<>c__DisplayClass23_1.<Notify>b__0 (System.Object x) [0x00031] in <ff2bac5dfa8f470a8c69cfd33f67eef9>:0
  at System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00007] in <254b242c97154351aae8e0970082105e>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <254b242c97154351aae8e0970082105e>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <254b242c97154351aae8e0970082105e>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <254b242c97154351aae8e0970082105e>:0
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

1 participant