NodeEqualNumberFilter does not work

Bug #823038 reported by Luiz Ribeiro on 2011-08-09
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fix Released
Mathieu Bastian

Bug Description

Filtering with the Attribute Equals filter doesn't work on an Integer column (and probably doesn't work with other Number types).

Steps to reproduce this bug:

1. Add a few nodes to a newly created graph (say, 3 nodes);
2. Create a new attribute column with the Integer type (let's call this "num");
3. Assign values to each of the nodes (e.g. {1, 2, 3});
4. Try filtering the graph with the Attributes Equal filter on the "num" column, from Filters UI.

The following exception is thrown:
java.lang.IllegalArgumentException: min, max and value must be the same class
 at org.gephi.filters.api.Range.tribToBounds(
 at org.gephi.filters.plugin.attribute.AttributeEqualBuilder$EqualNumberFilter.refreshValues(
 at org.gephi.filters.plugin.attribute.AttributeEqualBuilder$EqualNumberFilter.init(
 at org.gephi.filters.FilterProcessor.processNodeFilter(
 at org.gephi.filters.FilterProcessor.process(
 at org.gephi.filters.FilterThread.filter(
[catch] at

I have the same problem when trying to filter with the Filters API (i.e. through code, without the UI).

Changed in gephi:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
assignee: nobody → Mathieu Bastian (mathieu.bastian)

Fixed in rev 2310

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.

Duplicates of this bug

Other bug subscribers