gephi/gephi — Issue #516: NullPointer in GUI when defining range
Author: sheymann
Created: 2012-01-29 20:47:36+00:00
State: open
Labels: Filters

The editor for selecting a range suffers a null pointer if the range filter is added the filter tree as a subfilter.
If I add a Degree range filter on its own I can set bounds with the sliders.
If I add it as a subfilter in this hierarchy : Intersection->Not(Nodes)->Attribute Range filter I get the error below:

java.lang.NullPointerException
at org.gephi.ui.filters.plugin.graph.RangePanel$1$2.run(RangePanel.java:120)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

initially reported: https://bugs.launchpad.net/gephi/+bug/922497