FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

Random Android crash (with stack trace)

Open Tommigun1980 opened this issue 5 years ago • 1 comments

Hi.

Suddenly out of the blue my Android build crashed with the following stack trace:

System.NullReferenceException: Object reference not set to an instance of an object.

  at FFImageLoading.Forms.Platform.CachedImageRenderer+MotionEventHelper.HandleMotionEvent (Android.Views.IViewParent parent, Android.Views.MotionEvent motionEvent) [0x00027] in C:\projects\ffimageloading\source\FFImageLoading.Forms.Droid\CachedImageRenderer.cs:350 
  at FFImageLoading.Forms.Platform.CachedImageRenderer.OnTouchEvent (Android.Views.MotionEvent e) [0x0000b] in C:\projects\ffimageloading\source\FFImageLoading.Forms.Droid\CachedImageRenderer.cs:116 
  at Android.Views.View.n_OnTouchEvent_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x0000f] in <a54fd02a94254b8f91efc9ea3cec736c>:0 
  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.35(intptr,intptr,intptr)

Any chance this could get fixed?

Android 9.0 simulator, latest FFImageLoading version. Thanks.

Tommigun1980 avatar Oct 31 '20 23:10 Tommigun1980

This is now actually happening every time for a particular image. My guess is that some download failed or was aborted. I think a null check at the very least would be required. I had to uninstall and reinstall the app for the problem to go away.

Is this project maintained anymore, will crash bugs get fixed?

Tommigun1980 avatar Nov 01 '20 00:11 Tommigun1980