Re: Core Data Problem
Re: Core Data Problem
- Subject: Re: Core Data Problem
- From: Matthew Firlik <email@hidden>
- Date: Thu, 9 Feb 2006 01:56:04 -0800
On Feb 8, 2006, at 7:51 PM, Sean Willson wrote:
I'm running into a problem I was wondering if people have seen or
could help
with. I have core data document based application that I am unable
to save.
When I try to save the document I get:
--
Exception raised during posting of notification. Ignored. exception:
Cannot perform operation since entity with name '(null)' cannot be
found
--
printed into the console. I have turned off all object creation in my
context. All that is remaining now is 2 nibs are loaded that have
NSArrayController and NSObjectControllers in them. I don't have
anything at
all in the app, but yet the error persists.
Are there any easy ways to track this down? Seems like I should be
able to
enable some debug level or set a breakpoint in a dummy subclass to
find this
but it's alluding me. Any comments or suggestions would be greatly
appreciated.
This error is emitted by an NSObjectController set in Entity mode as
it attempts to access the NSEntityDescription in the
NSManagedObjectModel associated with the object class name as
specified in the inspector in IB. (That's a mouthful: in short, you
have a controller in entity mode with a nil object class name.)
Select each of your controllers in IB, and hit Command-1 to bring up
the inspector. In the "Object Class Name" field at the top, ensure
you have a valid entity name.
- matthew
_______________________________________________
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