I've written an application with a very tenuous grasp on programming fundamentals and Cocoa specifics. It compiled and ran fine last week under the old version of the dev tools. I just installed the Dec dev tools and went to work on my project and now I have all sorts of errors that prevent the app from running (it builds fine, with the exception of some warnings).
Here is the console output when running the app:
2002-12-31 10:34:54.010 CocoaMed[2254] *** Assertion failure in -[NSTableView _locationOfRow:], TableView.subproj/NSTableView.m:486
2002-12-31 10:34:54.043 CocoaMed[2254] An uncaught exception was raised
2002-12-31 10:34:54.061 CocoaMed[2254] Invalid parameter not satisfying: (index >= 0) && (index <= numRows)
2002-12-31 10:34:54.075 CocoaMed[2254] *** Uncaught exception: <NSInternalInconsistencyException> Invalid parameter not satisfying: (index >= 0) && (index <= numRows)
CocoaMed has exited due to signal 5 (SIGTRAP).
Also, I'm getting some 'invalid reciever type (Id *)' errors that I didn't get before in this section of code:
Code:
- (void)checkForNew {
NSEnumerator *queryEnumerator = [rootFolderArray objectEnumerator];
id *nextItem;
while ((nextItem = [queryEnumerator nextObject])) {
if ([nextItem isMemberOfClass:[query class]]) {
[nextItem checkForNewRefs];
}
}
[folderOutline reloadData];
[lastCheckedIndicator setStringValue:[[NSCalendarDate calendarDate] descriptionWithCalendarFormat:@"%a %m/%d/%y %I:%M %p"]];
checkForNewTimer=[[NSTimer scheduledTimerWithTimeInterval:3600
target:self
selector:@selector(checkForNew)
userInfo:nil
repeats:NO] retain];
}
I'm hoping that someone can glance at this output and point me in the direction of what has changed in this version of the dev tools so that I can solve the problem.
thanks,
kman