[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •NullPointerException when rendering graphs
Page 1 of 1

NullPointerException when rendering graphs

Posted: 18 Jul 2010 17:23
by pbittner
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)

Re: NullPointerException when rendering graphs

Posted: 19 Jul 2010 08:29
by mbastian
Hi Paul-Antoine,

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

Re: NullPointerException when rendering graphs

Posted: 19 Jul 2010 10:53
by pbittner
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