Um, code, please?
(I'll assume that is an array bounds problem though. Make sure you are subtracting 1 from your -[NSArray count] and NOT subtracting 1 in the appropriate places. Your data source is probably telling the NSTableView that you have one more row than you really do.)