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!>
Thanks for joining our community and helping improve Syncfusion products!
Hi, I think I have just found a bug in the SfGantt control.
I have a page that contains an SfTab control with a Selected event defined. One of the tabs contains an SfGantt control. (Refer attached solution and video).
This page has been in production for a number of months, but with an upgrade from 20.2.0.48 to 20.3.48, I started to get an error whenever I selected the tab containing the SfGantt control.
The error is:
at System.Threading.Tasks.Task.<>c.
The full text error that I get is as follows:
[2022-10-08T03:25:45.148Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.Gantt.Internal.TreeGridPane`1.OnPropertiesChanged(IDictionary`2 PropertyChanges)
at System.Threading.Tasks.Task.<>c.
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<.cctor>b__23_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)