Skip navigation.
 
mlNewbie question: chrash on [tableview reloadData]
FROM : Terje Tjervaag
DATE : Thu Nov 21 18:14:17 2002

Hi people,

Excuse me for the probably very easy question here, but I seem to keep
hitting my head against the wall on this and it's getting more and more
annoying.

I am working through Aron Hillegass' book Cocoa Programming for Mac OS
X, and am currently on a section which involves an NSTableView.  The
application I create from his tutorial works fine, but when I try to
create my own from scratch it just crashes whenever I call reloadData
on the tableview.  I have made my own little file class, containing two
strings, the file name and a description.  The application is a
document application and in my document init method I can create a new
file and insert it into the NSMutableArray I use as the datasource for
the tableview.  When the application loads it displays this row fine,
but when I try to call reloadData AFTER that, even though I have not
added any objects to my array, the application crashes with a "due to
signal 10 (SIGBUS)".
Does anyone have ANY clue as to what can be causing this?  I would give
you more details, but I haven't got a clue whats going on here.

Any help appreciated,
Terje
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlhow to crash on normally ignored exceptions Brian Redman Nov 21, 00:39
mlRe: how to crash on normally ignored exceptions Dan Wood Nov 21, 05:55
mlRe: how to crash on normally ignored exceptions Vince DeMarco Nov 21, 06:17
mlRe: how to crash on normally ignored exceptions Brian Redman Nov 21, 06:22
mlRe: how to crash on normally ignored exceptions Marcel Weiher Nov 21, 14:48
mlRe: how to crash on normally ignored exceptions David Remahl Nov 21, 15:02
mlNewbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 18:14
mlRe: Newbie question: chrash on [tableview reloadData] Warren.Burton Nov 21, 19:03
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 21:30
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 21:50
mlRe: how to crash on normally ignored exceptions matt neuburg Nov 22, 14:29
mlRe: how to crash on normally ignored exceptions David Remahl Nov 22, 14:35