NullReferenceException on SfMaskedEdit after upgrade to 19.1.0.57

Dear Syncfusion Team!

After upgrading Syncfusion.SfInput.UWP NuGet package to the version 19.1.0.57 in my UWP project I get the following exception when I run the application and click into one of the SfMaskedEdit controls:

"System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Syncfusion.UI.Xaml.Controls.Input.SfMaskedEdit.SetValueFromText()\r\n   at Syncfusion.UI.Xaml.Controls.Input.SfMaskedEdit.SfMaskedEdit_TextChanged(Object sender, TextChangedEventArgs e)"

Downgrading package to 19.1.0.56 version solves this issue.

Thank you for your support!

István

6 Replies 1 reply marked as answer

SG Sangeetha Ganesan Syncfusion Team April 26, 2021 01:13 PM UTC

Hi István, 
 
Thanks for contacting Syncfusion Support.   
 
We can’t replicate the reported issue” NullReferenceException on SfMaskedEdit after upgrade to 19.1.0.57” from our end. Please check the sample for your reference let us the replication procedure is same as yours if not please share the replication procedure and make our sample to issue reproducible. It will be helpful for us to provide a prompt solution on this.   
 
 
Regards,   
Sangeetha G  



IS István April 26, 2021 01:49 PM UTC

Hi Sangeetha!

Your sample works, but when I add "Mask" and "ValueMaskFormat" properties to the SfMaskedEdit instance the exception reappers.
After downgrading your sample it works again.


<Page
    x:Class="App2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App2"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:syncfusion="using:Syncfusion.UI.Xaml.Controls.Input"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <syncfusion:SfMaskedEdit Name="masked" HorizontalAlignment="Center" VerticalAlignment="Center" Text="SfMaskedEdit" TextWrapping="Wrap" TextChanged="SfMaskedEdit_TextChanged"  Mask="000000000" ValueMaskFormat="ExcludePromptAndLiterals"/>
        <Button Content="button" Click="Button_Click"/>
    </Grid>
</Page>


SG Sangeetha Ganesan Syncfusion Team April 27, 2021 02:22 PM UTC

Hi István,      

Thanks for your update.   

We have fixed the reported issue” NullReferenceException on SfMaskedEdit after upgrade to 19.1.0.57” from our end. Will include this fix in our upcoming weekly NuGet release expected to be delivered on 4th May 2021.We will intimate you once it gets released. We will appreciate your patience until then.  

Regards,  
Sangeetha G 



IS István April 27, 2021 02:30 PM UTC

Hi Sangeetha,

Thank you for your prompt response!

Regards,  
István


SG Sangeetha Ganesan Syncfusion Team April 28, 2021 04:08 PM UTC

Hi István,  
  
Thank you for your update. It will be included in our upcoming weekly nuget release expected to be delivered on 4th May 2021. We will intimate you once it gets published.  
  
Regards,  
Sangeetha G  



SG Sangeetha Ganesan Syncfusion Team May 4, 2021 07:39 AM UTC

Hi István,

The reported issue “NullReferenceException on SfMaskedEdit after upgrade to 19.1.0.57” is fixed and included in today's published nuget release [19.1.0.59] . You can refer it in nuget.org.

Nuget Link: https://www.nuget.org/

Please let us know if you have any other concerns. We will be glad to assist you.

Regards,
Sangeetha G
 


Marked as answer
Loader.
Up arrow icon