We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IndexOutOfBounds exception

Thread ID:





141820 Jan 6,2019 09:26 PM UTC Jan 7,2019 12:14 PM UTC WPF 1
Tags: SfDiagram
Kelly Salvage
Asked On January 6, 2019 09:26 PM UTC

following the getting started article for the WPF SFDiagram (Getting started with Syncfusion Essential Diagram for WPF.) , I've found a bug that seems to only occur when the Shape is InternalStorage (Well, I've not tried an exhaustive attempt to locate all errors in any event). As soon as you attempt to connect a connector to a Node with the InternalStorage event (whether programatically or in the diagram by user interaction at run time) an IndexOutOfBounds exception is thrown. I attach a zip file of a project to demonstrate this. The exception is thrown as soon as a connection is added to a node where the shape is Internaltorage.

This may of course be due to the Resources from the DiagramBuilder demo, but may be a more fundamental issue: my solution was to not use the InternalStorage shape, but I'm sure this will vex other people who will wonder why just this shape has issues with connectors. This leads me to ask, are there any prerequisites for creating custom shapes that may need to be addressed in terms of connectors? I.E. If I was to create a custom shape, are there any issues I should be aware of that could be a problem when trying to use connectors?

Best regards

Attachment: DiagramBug_53791839.zip

Ramya Thirugnanam [Syncfusion]
Replied On January 7, 2019 12:14 PM UTC

Hi Kelly,  
Thanks for contacting Syncfusion support. 
Reported issue: Exception thrown when connecting the Node(Shapes with multiple path). 
We can reproduce the reported issue when Node's Shape is with multiple path with Diagram. We have confirmed this as a defect and logged a defect report. 
The fix will be available in our Service pack 1 of Volume 4  release which is scheduled to be rolled out on end of January 2019.  Now, you can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through feedback link. 
Ramya T 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon