NPE when running ClusteringCoefficient on a filtered graph

Bug #852799 reported by Mathieu Bastian on 2011-09-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
High
Mathieu Bastian

Bug Description

Way to reproduce:
1) Load sample graph LesMiserables
2) Filter the graph with Degree Range any value
3) RUn the ClusteringCoefficient metric
Throws an NullPointerException

Stack trace:
java.lang.NullPointerException
 at org.gephi.statistics.plugin.ClusteringCoefficient.triangles(ClusteringCoefficient.java:362)
 at org.gephi.statistics.plugin.ClusteringCoefficient.execute(ClusteringCoefficient.java:224)
 at org.gephi.statistics.plugin.ClusteringCoefficient.execute(ClusteringCoefficient.java:218)
 at org.gephi.statistics.StatisticsControllerImpl.execute(StatisticsControllerImpl.java:121)
 at org.gephi.statistics.StatisticsControllerImpl$2.run(StatisticsControllerImpl.java:109)

Fixed in rev 2441.

Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
milestone: none → 0.8alpha
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