Completed
Last Updated: 05 Jun 2026 06:29 by ADMIN
Release 14.0.1
JoPi
Created on: 22 May 2026 14:41
Category: DatePicker
Type: Bug Report
0
Pickers: [Android] Runtime null reference exception when setting the picker format in App.xaml and using 14.0.0

When updating to Telerik MAUI 14.0.0 I got a null ref exception when using Pickers and the spinner or display string format are defined in the App.xaml

With 13.2.0 no issues.

7 comments
ADMIN
Didi
Posted on: 05 Jun 2026 06:29

Hello all,

The issue is fixed and a fix is included in Telerik MAUI 14.0.1 release. Update the apps to the latest version and test the fix on your side. Make sure you removed all workarounds applied.

Regards,
Didi
Progress Telerik

ADMIN
Didi
Posted on: 01 Jun 2026 10:17

Hi all,

The team investigated the issue and applied a fix, if passing testing it will be included in the next release.

As a workaround until the fix is released, the options are:

Set accent color before initialize component:

public partial class App : Application
{
    public App()
    {
        Application.AccentColor = Colors.Red;
        InitializeComponent()

Moving the picker style to the pages resources where the control is defined or

Downgrade to 13.2.0 version.

Regards,
Didi
Progress Telerik

Nico
Posted on: 01 Jun 2026 09:28

Has the problem been identified here, and is there a workaround? I have also encountered this problem.

thx 
Nico

ADMIN
Didi
Posted on: 26 May 2026 07:32

The issue also occurs when setting spinner style in App.xaml even without setting a picker to the page.

   <Style x:Key="MySpinnerStyle" TargetType="telerik:RadSpinner">
       <Setter Property="BackgroundColor" Value="Black" />
       <Setter Property="ItemStyle">
           <Setter.Value>
               <Style TargetType="telerik:SpinnerItemView">
                   <Setter Property="TextColor" Value="White" />
               </Style>
           </Setter.Value>
       </Setter>
   </Style>

Regards,
Didi
Progress Telerik

ADMIN
Didi
Posted on: 23 May 2026 12:00

Hi Devin,

Please provide a sample app where the exception occurs. I tested the provided xaml, no issues on my side. I removed the static resource as such wasn't provided and I do not know where they are defined. 

If you do not want to attach the project to the feedback portal, you can open a support ticket and attach it there.

Regards,
Didi
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.

Edward
Posted on: 22 May 2026 22:13

Hi Telerik Team,

After updating to version 14.0.0, my .NET MAUI application starts but then crashes with the following error on Android:

05-22 16:44:53.505 E/AndroidRuntime( 6829): android.runtime.JavaProxyThrowable: [Microsoft.Maui.Controls.Xaml.XamlParseException]: Position 1035:17. Type converter failed: The type initializer for 'Telerik.Maui.Controls.RadListPicker' threw an exception.

The same implementation works correctly with version 13.2.0.

I am using both RadListPicker and RadDateTimePicker. Below is a simplified example of the controls configuration:

<Telerik:RadListPicker
    x:Name="uxStreetTypePicker"
    DisplayLabelStyle="{StaticResource IdentificationTypePlaceholderStyle}"
    DisplayMemberPath="Name"
    ItemStyle="{StaticResource PickerItemStyle}"
    ItemsSource="{Binding Path=Parent.Parent.BindingContext.StreetTypes, Source={x:Reference uxCustomerAddressFormControl}}"
    PlaceholderTemplate="{StaticResource placeholderTemplate}"
    SelectedItem="{Binding Path=Parent.Parent.BindingContext.StreetType, Source={x:Reference uxCustomerAddressFormControl}, Mode=TwoWay}"
    SelectedItemStyle="{StaticResource PickerSelectedItemStyle}"
    SelectedItemTemplate="{StaticResource selectedItemTemplate}"
    SelectionChanged="uxStreetTypePicker_SelectionChanged"
    SelectionHighlightStyle="{StaticResource PickerSelectionHighlightStyle}"
    Style="{StaticResource PickerStyle}">

    <Telerik:RadListPicker.ItemTemplate>
        <DataTemplate>
            <Grid Padding="16,0">
                <Grid.GestureRecognizers>
                    <TapGestureRecognizer Command="{TemplateBinding ToggleCommand}" />
                </Grid.GestureRecognizers>

                <Label
                    HorizontalOptions="Center"
                    InputTransparent="True"
                    Style="{StaticResource PickerLabelStyle}"
                    Text="{Binding Name}" />
            </Grid>
        </DataTemplate>
    </Telerik:RadListPicker.ItemTemplate>

    <Telerik:RadListPicker.PopupSettings>
        <Telerik:PickerPopupSettings
            FooterTemplate="{StaticResource footerTemplate}"
            HeaderTemplate="{StaticResource headerTemplate}"
            IsPopupModal="True" />
    </Telerik:RadListPicker.PopupSettings>
</Telerik:RadListPicker>

<Telerik:RadDateTimePicker
    x:Name="uxExpeditionDateRadDateTimePicker"
    DisplayStringFormat="MMMM dd yyyy"
    DisplayTemplate="{StaticResource displayTemplate}"
    HorizontalOptions="FillAndExpand"
    MaximumDate="{Binding EndDate}"
    MinimumDate="{Binding StartDate}"
    PlaceholderTemplate="{StaticResource placeholderTemplate}"
    SpinnerFormat="MMMM dd yyyy">

    <Telerik:RadDateTimePicker.PopupSettings>
        <Telerik:PickerPopupSettings
            FooterTemplate="{StaticResource footerTemplateBirthdate}"
            IsPopupModal="True" />
    </Telerik:RadDateTimePicker.PopupSettings>
</Telerik:RadDateTimePicker>

I also tested removing both:

  • DisplayStringFormat

  • SpinnerFormat

However, the application still crashes with the same exception.

Could you please investigate whether this is a regression introduced in version 14.0.0?

Thanks!

ADMIN
Didi
Posted on: 22 May 2026 14:58

Workaround:

Remove the display format and spinner format definitions in the style resources

Regards,
Didi
Progress Telerik