gephi/trunk — Issue #31: NullPointerException when filtering undirected graphs
Author: mbastian
Created: 2011-10-22 16:41:42+00:00
State: open
Labels: filter, Fix Released, High

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)