New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Copy link

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(

@ghost ghost assigned eduramiba Nov 4, 2011

eduramiba added a commit that referenced this issue Nov 6, 2011


This comment has been minimized.

Copy link

eduramiba commented Nov 6, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment