I had same issue, I found the reason : This happen when you have defined the 'MaxLength' of Entry in XAML and setting a value a value which exceed the defined length of your <Entry inside XAML. Just update the length OR check length before setting value.
<Entry
x:Name="entry1"
MaxLength="2"
/>