I open a file, then immediately close it. I get this error message saying that 
one of the objects has been invalidated, but I have no idea what is 
invalidating the object.

How do I debug this?

The NSManagedObject with ID:0x11a415320 <x-coredata://whatever> has been 
invalidated.
0   CoreFoundation                      0x00007fff80e89444 
__exceptionPreprocess + 180
1   libobjc.A.dylib                     0x00007fff843970f3 objc_exception_throw 
+ 45
2   CoreData                            0x00007fff8752641a 
-[_NSInvalidationFaultHandler fulfillFault:withContext:] + 106
3   CoreData                            0x00007fff874c95de 
_PF_FulfillDeferredFault + 254
4   CoreData                            0x00007fff874cd2d7 
_sharedIMPL_pvfk_core + 87
5   CoreData                            0x00007fff874cd448 
-[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) 
_genericValueForKey:withIndex:flags:] + 40
6   CoreData                            0x00007fff874d2cde -[NSManagedObject 
valueForKey:] + 270
7   Foundation                          0x00007fff85713d20 
-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 226
8   Foundation                          0x00007fff85713db6 
-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 376
9   Foundation                          0x00007fff8571782f 
NSKeyValueWillChangeBySetting + 38
10  Foundation                          0x00007fff85717208 NSKeyValueWillChange 
+ 482
11  Foundation                          0x00007fff857ea0c2 
-[NSObject(NSKeyValueObservingPrivate) _willChangeValuesForKeys:] + 723
12  CoreData                            0x00007fff874d4480 -[NSFaultHandler 
turnObject:intoFaultWithContext:] + 224
13  CoreData                            0x00007fff874e59e4 
-[NSManagedObjectContext(_NSInternalAdditions) 
_disposeObjects:count:notifyParent:] + 420
14  CoreData                            0x00007fff874e52d8 
-[NSManagedObjectContext(_NSInternalAdditions) _dispose:] + 376
15  CoreData                            0x00007fff874e4fd2 
-[NSManagedObjectContext dealloc] + 258
16  CoreData                            0x00007fff874d40a3 
-[NSManagedObjectContext release] + 51
17  AppKit                              0x00007fff8654e02b 
-[NSPersistentDocument setManagedObjectContext:] + 90
18  AppKit                              0x00007fff8654e213 
-[NSPersistentDocument dealloc] + 75
19  NovaMind5TP                         0x00000001000321e4 
-[NMPersistentDocument dealloc] + 791
20  CoreFoundation                      0x00007fff80e06d5e 
__CFArrayReleaseValues + 206
21  CoreFoundation                      0x00007fff80de4c83 _CFRelease + 179
22  CoreFoundation                      0x00007fff80e0e246 
_CFAutoreleasePoolPop + 230
23  Foundation                          0x00007fff8571a2f8 -[NSAutoreleasePool 
drain] + 158
24  AppKit                              0x00007fff860ba7db -[NSApplication run] 
+ 543
25  OmniAppKit                          0x0000000100338774 -[OAApplication run] 
+ 132
26  AppKit                              0x00007fff860b3468 NSApplicationMain + 
364
27  NovaMind5TP                         0x0000000100001a47 main + 33
28  NovaMind5TP                         0x0000000100001a04 start + 52


Thanks

Gideon

_______________________________________________

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