Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging IB Errors



on 3/29/07 11:32 PM, email@hidden purportedly said:

> I'm getting the following error during my app's launch:
> <NSTableColumn 0x3c87880> valueForUndefinedKey:]: this class is not
> key value coding-compliant for the key value
> 
> What is the best way to resolve where this TableColumn is?
> BTW:  Run or Debug does not matter.  The error simply stops the app
> dead.  No debugger is ever raised.
> 
> My nib is getting complex; it's got a lot of objects at the moment.
> Through caveman NSLog messages I have narrowed to a suspicious NSView
> subclass.
> I have been over and over the 11 NSTableView objects in this view and
> cannot find any binding or identifier which is 'value'.
> A NiB search yields no joy.

When I have seen an error like this, it meant that one of the objects in the
key path for the "value" binding of the object is nil. IIRC, I was able to
stop it by setting the null placeholder value. To be honest, I haven't yet
seen this or the "value" binding, but it is worth looking into. Usually I
have seen it for "enabled" bindings, and only when there is a multi-object
key path. Haven't figured out why yet...

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden

References: 
 >Debugging IB Errors (From: Steve Cronin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.