I have yet to find the reporting of this exception to be in error in Mac OS X 10.6. It's a real exception that you should fix. I HAVE found that Mac OS X 10.5.8 and earlier sometimes failed to report incorrect removal (or more commonly, double-removal) of an observer. When you suggest that the "app seems to work fine" while this error is reported, I'd reconsider. Something's amiss in your handling of adding and removing observers to your "Stark" class.

On 2009 Oct 14, at 12:47, Jim Thomason wrote:

I've found this same problem with my app, except I'm also getting
these warnings:

Cannot remove an observer <NSKeyValueObservance 0x46d020> for the key
path "canHaveChildren" from <Stark 0x15330e40> because it is not
registered as an observer.

Like the other warning reported by Jim, this does not occur when
running in Mac OS 10.5.8.  Also as reported by Jim, the app seems to
work fine in either Mac OS.

Does anyone know is this 'not registered as an observer' message part
of the same regression?



_______________________________________________

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 arch...@mail-archive.com

Reply via email to