System.ArgumentNullException Occurs When Assigning Empty Class Object to ListView ItemSource on Windows Platform #27899
Labels
area-controls-listview
ListView and TableView
partner/syncfusion
Issues / PR's with Syncfusion collaboration
platform/windows 🪟
t/bug
Something isn't working
Milestone
Description
The Windows app crashes with a System.ArgumentNullException when running the sample code that includes a CustomViewCell inside a ListView. The exception occurs when trying to interact with or render the CustomViewCell in the ListView, leading to an immediate crash.
Steps to Reproduce
Expected Behavior:
The ListView should render and display the CustomViewCell without any exceptions, and the ItemTapped event should fire correctly when interacting with the cell. The app should not crash.
Actual Behavior:
The app crashes on Windows with a System.ArgumentNullException when the CustomViewCell is rendered or tapped. The exception is thrown during the interaction with the ListView, preventing the UI from being displayed as expected.
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: