On Mar 19, 2010, at 21:04, Richard Somers wrote:

> When moving a slider in a preference panel I sometimes get an error.
> 
> 2010-03-19 01:46:49.860 MyApp[4249:10b] Error setting value for key path 
> values.ABRadius of object <NSUserDefaultsController: 0x169c00>[applies 
> immediately: YES] (from bound object <NSSlider: 0x6707de0> with object ID 59 
> in Nib named ABPreferencePanel.nib): [<NSCFType 0x168ec0> 
> valueForUndefinedKey:]: this class is not key value coding-compliant for the 
> key radius.
> 
> 2010-03-19 16:55:16.415 MyApp[5710:10b] Error setting value for key path 
> values.ABRadius of object <NSUserDefaultsController: 0x1696e0>[applies 
> immediately: YES] (from bound object <NSSlider: 0x622f790> with object ID 59 
> in Nib named ABPreferencePanel.nib): [<NSKeyValueSlowSetter 0x168970> 
> valueForUndefinedKey:]: this class is not key value coding-compliant for the 
> key radius.

Note:

        "sometimes get an error"

        [<NSCFType 0x168ec0> valueForUndefinedKey:]

        [<NSKeyValueSlowSetter 0x168970> valueForUndefinedKey:]

So you're getting an exception (thrown in valueForUndefinedKey:) from objects 
of various strange classes, and it only happens some of the time.

This pattern is very characteristic of a memory management bug in your 
application. That's what I'd start looking for.


_______________________________________________

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