NPE when running ClusteringCoefficient on a filtered graph

Bug #852799 reported by Mathieu Bastian
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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:
 at org.gephi.statistics.plugin.ClusteringCoefficient.triangles(
 at org.gephi.statistics.plugin.ClusteringCoefficient.execute(
 at org.gephi.statistics.plugin.ClusteringCoefficient.execute(
 at org.gephi.statistics.StatisticsControllerImpl.execute(
 at org.gephi.statistics.StatisticsControllerImpl$

Tags: metric
Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.