CoreData: The NSManagedObject with ID:... has been invalidated
CoreData: The NSManagedObject with ID:... has been invalidated
- Subject: CoreData: The NSManagedObject with ID:... has been invalidated
- From: Pierre Bernard <email@hidden>
- Date: Sat, 10 Dec 2005 22:26:33 +0100
Hi!
I have a document-based CoreData application. When I close a document
window, I often see a message along the lines of:
2005-12-10 22:19:13.846 HoudahSpot[4246] *** -[NSAutoreleasePool
dealloc]: Exception ignored while releasing an object in an
autorelease pool: The NSManagedObject with ID:0x36b070 <x-core
data:///
Scope/tC281E395-EA24-48A3-8B5C-2953E1B09AD5> has been invalidated.
The object has been created (autoreleased) in the NSDocument
initializer - (id)initWithType:(NSString *)typeName error:(NSError **)
outError;
My guess is that the message I am seeing is from
NSObjectInaccessibleException. Seems like something trips a fault or
otherwise touches the object after the document's CoreData context
got invalidated.
How do I go about to debug this?
NSAutoreleasePool just swallows the exception leaving me with close
to no information. A breakpoint on -[NSObjectInaccessibleException
raise] is not hit.
TIA
Pierre
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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