gephi/trunk — Issue #6: NullPointerException at the rendering stage when importing a graph
Author: mbastian
Created: 2011-10-22 16:41:23+00:00
State: open
Labels: Critical, Fix Released

There seems to be an issue with one of the last revisions regarding the weight of edges.

After you import a graph (gml, gexf...) and validate the import report you get the following exception:

java.lang.NullPointerException
at org.gephi.graph.dhns.edge.EdgeDataImpl.getWeight(EdgeDataImpl.java:207)
at org.gephi.graph.dhns.edge.AbstractEdge.getWeight(AbstractEdge.java:71)
at org.gephi.visualization.bridge.DHNSDataBridge.updateEdges(DHNSDataBridge.java:191)
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:285)
[catch] at org.gephi.visualization.scheduler.SimpleFPSAnimator.run(SimpleFPSAnimator.java:58)