Hi Ed
I wonder if you would have some idea of what I might have done wrong here. I have followed the instructionson the main README.md file and the calendar looks quite good and works - the first time it is displayed only.
If I exit the page that contains the Calendar almost any subsequent action causes the following exception to be thrown.
Note that I am using dotnet maui 9.
Any thoughts?
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.ObjectDisposedException: Cannot access a disposed object.
[mono-rt] Object name: 'Plugin.Maui.NativeCalendar.NativeCalendarImplementation'.
[mono-rt] at Java.Interop.JniPeerMembers.AssertSelf(IJavaPeerable self) in /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.cs:line 153
[mono-rt] at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters) in /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:line 146
[mono-rt] at Android.Views.View.Post(IRunnable action) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net9.0/android-35/mcw/Android.Views.View.cs:line 20874
[mono-rt] at Android.Views.View.Post(Action action) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Views/View.cs:line 53
[mono-rt] at Plugin.Maui.NativeCalendar.NativeCalendarImplementation.b__12_2(Object sender, EventArgs args)
[mono-rt] at Android.Views.ViewTreeObserver.IOnGlobalLayoutListenerImplementor.OnGlobalLayout() in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net9.0/android-35/mcw/Android.Views.ViewTreeObserver.cs:line 340
[mono-rt] at Android.Views.ViewTreeObserver.IOnGlobalLayoutListenerInvoker.n_OnGlobalLayout(IntPtr jnienv, IntPtr native__this) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net9.0/android-35/mcw/Android.Views.ViewTreeObserver.cs:line 301
[mono-rt] at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V(_JniMarshal_PP_V callback, IntPtr jnienv, IntPtr klazz) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:line 22
[libc] FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7eaf51002ab8)
[libc] FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7eaf51002ab8)
[libc] Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 3552 (hwuiTask0), pid 2676 (c.sessionplayer)
Hi Ed
I wonder if you would have some idea of what I might have done wrong here. I have followed the instructionson the main README.md file and the calendar looks quite good and works - the first time it is displayed only.
If I exit the page that contains the Calendar almost any subsequent action causes the following exception to be thrown.
Note that I am using dotnet maui 9.
Any thoughts?