Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

CustomRichEditor.OnGettingFocus Exception #61

@sentry

Description

@sentry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnext-releaseThis issue must be fixed before the next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions