TableView Jaguar Compile Problem
TableView Jaguar Compile Problem
- Subject: TableView Jaguar Compile Problem
- From: Matthew Roberts <email@hidden>
- Date: Fri, 27 Sep 2002 18:24:26 -0500
OK... I've now upgraded to Jaguar. To my pleasant surprise, my
10.1.5-built app worked just fine. However, after installing the new dev
tools and going to rebuild my app, problems started to develop.
My Build log now shows the following error:
2002-09-27 11:19:36.903 Citation[1703] *** Assertion failure in
-[NSTableView _locationOfRow:], TableView.subproj/NSTableView.m:486
2002-09-27 11:19:36.925 Citation[1703] Exception raised during posting of
notification. Ignored. exception: Invalid parameter not satisfying: (index
>
= 0) && (index <= numRows)
The program still builds and launches, but it's strangely crippled. My main
document windows, which contains tables, works just fine. My preferences
window will open but there's nothing in it. My Inspector window, which
contains no tables and just a few Forms, won't appear at all.
It's gotta be somehow related to the error above, but I'm not sure exactly
what's going on. Searching list archives didn't show anyone with similar
problems. In the past, I've fixed strange exceptions like that my debugging
it and seeing what line generates the problem. However, trying to debug the
app didn't help at all; the exception seems to happen before the app itself
gets control, and thus the debugger doesn't even help (it doesn't stop at
breakpoints, I can't step through the code, and it doesn't actually display
any info).
Any thoughts or suggestions? I'm not sure what the error is telling
me--that there's a problem in the header files or something? I'm really not
sure about this "TableView.subproj"--it's not one of mine. It also seems
strange that the tables I have that actually do the most work seem to be
perfectly functional.
The only related thing I can add is that I did have a strange bug under my
10.1.5-built app. One of the tables in my preference window would refuse to
reflect the correct number of rows. It would show the 3 or so items in the
table (the correct number); I could click on each and the proper behavior
ensued. It also would not let me click on empty areas (proper behavior; I
used it to check to see if there were blank rows getting added). However,
the scrollbar in the table was always present--even though there were only 3
rows in a table capable of holding like 15.
I could use the scrollbar to scroll down and it seemed to let me scroll
infinitely. My best efforts to debug the problem failed; I could never find
the glitch anywhere--despite the fact that I had a similar table in my
preferences window that always worked just fine. Both these two tables
actually share delegate methods (maybe this wasn't best); the code switches
between them (e.g. In objectValueForTableColumn, willDisplayCell,
numberOfRowsInTableView) by checking which table is passed to the method.
Any help would be appreciated.
_________________________________
Matthew Roberts (email@hidden)
Ph.D. Candidate, Dept. of Political Science
Instructional Technology Fellow
University of Minnesota
http://www.polisci.umn.edu/mroberts
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.