Exception while on iPad (iOS 12)

I have used this control successfully on Android and iPhone (through Xamarin forms), but when my app is deployed on iPad (iOS 12) I keep getting this exception and a page containing this control wont even load. Please help.

System.NullReferenceException: Object reference not set to an instance of an object
  at Xamarin.Forms.Platform.iOS.EntryRendererBase`1[TControl].GetClearButtonTintImage (UIKit.UIImage image, UIKit.UIColor color) [0x00000] in <4c65493b0ca44a809e1174d1a41683bd>…}


5 Replies

ET Eswaran Thirugnanasambandam Syncfusion Team September 17, 2021 01:31 PM UTC

Hi Dawit, 
 
Greetings from Syncfusion. 
 
We checked the reported problem with the provided call stack in the following real time devices. But we are unable to reproduce it from our side. 
 
·         iPad Device (iOS 13.1) 
·         iPod (iOS 12.5) 
 
We have prepared a sample and video in iPad device to show the exception is not reproduced. Please get it from the below link. 
 
 
Please check the video. If you still face any problem, can you revert us by sharing the device details and modified sample to replicate the issue, this will help us to provide you a better solution at the earliest. 
 
Regards, 
Eswaran. 



DA Dawit September 17, 2021 10:26 PM UTC

Thank you. I will have a look and report back.



ET Eswaran Thirugnanasambandam Syncfusion Team September 20, 2021 05:35 AM UTC

Hi Dawit,  
  
Thanks for your update.  
  
We will wait until hear from you.  
  
Regards, 
Eswaran 



DA Dawit September 21, 2021 02:10 PM UTC

Well, turns out the problem was not the Syncfusion control, but a bug in Xamarin.Forms where setting the ClearButtonVisibility and TextColor at the same time on Entry crashed the app. As described here:  

[Bug] NullReferenceException in EntryRenderer on iOS versions <14.X with ClearButtonVisibility.WhileEditing and non-default TextColor · Issue #14523 · xamarin/Xamarin.Forms (github.com)

I have wasted my and you guys time for nothing.

This is the third framework bug that I came across on Xamarin.Forms just this week. I am starting to despair.


Thank you for your help.



ET Eswaran Thirugnanasambandam Syncfusion Team September 22, 2021 05:50 AM UTC

Hi Dawit, 
 
Thanks for your update, 
 
Let us know, if you need further assistance. 
 
Regards, 
Eswaran 


Loader.
Up arrow icon