Index out of range or the page stuck

I'm getting a repetitive, non-stop error in the console.
Here is a sample code t reproduce the issue. 

Attachment: index_out_of_range_de0cedf8.rar

3 Replies

JJ Jawin John Syncfusion Team July 10, 2025 02:37 PM UTC

Hi,


We were able to reproduce the reported issue using the sample you provided. We are currently validating the root cause and will share detailed findings as soon as possible.

 

Best Regards,

Jawin




JJ Jawin John Syncfusion Team July 14, 2025 10:25 AM UTC

Hi,

Reported issue:
  Index Out of Range Error When Switching to ComplexHierarchicalTree Layout in Blazor Diagram


We have confirmed that the reported issue is a bug and have logged a defect report regarding it. We will fix the issue and include the fix in our upcoming weekly NuGet release, which is expected to be rolled out on "AUG 5, 2025". We appreciate your patience until then.  
 

Meanwhile, you can track the status of the bug at the following link:

Feedback Link: https://www.syncfusion.com/feedback/68862/index-out-of-range-error-when-switching-to-complexhierarchicaltree-layout-in
 

Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.


Best
Regards,
Jawin



JJ Jawin John Syncfusion Team August 7, 2025 01:51 PM UTC

Hi,

 

We have fixed the reported issue  “Index Out of Range Error When Switching to ComplexHierarchicalTree Layout in Blazor Diagram” and included the fix in our SB patch release(30.2.4). Please update the “Syncfusion.Blazor.Diagram” package to the latest version in your application to resolve the reported issue. Please find the package link below.

 

https://www.nuget.org/packages/Syncfusion.Blazor.Diagram

Root Cause:

The issue occurred due to a missing or improper null check for the Median value during the layout arrangement of nodes and connectors. This oversight led to an index out of range error when the system attempted to access a non-existent element in the data structure.

Best Regards,
Jawin


Loader.
Up arrow icon