Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EXC_BAD_ACCESS in NSTableView adding object when visible



Greetings.
I am still pretty new at Cocoa, and I am experiencing a bad access error in an NSTableView when adding an object to its data source while the table is visible, or on the first time attempting to show the NSTableView after adding the object. According to the stack view visible in the debugger window, the bad access occurs when trying to set the value of the cell. It makes me think I've not allocated or retained something correctly, but I'm not sure what.


As I don't know of a way to get XCode to give me the stack trace in textual form, I've taken a screenshot and posted it at <http:// homepage.mac.com/danaris/stacktrace.png>.

Any help on this would be most appreciated.

Timothy Collett

--

A file that big?
It might be very useful.
But now it is gone.
~haiku~

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.