NullPointerException when rendering graphs

Discussion of development versions only
Post Reply
User avatar
pbittner
Gephi Plugin Developer
Posts: 35
Joined: 18 Mar 2010 23:03
Location: London, UK

NullPointerException when rendering graphs

Post by pbittner » 18 Jul 2010 17:23

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

After I import a graph and validate the import report I 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)

User avatar
mbastian
Gephi Architect
Posts: 728
Joined: 10 Dec 2009 10:11
Location: San Francisco, CA

Re: NullPointerException when rendering graphs

Post by mbastian » 19 Jul 2010 08:29

Hi Paul-Antoine,

My mistake...it's fixed now. Thank you for reporting.

User avatar
pbittner
Gephi Plugin Developer
Posts: 35
Joined: 18 Mar 2010 23:03
Location: London, UK

Re: NullPointerException when rendering graphs

Post by pbittner » 19 Jul 2010 10:53

Ok so let's move to the next one ;)

A NullPointerException is thrown when nodes have to be removed from the graph (manually or using a filter).

https://bugs.launchpad.net/gephi/+bug/607136

Post Reply