Auar / flexvizgraphlib

Automatically exported from code.google.com/p/flexvizgraphlib
0 stars 0 forks source link

Error: VNode 5: set x tried to set NaN #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- This problem is difficult to reproduce.  It shows up intermittently.

What is the expected output? What do you see instead?
-The expected output is the usual graph using ConcentricRadialLayouter. 
However, once in a while, the error occurs.

What version of the product are you using? On what operating system?
-Using the latest version found on SVN on Feb 15th, 2008.  OS is Win XP.

Please provide any additional information below.
-Stack trace below:

Error: VNode 5: set x tried to set NaN
    at org.un.flex.graphLayout.visual::VisualNode/set x()
    at
org.un.flex.graphLayout.layout::AnimatedBaseLayouter/org.un.flex.graphLayout.lay
out:AnimatedBaseLayouter::interpolatePolarCoords()
    at
org.un.flex.graphLayout.layout::AnimatedBaseLayouter/org.un.flex.graphLayout.lay
out:AnimatedBaseLayouter::startAnimation()
    at org.un.flex.graphLayout.layout::ConcentricRadialLayouter/layoutPass()
    at org.un.flex.graphLayout.visual::VisualGraph/draw()
    at org.un.flex.graphLayout.visual::VisualGraph/::updateVisibility()
    at org.un.flex.graphLayout.visual::VisualGraph/set
::_262422109currentRootVNode()
    at org.un.flex.graphLayout.visual::VisualGraph/set currentRootVNode()

Original issue reported on code.google.com by yend...@gmail.com on 15 Feb 2008 at 11:30

GoogleCodeExporter commented 9 years ago
Actually, I just found that this problem is reproducible.  My graph is 
displayed on a
TitleWindow.  If I close the TitleWindow while the graph is animating the 
layout, the
next time the TitleWindow is popped up to display the graph, the error occurs.

Original comment by yend...@gmail.com on 15 Feb 2008 at 11:52

GoogleCodeExporter commented 9 years ago
Hi, I just committed some sanity checks to the VisualGraph.draw() method. It is
possible that this also fixed your issue, but I cannot be sure. Could you 
provide a
very small demo application (and its code) that shows the fix, or if you can
reproduce the fix with the vgExplorer Demo application, just describe how to do 
it there.

If I minimize and maximize the window of the vgExplorer (running in standalone
flashplayer), I get no more crashed.

Original comment by spo...@gmail.com on 21 Mar 2008 at 4:10

GoogleCodeExporter commented 9 years ago
No further feedback, assuming it is fixed.

Original comment by spo...@gmail.com on 18 May 2008 at 5:44