Re: NSComboBox problem in 10.6.2
Re: NSComboBox problem in 10.6.2
- Subject: Re: NSComboBox problem in 10.6.2
- From: Bill Hernandez <email@hidden>
- Date: Fri, 19 Mar 2010 10:55:11 -0500
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 (email@hidden)
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:
This email sent to email@hidden