Wierd errors IOS

Hi, I’m reading my performance reports errors and I don’t understand some of the errors reported.

1st, I have a:

NullReferenceException: A null value was found where an object instance was required.
PopUps.match3.ranking.historique.RankingHistoriqueListeItem.ImageLoaded (UnityEngine.Texture2D texture)

here is the related function:

private void ImageLoaded( Texture2D texture )
{
    if( _ami == null )
        return;
    
    if( loading != null )
        loading.SetActive( false );
    if( imageJoueur != null )
        imageJoueur.ChangerTexture( texture );
}

Where could be a null reference exception here ?[/COLOR][/FONT]

2nd, lot of my errors stack trace on IOS devices start by:[/COLOR][/COLOR]

Facebook.Unity.Mobile.Android.IAndroidWrapper.CallStatic[T] (System.String methodName)
Facebook.Unity.Mobile.Android.IAndroidWrapper.CallStatic[T] (System.String methodName)
Facebook.Unity.Mobile.Android.IAndroidWrapper.CallStatic[T] (System.String methodName)
UnityEngine.EventSystems.StandaloneInputModule:process()
Facebook.Unity.Mobile.Android.IAndroidWrapper:CallStatic(String)
Facebook.Unity.Mobile.Android.IAndroidWrapper:CallStatic(String)
Facebook.Unity.Mobile.Android.IAndroidWrapper:CallStatic(String)

Why is there Facebook.Unity.Mobile.Android on IOS ?

Any help would be very appreciated.[/COLOR][/COLOR]
[/FONT]

Does the error tell you which line it is on?

Apparently there were an error in the reported function, I fixed some other errors (repported by the iOS app) and this one disappeared.