On Mar 19, 2010, at 7:31 AM, Jim Correia wrote:

>> uncaught exception 'NSRangeException', reason: '*** -[NSCFArray 
>> objectAtIndex:]: index (-1 (or possibly larger)) beyond bounds (5)'


I was running into something similar this morning, and I traced it back to the 
fact that I had set the type of a variable to NSUInteger, and the return value, 
when I lloked up the class docs, was actually NSInteger

Something like 

NSUInteger rowIndex = [tableView selectedRow];

and when I traced through using the debugger I found the mismatch.

 I don't know if you might be having the same problem, but you might take a 
quick look...

Best of luck,

Bill Hernandez
Plano, Texas_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to