Object reference not set to an instance of an object. at Syncfusion.Maui.ListView.ListViewItem.ProcessSwipingInteractions

latest version of 32.2.9 is throwing following exception SfListview. I am on .Net10 and didnt make any other single change but updated to latest versions. last working version was 32.2.3 i have tested.




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

   at Syncfusion.Maui.ListView.ListViewItem.ProcessSwipingInteractions(PointerEventArgs e)

   at Syncfusion.Maui.ListView.ListViewItem.OnTouch(PointerEventArgs e)

   at Syncfusion.Maui.Core.Internals.TouchDetector.OnTouchAction(PointerEventArgs eventArgs)

   at Syncfusion.Maui.Core.Internals.TouchDetector.OnTouchAction(Func`2 getPosition, Int64 pointerId, PointerActions action, PointerDeviceType deviceType, Point point)

   at Syncfusion.Maui.Core.Internals.TouchDetector.OnTouch(Object sender, TouchEventArgs e)

   at Android.Views.View.IOnTouchListenerImplementor.OnTouch(View v, MotionEvent e)

   at Android.Views.View.IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_v, IntPtr native_e)

--- End of stack trace from previous location ---

   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualBooleanMethod(JniObjectReference instance, JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)

   at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)

   at Android.Views.View.DispatchTouchEvent(MotionEvent e)

   at Syncfusion.Maui.Core.Platform.LayoutViewGroupExt.DispatchTouchEvent(MotionEvent e)

   at Android.Views.View.n_DispatchTouchEvent_Landroid_view_MotionEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_e)

--- End of stack trace from previous location ---

   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualBooleanMethod(JniObjectReference instance, JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)

   at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)

   at Android.Views.View.DispatchTouchEvent(MotionEvent e)

   at Syncfusion.Maui.Core.Platform.LayoutViewGroupExt.DispatchTouchEvent(MotionEvent e)

   at Android.Views.View.n_DispatchTouchEvent_Landroid_view_MotionEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_e)

--- End of stack trace from previous location ---

   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualBooleanMethod(JniObjectReference instance, JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)

   at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)

   at Android.Views.View.DispatchTouchEvent(MotionEvent e)

   at Syncfusion.Maui.Core.Platform.LayoutViewGroupExt.DispatchTouchEvent(MotionEvent e)

   at Android.Views.View.n_DispatchTouchEvent_Landroid_view_MotionEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_e)

--- End of stack trace from previous location ---

   at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualBooleanMethod(JniObjectReference instance, JniObjectReference type, JniMethodInfo method, JniArgumentValue* args)

   at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualBooleanMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)

   at Android.App.Activity.DispatchTouchEvent(MotionEvent ev)

   at Microsoft.Maui.MauiAppCompatActivity.DispatchTouchEvent(MotionEvent e) in /_/src/Core/src/Platform/Android/MauiAppCompatActivity.cs:line 70

   at Android.App.Activity.n_DispatchTouchEvent_Landroid_view_MotionEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_ev)


1 Reply

MM Muthukumar Madasamy Syncfusion Team March 16, 2026 10:11 AM UTC

Hi Emil,

 

Thank you for reporting the issue and for sharing the stack trace.

 

We have checked this behavior on our side with the following setup:

 

  • .NET MAUI version: 10.0.50
  • Syncfusion.Maui.ListView version: 32.2.9
  • Scenario: Simple SfListView with swiping enabled, tested in a basic sample
  • Platforms tested: Android, Windows, macOS, and iOS

In our tests, we were not able to reproduce the NullReferenceException.

 

Based on the stack trace and our internal review, we suspect that the issue might be related to a specific swiping scenario or layout configuration. However, since we are currently unable to reproduce the crash in our test environment, we don’t want to make assumptions about the exact root cause without a reproducible case.

 

To investigate this further and identify what is different in your case, could you please provide the following details?

 

Platform and device details

    • Platform where the crash occurs (e.g., Android / iOS / Windows / macOS)
    • Device model and OS version
      • For example:
        • Android: Device model + Android version
        • iOS: Device model + iOS version
        • Windows: OS build version
        • macOS: macOS version
    • Emulator or physical device?

.NET / MAUI

    • .NET MAUI Control version (you mentioned .NET 10 – please confirm the exact MAUI Control version as well)

ListView usage / code snippet Please share either:

    • A simple reproducible sample, or
    • The relevant XAML and code-behind where SfListView is defined and swiping is used. In particular, it will help us to see:
    • The SfListView definition (XAML or C#)
    • ItemTemplate / ItemSize / ItemsSource bindings
    • Any swipe-related settings:
      • SfListView.SwipeOffset
      • SfListView.AllowSwiping
      • SwipeEnded, SwipeStarted, or other swipe events
    • Any custom gesture/touch handling on the same page or parent views

Exact steps to reproduce:

    • What user action causes the crash? (e.g., “swipe item quickly”, “start swiping and then tap elsewhere”, “multi-finger swipe”, etc.)
    • Does it happen for all items or only specific ones?
    • Is the ListView inside another control (e.g., ScrollView, SwipeView, custom layout, popup, etc.)?

Once we have the above details or a small reproducible project, we will be able to analyze the issue more precisely and provide you with a proper fix or workaround.

 

Best Regards,

Muthu Kumar Madasamy.


Attachment: ListViewSample_ed1ec14f.zip

Loader.
Up arrow icon