Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic System.StackOverflowException was unhandled (Read 6605 times)
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
System.StackOverflowException was unhandled
Sep 2nd, 2009 at 5:53am
Print Post  
When I try to use the latest layered layout for a complex network, I am getting "An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll.

Please let me know how we can resolved this issue. This bug seems to be new as of this version.

Thank you.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: System.StackOverflowException was unhandled
Reply #1 - Sep 2nd, 2009 at 5:57am
Print Post  
Do you mean the StraightenLinks property? Please email the diagram that caused the exception to support@mindfusion.eu.
  
Back to top
 
IP Logged
 
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Re: System.StackOverflowException was unhandled
Reply #2 - Sep 2nd, 2009 at 2:16pm
Print Post  
The file was sent yesterday.
Can you verify whether you are getting the same error?

Thank you.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: System.StackOverflowException was unhandled
Reply #3 - Sep 2nd, 2009 at 6:20pm
Print Post  
It worked in our test:


What layout code are you using?
  
Back to top
 
IP Logged
 
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Re: System.StackOverflowException was unhandled
Reply #4 - Sep 2nd, 2009 at 6:26pm
Print Post  
That's great news. Here is the code that I am using.

Dim ll As MindFusion.Diagramming.Layout.LayeredLayout = New MindFusion.Diagramming.Layout.LayeredLayout()
       ll.Direction = Direction.Straight
       ll.LayerDistance = 200
       ll.NodeDistance = 200
       ll.IgnoreNodeSize = False
       ll.LinkType = LayeredLayoutLinkType.Straight
       ll.Orientation = MindFusion.Diagramming.Layout.Orientation.Horizontal
       ll.MultipleGraphsPlacement = MultipleGraphsPlacement.Vertical
       ll.EnforceLinkFlow = True
       ll.StraightenLongLinks = True
       ll.KeepGroupLayout = True
       ll.SplitLayers = False
       ll.TimeLimit = 5000
       ll.Arrange(diagramView.Diagram)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: System.StackOverflowException was unhandled
Reply #5 - Sep 3rd, 2009 at 8:45am
Print Post  
It seems that happens when both EnforceLinkFlow and StraightenLongLinks are enabled. We'll try to upload the fix here later today.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: System.StackOverflowException was unhandled
Reply #6 - Sep 3rd, 2009 at 11:12am
Print Post  
Hi,

Check the PM page.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint