Buggy code:
public class Table extends Composite { int modelHandle ; int checkRenderer ; int itemCount ; int columnCount ; int lastIndexOf ; int lastDataIndex = - 1 ; int ignoreTextCell ; int ignorePixbufCell ; TableItem [ ] items ; TableColumn [ ] columns ; ImageList imageList ; boolean firstCustomDraw ; static final int CHECKED_COLUMN = 0 ; static final int GRAYED_COLUMN = 1 ; static final int FOREGROUND_COLUMN = 2 ; static final int BACKGROUND_COLUMN = 3 ; static final int FONT_COLUMN = 4 ; static final int FIRST_COLUMN = ( Table . FONT_COLUMN ) + 1 ; static final int CELL_PIXBUF = 0 ; static final int CELL_TEXT = 1 ; static final int CELL_FOREGROUND = 2 ; static final int CELL_BACKGROUND = 3 ; static final int CELL_FONT = 4 ; static final int CELL_TYPES = ( Table . CELL_FONT ) + 1 ; public Table ( Composite parent , int style ) { } TableItem _getItem ( int index ) { } static int checkStyle ( int style ) { } boolean checkData ( TableItem item ) { } protected void checkSubclass ( ) { } public void addSelectionListener ( SelectionListener listener ) { } int calculateWidth ( int column , int iter ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } public void clear ( int index ) { } public void clear ( int start , int end ) { } public void clear ( int [ ] indices ) { } public void clearAll ( ) { } void createColumn ( TableColumn column , int index ) { } void createHandle ( int index ) { } void createItem ( TableColumn column , int index ) { } void createItem ( TableItem item , int index ) { } void createRenderers ( int columnHandle , int modelIndex , boolean check , int columnStyle ) { } void createWidget ( int index ) { } GdkColor defaultBackground ( ) { } GdkColor defaultForeground ( ) { } void deregister ( ) { } public void deselect ( int index ) { } public void deselect ( int start , int end ) { } public void deselect ( int [ ] indices ) { } public void deselectAll ( ) { } void destroyItem ( TableColumn column ) { } void destroyItem ( TableItem item ) { } GdkColor getBackgroundColor ( ) { } public TableColumn getColumn ( int index ) { checkWidget ( ) ; if ( ! ( ( 0 <= index ) && ( index < ( columnCount ) ) ) ) <START_BUG> error ( ERROR_CANNOT_GET_ITEM ) ; <END_BUG> return columns [ index ] ; } public int getColumnCount ( ) { } int [ ] getColumnTypes ( int columnCount ) { } public TableColumn [ ] getColumns ( ) { } TableItem getFocusItem ( ) { } GdkColor getForegroundColor ( ) { } public int getGridLineWidth ( ) { } public int getHeaderHeight ( ) { } public boolean getHeaderVisible ( ) { } public TableItem getItem ( int index ) { } public TableItem getItem ( Point point ) { } public int getItemCount ( ) { } public int getItemHeight ( ) { } public TableItem [ ] getItems ( ) { } public boolean getLinesVisible ( ) { } int getPixbufRenderer ( int column ) { } public TableItem [ ] getSelection ( ) { } public int getSelectionCount ( ) { } public int getSelectionIndex ( ) { } public int [ ] getSelectionIndices ( ) { } int getTextRenderer ( int column ) { } public int getTopIndex ( ) { } int gtk_button_press_event ( int widget , int event ) { } int gtk_button_release_event ( int widget , int event ) { } int gtk_changed ( int widget ) { } int gtk_key_press_event ( int widget , int eventPtr ) { } int gtk_motion_notify_event ( int widget , int event ) { } int gtk_row_activated ( int tree , int path , int column ) { } int gtk_toggled ( int renderer , int pathStr ) { } void hookEvents ( ) { } public int indexOf ( TableColumn column ) { } public int indexOf ( TableItem item ) { } public boolean isSelected ( int index ) { } boolean mnemonicHit ( char key ) { } boolean mnemonicMatch ( char key ) { } int paintWindow ( ) { } int pixbufCellDataProc ( int tree_column , int cell , int tree_model , int iter , int data ) { } void register ( ) { } void releaseWidget ( ) { } public void remove ( int index ) { } public void remove ( int start , int end ) { } public void remove ( int [ ] indices ) { } public void removeAll ( ) { } public void removeSelectionListener ( SelectionListener listener ) { } void resetCustomDraw ( ) { } public void select ( int index ) { } public void select ( int start , int end ) { } public void select ( int [ ] indices ) { } public void selectAll ( ) { } void selectFocusIndex ( int index ) { } void setBackgroundColor ( GdkColor color ) { } int setBounds ( int x , int y , int width , int height , boolean move , boolean resize ) { } boolean setCellData ( int tree_model , int iter ) { } void setFontDescription ( int font ) { } void setForegroundColor ( GdkColor color ) { } public void setHeaderVisible ( boolean show ) { } public void setItemCount ( int count ) { } public void setLinesVisible ( boolean show ) { } public void setRedraw ( boolean redraw ) { } void setScrollWidth ( int column , int iter ) { } public void setSelection ( int index ) { }

Fix:
error ( ERROR_INVALID_RANGE ) ;