gephi/trunk — Issue #174: Data Lab: Exception when selecting only one column for merging
Author: mbastian
Created: 2011-10-22 16:43:31+00:00
State: open
Labels: datalab, Fix Released, Medium

Way to reproduce:
1. Go to Data Lab > Edges
2. Select Merge Columns
3. Choose one column (i.e. weights) and the SUM operator
4. Apply

java.lang.ClassCastException: org.gephi.datalab.plugin.manipulators.columns.merge.SumNumbers cannot be cast to org.gephi.datalab.plugin.manipulators.columns.merge.GeneralColumnTitleChooser
at org.gephi.datalab.plugin.manipulators.columns.merge.ui.GeneralColumnTitleChooserUI.setup(GeneralColumnTitleChooserUI.java:72)
at org.gephi.datalab.api.DataLaboratoryHelper$3.run(DataLaboratoryHelper.java:204)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
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)