Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0
Created on: 01 Feb 2023 08:57
Category: MaskedEntry
Type: Bug Report
MaskedEntry: [Android] Exception when using AddSingleton approach in shell app

When I register the pages and controls using AddTransient it works but when I use AddSingleton it doesn't. 

System.InvalidOperationException: PlatformView cannot be null here
[mono-rt]    at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=, Culture=neutral, PublicKeyToken=null]].get_PlatformView() in ViewHandlerOfT.cs:line 36
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.GetTextInputFromNativeVisualTree()
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.UpdateNativeTextInput()
[mono-rt]    at Telerik.Maui.Handlers.RadMaskedEntryHandler.NativeView_ChildViewRemoved(Object sender, ChildViewRemovedEventArgs args)

Posted on: 11 May 2023 08:01

Hеllo Adam,

I made some research about this situation and the public item status is changed to Completed by mistake. The fix will be released in the official R2 2023 release, expected in June. I changed the status to In Development, and when the fix is live, the status will be changed and the release version will be added. For example, as it is in this item:

Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Posted on: 09 May 2023 19:47
This is marked "Completed" but doesn't indicate a release that it's included in. I still notice it happening in the latest release. Is there something I'm missing?