datalab: exception on hiding a column used to sort the table #454

sheymann opened this Issue Nov 4, 2011 · 1 comment


None yet

2 participants

sheymann commented Nov 4, 2011

Way to reproduce:

  1. Sort the node table on labels.
  2. Hide the label column.

java.lang.ArrayIndexOutOfBoundsException: -1
at org.netbeans.swing.etable.ETable.createDefaultColumnsFromModel(
at javax.swing.JTable.tableChanged(
at org.netbeans.swing.etable.ETable.tableChanged(
at org.netbeans.swing.outline.Outline.tableChanged(
at javax.swing.JTable.setModel(
at org.netbeans.swing.etable.ETable.setModel(
at org.netbeans.swing.outline.Outline.setModel(
at org.gephi.desktop.datalab.NodeDataTable.refreshModel(
[catch] at org.gephi.desktop.datalab.DataTableTopComponent$
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEvent(
at org.netbeans.core.TimableEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

@eduramiba eduramiba was assigned Nov 4, 2011
@eduramiba eduramiba added a commit that referenced this issue Nov 6, 2011
@eduramiba eduramiba Fix Issue #454 ae34e5c

Fixed on commit ae34e5c

Again, a Netbeans Outline problem. It throws an exception when you update the table model to other not containing that old sorted column. So this happened if a sorted column was deleted too.
I had to clear sorting when refreshing the model.

@eduramiba eduramiba closed this Nov 6, 2011
@eduramiba eduramiba was unassigned by mbastian Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment