UWP
UWP copied to clipboard
CustomRichEditor.OnGettingFocus Exception
Sentry Issue: AINOTES-71
[22:15:40:138] [ 2 | Main ] [ERROR ] [App ] UnhandledException: System.ArgumentException: Value does not fall within the expected range.
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, SByte) + 0xc0
at __Interop.ForwardComStubs.Stub_42[TThis](__ComObject, Boolean, Int32) + 0x37
at AINotes.Components.Implementations.CustomRichEditor.OnGettingFocus(UIElement, GettingFocusEventArgs) + 0xaa
at System.ComponentModel.DoWorkEventHandler.Invoke(Object, DoWorkEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__22[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at AINotes!<BaseAddress>+0x547a213
Something with threading maybe.