• 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
Re: Debugging IB Errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging IB Errors


  • Subject: Re: Debugging IB Errors
  • From: Sean Murphy <email@hidden>
  • Date: Fri, 30 Mar 2007 06:52:43 -0400

On Mar 30, 2007, at 1:32 AM, Steve Cronin wrote:

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.

Hi Steve,

It might help to add a symbolic breakpoint on "-[NSTableColumn valueForUndefinedKey:]" and then poking around in the debugger to figure out more context information about this exception, such as querying the column's identifier and parent tableView.

As I think you realized, this kind of log message is very indicative of a problem somewhere among your nib's bindings.

Good luck,
- Sean
_______________________________________________

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


  • Follow-Ups:
    • Re: Debugging IB Errors
      • From: Ron Aldrich <email@hidden>
References: 
 >Debugging IB Errors (From: Steve Cronin <email@hidden>)

  • Prev by Date: Debugging IB Errors
  • Next by Date: Binding menu items
  • Previous by thread: Debugging IB Errors
  • Next by thread: Re: Debugging IB Errors
  • Index(es):
    • Date
    • Thread