gephi/trunk — Issue #39: NullPointerException when switching between workspaces while a layout is running
Author: mbastian
Created: 2011-10-22 16:41:47+00:00
State: open
Labels: Fix Released, High

1. Launch Gephi and open the sample file PowerGrid.gml
2. Create a new workspace and go to that workspace
3. Generate a Random Graph with 500 nodes in the new workspace
4. Launch the Force Atlas layout on this graph
5. Switch back to workspace 0

java.lang.NullPointerException
at org.gephi.visualization.opengl.compatibility.objects.Arrow2dModel.isInOctreeLeaf(Arrow2dModel.java:199)
at org.gephi.visualization.opengl.octree.Octree.updateObjectsPosition(Octree.java:268)
at org.gephi.visualization.opengl.compatibility.CompatibilityEngine.updateObjectsPosition(CompatibilityEngine.java:636)
at org.gephi.visualization.opengl.compatibility.CompatibilityScheduler.updatePosition(CompatibilityScheduler.java:279)
[catch] at org.gephi.visualization.scheduler.SimpleFPSAnimator.run(SimpleFPSAnimator.java:58)