• 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: NSArrayController/NSManagedObject Runtime Error: 'Selector Not Recognized'. What Selector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController/NSManagedObject Runtime Error: 'Selector Not Recognized'. What Selector?


  • Subject: Re: NSArrayController/NSManagedObject Runtime Error: 'Selector Not Recognized'. What Selector?
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 1 Apr 2006 11:10:32 -0800


On Mar 31, 2006, at 6:28 PM, Frederick C. Lee wrote:


Greetings:
I'm having a tough time tracking down the source of a 'selector not recognized' error:


*** -[NSArrayController presentError:]: selector not recognized [self = 0x388df20]

*** NSRunLoop ignoring exception '*** -[NSArrayController presentError:]:
selector not recognized [self = 0x388df20]' that raised during posting of delayed perform with target 38c49b0 and selector 'invokeWithTarget:'


============
Question:
1) How can I determine the EXACT selector the run-time is complaining about?


The exact selector it is complaining about is presentError:. It is attempting to send presentError: to that arrayController and it doesn't implement it.

Three different classes do implement presentError: and you may be able to take a hint from one of those.

	NSDocument, NSDocumentController and NSResponder.

Not knowing exactly that is bound to what in your application is pretty hard to figure out exactly that the issue is.

But, my GUESS is that you've got something wired up to a control that is giving you an error (maybe based on validation failing? attempting to alter a read-only array controller maybe?)

You could always consider temporarily dropping a presentError: implementation into a category on NSArrayController and see what the actual error is.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Help in 2 Diamensional Array
  • Next by Date: Re: Calling .jar routines from a C program
  • Previous by thread: Re: Calling .jar routines from a C program
  • Next by thread: Deletes Object on Remove option
  • Index(es):
    • Date
    • Thread