Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Good morning,

Using GridFilterSettings with FilterType.Excel is causing an "Object reference not set to an instance of an object" exception when opening the filter on a string column that contains nulls. This issue has started occurring in 24.1.45, and is resolved by reverting to 24.1.44.

Here is the stack trace:


System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1.UpdateCheckBoxDataItems(IEnumerable`1 CheckboxData, Boolean isForeignDataEmpty)
   at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1.UpdateDataSource(Boolean isInputSearch, IEnumerable`1 customFilterData, Int32 filterChoiceCount)
   at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1.OpenFilterDialog(String XPosition, String YPosition)
   at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1.DialogCreated()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Syncfusion.Blazor.Popups.SfDialog.OnAfterScriptRendered()
   at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender)
   at Syncfusion.Blazor.Popups.SfDialog.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Disabling "Just my Code" in debugging exceptions shows me that the line in FilterCheckBoxRenderer giving the exception is:

string text2 = obj2.ToString();


Thanks,
Tim