On Oct 22, 2008, at 11:39 AM, Ken Ferry wrote:

On Wed, Oct 22, 2008 at 8:29 AM, Gregory Weston <[EMAIL PROTECTED]> wrote: I've got a view registered as an observer for a certain notification, and very sporadically I see a message indicating that in the course of trying to post a notification an exception is raised because an instance of some class called _NSViewAuxiliary is being sent the message corresponding to my notification handler.

It's a private class used in the implementation of NSView.

What this likely means is that your observer object was deallocated, and that location in memory was reused for an object that happened to be of class _NSViewAuxiliary.

There are a couple of different possible causes.
(1) The view was deallocated prematurely.
(2) You didn't remove the view as an observer of the notification prior to the view's destruction.

Thanks. Turned about to be #2a: A mismatched between the object: arguments when my instance registered itself as an observer and when it removed itself.

Greg
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to