Re: Debugging IB Errors
Re: Debugging IB Errors
- Subject: Re: Debugging IB Errors
- From: Keary Suska <email@hidden>
- Date: Fri, 30 Mar 2007 09:23:01 -0600
- Thread-topic: 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:
This email sent to email@hidden