On 2009 Dec 21, at 21:05, Gerriet M. Denkmann wrote:

> But when I use:
> [ arrayController1 setFilterPredicate: "aValue BEGINSWITH[n] "a" AND ANY 
> theBs.bValue == "xx""];
> I get an exeption:
> 
> HIToolbox: ignoring exception '[<_NSFaultingMutableSet 0x1001f5d00> 
> addObserver:forKeyPath:options:context:] is not supported. Key path: bValue' 
> that raised inside Carbon event dispatch

I believe I've seen this message when I try to observe the "many" end of a 
to-many relation using KVO.  That's against the law.  (And I do remember 
reading that one in the documentation, mmalc!)  Probably it was in the KVO 
Programming guide??

Bindings uses KVO.  Clue: Look at any bindings hanging on that array controller.

> When later I reset the filterPredicates back to the simple (working) mode, I 
> get another exception:
> HIToolbox: ignoring exception 'Cannot remove an observer <arrayController1> 
> for the key path "theBs.bValue" from <A-entity 0x114f02a10> because it is not 
> registered as an observer.' that raised inside Carbon event dispatch
> 
> 1. This is a Cocoa document based app, using Core Data. Why this "Carbon 
> event dispatch". And who is HIToolbox?

Do not worry about these words.  It is definitely an error you need to deal 
with.  Don't worry about where it came from -- it came from "the bowels of the 
Mac OS".  "HI" probably means "Human Interface" but knowing that doesn't help 
you at all.

_______________________________________________

Cocoa-dev mailing list ([email protected])

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