Hi, all,

My application at times starts throwing exceptions in my menu item validation code:

-[NSTableView validateMenuItem:]: unrecognized selector sent to instance 0x15e80850

The offending line is in my document class's menu validation logic:

else if ( action == @selector(selectAll:) ) {
answer = [ibCardListView validateMenuItem:menuItem];
}

Needless to say, this line gets called every time the "Select All" menu item is validated, which normally works fine, so something is happening at runtime to cause the exception to start being thrown.

Any idea what could cause it?

The "ibCardListView" object pointer seems intact when I inspect it in the debugger, and the table view itself seems to continue behaving normally. Using the debugger, I've sent respondsToSelector: messages to it with selectors of various methods an NSTableView should respond to, and the only response that comes back wrong is validateMenuItem:

Any suggestions welcome.

TIA,
Doug Knowles
_______________________________________________

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