gephi/trunk — Issue #141: ArrayIndexOutOfBoundsException on data table
Author: mbastian
Created: 2011-10-22 16:43:07+00:00
State: open
Labels: Medium, Won_t Fix

Description from user:
I'm importing a .gdf graph file, with nodedef and edgedef declared following official specifications. Edges table is fine, but nodes table remain empty (freeze on "Fetching data").

Stack trace:
java.lang.ArrayIndexOutOfBoundsException: 2
at org.gephi.desktop.datalab.NodeDataTable$NodeRowModel.getValueFor(NodeDataTable.java:370)
at org.netbeans.swing.outline.ProxyTableModel.getValueAt(ProxyTableModel.java:105)
at org.netbeans.swing.outline.DefaultOutlineModel.getValueAt(DefaultOutlineModel.java:256)
at org.netbeans.swing.etable.ETable$RowMapping.getModelObject(ETable.java:1976)
at org.netbeans.swing.etable.ETableColumn$RowComparator.compare(ETableColumn.java:658)
at org.netbeans.swing.outline.Outline$OutlineColumn$OutlineRowComparator.compare(Outline.java:410)
at org.netbeans.swing.outline.Outline$OutlineColumn$OutlineRowComparator.compare(Outline.java:374)
at org.netbeans.swing.etable.ETableColumnModel$CompoundComparator.compare(ETableColumnModel.java:323)
at org.netbeans.swing.etable.ETableColumnModel$CompoundComparator.compare(ETableColumnModel.java:311)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at org.netbeans.swing.etable.ETable.sortAndFilter(ETable.java:1449)
at org.netbeans.swing.etable.ETable.convertRowIndexToModel(ETable.java:1199)
at javax.swing.JTable.getValueAt(JTable.java:2686)
at org.netbeans.swing.etable.ETable.getValueAt(ETable.java:644)
at javax.swing.JTable.prepareRenderer(JTable.java:5703)
at javax.swing.JTable.getToolTipText(JTable.java:3362)
at org.netbeans.swing.etable.ETable.getToolTipText(ETable.java:753)
at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:662)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
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:137)
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)