• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cannot Remove Observer Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot Remove Observer Error


  • Subject: Cannot Remove Observer Error
  • From: Thaddeus Cooper <email@hidden>
  • Date: Mon, 14 Apr 2008 18:12:07 -0700

Starting earlier today, I started getting the following error in my software.

2008-04-14 17:59:41.535 WineCellar[4928:10b] Cannot remove an observer <WineArrayController 0x25a450> for the key path "wineType.name" from <Wine 0x6c55170>, most likely because the value for the key "wineType" has changed without an appropriate KVO notification being sent. Check the KVO-compliance of the Wine class.

I haven't changed anything significant (well at least I don't think I did) and I definitely have not been messing around with the WineArrayController and/or the Wine classes. I can't figure out how to track this error down -- I've tried a number of things including putting a removeObserver:forKeyPath method in the array controller so I could look at the back trace and I've also put in enter and exit debug messages in a large portion of the code. Still the error seems to come from nowhere and I am stumped as to how I might find what the root cause of the problem is.

Does anyone have any suggestions as to how to track down this type of error.

Thanks very much.

Thaddeus O. Cooper
(email@hidden)



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cannot Remove Observer Error
      • From: Mark Piccirelli <email@hidden>
  • Prev by Date: Re: "hooking" into another app
  • Next by Date: Re: warning: Image scaling is not supported on Mac OS X versions prior to 10.5.
  • Previous by thread: Re: Memory leak when re-alloc Methods
  • Next by thread: Re: Cannot Remove Observer Error
  • Index(es):
    • Date
    • Thread