IllegalArgumentException when applying a filter

Bug #806558 reported by André Panisson
This bug report is a duplicate of:  Bug #823038: NodeEqualNumberFilter does not work. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Confirmed
High
Mathieu Bastian

Bug Description

Version: Gephi 0.8-alpha

Way to reproduce:

- Open Gephi, create a new project.
- Go to File > Generate > Random Graph
- Choose Number of nodes = 50 and Wiring probability = 0.05, OK
- Go to Data Laboratory, select Nodes table,
- Click Add Column, Title: a, Type: Integer, OK
- Click on Fill column with a value, choose column a, value 1, OK
- Change the value of a for the first node to 0
- Go to Overview, Filters tab, open Attributes > Equal > a, and add a filter with a double-click
- At Equal settings, change the value to 1
- Click on Filter to run the filter

At this point, an Exception is raised, and the filter seems to run forever.
The exception is:
java.lang.IllegalArgumentException: min, max and value must be the same class
 at org.gephi.filters.api.Range.tribToBounds(Range.java:356)
 at org.gephi.filters.plugin.attribute.AttributeEqualBuilder$EqualNumberFilter.refreshValues(AttributeEqualBuilder.java:390)
 at org.gephi.filters.plugin.attribute.AttributeEqualBuilder$EqualNumberFilter.init(AttributeEqualBuilder.java:337)
 at org.gephi.filters.FilterProcessor.processNodeFilter(FilterProcessor.java:110)
 at org.gephi.filters.FilterProcessor.process(FilterProcessor.java:84)
 at org.gephi.filters.FilterThread.filter(FilterThread.java:128)
[catch] at org.gephi.filters.FilterThread.run(FilterThread.java:99)

This bug is not present in Gephi 0.7, only 0.8-alpha.

Tags: filter
Changed in gephi:
milestone: none → 0.8alpha
Changed in gephi:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mathieu Bastian (mathieu.bastian)
tags: added: filter
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.