NullPointerException when filtering undirected graphs

Bug #571153 reported by Mathieu Bastian on 2010-04-28
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
High
Mathieu Bastian
0.7
Fix Released
High
Unassigned

Bug Description

Way to reproduce:
1) Open a graph file, undirected
2) Create "Degree Range Filter" and enable filtering
3) Play with range slide
An exception is thrown sometimes, with higher probability is layout is active

Stack Trace:
java.lang.NullPointerException
 at org.gephi.graph.dhns.edge.AbstractEdge.getUndirected(AbstractEdge.java:92)
 at org.gephi.graph.dhns.edge.iterators.EdgeIterator.hasNext(EdgeIterator.java:59)
 at org.gephi.graph.dhns.graph.iterators.EdgeIteratorImpl.hasNext(EdgeIteratorImpl.java:44)
 at org.gephi.visualization.bridge.DHNSDataBridge.updateEdges(DHNSDataBridge.java:187)
 at org.gephi.visualization.bridge.DHNSDataBridge.updateWorld(DHNSDataBridge.java:126)
 at org.gephi.visualization.opengl.compatibility.CompatibilityEngine.updateWorld(CompatibilityEngine.java:181)
 at org.gephi.visualization.opengl.compatibility.CompatibilityScheduler.updateWorld(CompatibilityScheduler.java:270)

Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
Michael (fireang3l) wrote :

I get the same symptoms in alpha 4 - here's the stack trace, which is different than from the original report

java.lang.NullPointerException
 at org.gephi.visualization.opengl.compatibility.objects.Edge2dModel.isInOctreeLeaf(Edge2dModel.java:112)
 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)

Changed in gephi:
status: Fix Released → Confirmed
Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers