Can't save - missing entity

Issue #1 open
Peter Hosey
created an issue

1.5.2/976b93379f99, OS X 10.7.4/11E53.

{{{

2012-05-28 9:44:23.701 PM TaskTracker2: Cannot perform operation since entity with name 'xc' cannot be found 2012-05-28 9:44:23.856 PM TaskTracker2: ( 0 CoreFoundation 0x99370a67 raiseError + 231 1 libobjc.A.dylib 0x929c6149 objc_exception_throw + 155 2 CoreFoundation 0x992d8289 +[NSException raise:format:arguments:] + 137 3 CoreFoundation 0x992d81f9 +[NSException raise:format:] + 57 4 AppKit 0x97d99d3b -[_NSManagedProxy _entity] + 170 5 AppKit 0x97d999c4 -[_NSManagedProxy fetchRequestWithSortDescriptors:limit:] + 98 6 AppKit 0x97d99405 -[_NSManagedProxy _storesDidChange:] + 146 7 Foundation 0x95a1edf1 -[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49 8 CoreFoundation 0x992b0903 _CFXNotificationPost_block_invoke_1 + 275 9 CoreFoundation 0x9927b688 _CFXNotificationPost + 2776 10 Foundation 0x95a09fde -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 11 CoreData 0x949a6472 -[NSPersistentStoreCoordinator(_NSInternalMethods) _postStoresChangedNotificationsForStores:changeKey:options:] + 354 12 CoreData 0x949951c3 -[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:] + 5379 13 AppKit 0x97dc574c -[NSPersistentDocument configurePersistentStoreCoordinatorForURL:ofType:modelConfiguration:storeOptions:error:] + 793 14 AppKit 0x980d6afc -[NSPersistentDocument(NSDeprecatedInternal) _configurePersistentStoreCoordinatorForURL:ofType:error:] + 139 15 AppKit 0x97dc3db4 -[NSPersistentDocument writeToURL:ofType:forSaveOperation:originalContentsURL:error:] + 637 16 AppKit 0x97c476a2 -[NSDocument _writeSafelyToURL:ofType:forSaveOperation:forceTemporaryDirectory:error:] + 587 17 AppKit 0x97c2eb4a -[NSDocument _writeSafelyToURL:ofType:forSaveOperation:error:] + 69 18 AppKit 0x97c4744c -[NSDocument writeSafelyToURL:ofType:forSaveOperation:error:] + 435 19 AppKit 0x97dc37a2 -[NSPersistentDocument writeSafelyToURL:ofType:forSaveOperation:error:] + 1435 20 AppKit 0x97c52292 -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_8 + 366 21 AppKit 0x97c516bb -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_15 + 311 22 AppKit 0x97c5157c -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_14 + 322 23 AppKit 0x97c52062 -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_7 + 1338 24 AppKit 0x97c2b357 -[NSDocument _fileCoordinator:coordinateReadingContentsAndWritingItemAtURL:byAccessor:]_block_invoke_2 + 50 25 Foundation 0x95c1b3e3 -[NSFileCoordinator(NSPrivate) _coordinateWritingItemAtURL:options:error:byAccessor:]_block_invoke_3 + 54 26 Foundation 0x95c1be2e -[NSFileCoordinator(NSPrivate) _invokeAccessor:orDont:thenRelinquishAccessClaimForID:] + 194 27 Foundation 0x95c1f198 -[NSFileCoordinator(NSPrivate) _coordinateWritingItemAtURL:options:error:byAccessor:] + 618 28 AppKit 0x97c45a21 -[NSDocument _fileCoordinator:coordinateReadingContentsAndWritingItemAtURL:byAccessor:] + 309 29 AppKit 0x97c3213e -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]_block_invoke_1 + 885 30 AppKit 0x97c2b0f3 -[NSDocument performAsynchronousFileAccessUsingBlock:]_block_invoke_8 + 25 31 AppKit 0x97c2c7d2 -[NSDocument _performFileAccessOnMainThread:usingBlock:]_block_invoke_7 + 53 32 AppKit 0x97c2c5da -[NSDocument continueFileAccessUsingBlock:] + 252 33 AppKit 0x97c49cf6 -[NSDocument _performFileAccessOnMainThread:usingBlock:] + 388 34 AppKit 0x97c49a8f -[NSDocument performAsynchronousFileAccessUsingBlock:] + 285 35 AppKit 0x97c31dc4 -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:] + 108 36 AppKit 0x97c30707 -[NSDocument saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:]_block_invoke_2 + 169 37 AppKit 0x97c2b2e9 -[NSDocument saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:]_block_invoke_5 + 26 38 AppKit 0x97c3b798 -[NSDocument _commitEditingWithDelegate:didSomethingSelector:contextInfo:thenContinue:]_block_invoke_1 + 34 39 AppKit 0x97c3ff35 -[NSDocument _commitEditingThenContinue:] + 335 40 AppKit 0x97dc2c7b -[NSPersistentDocument _documentEditor:didCommit:withContext:]_block_invoke_1 + 64 41 CoreFoundation 0x99288880 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 16 42 CoreFoundation 0x9923bce1 CFRunLoopDoBlocks + 337 43 CoreFoundation 0x99266e97 CFRunLoopRun + 2343 44 CoreFoundation 0x992661dc CFRunLoopRunSpecific + 332 45 CoreFoundation 0x99266088 CFRunLoopRunInMode + 120 46 HIToolbox 0x90502723 RunCurrentEventLoopInMode + 318 47 HIToolbox 0x905099b6 ReceiveNextEventCommon + 168 48 HIToolbox 0x905098fa BlockUntilNextEventMatchingListInMode + 88 49 AppKit 0x978610d8 _DPSNextEvent + 678 50 AppKit 0x97860942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113 51 AppKit 0x9785ccb1 -[NSApplication run] + 911 52 AppKit 0x97aedbd9 NSApplicationMain + 1054 53 TaskTracker2 0x00002a95 TaskTracker2 + 6805 54 ??? 0x00000002 0x0 + 2 ) }}}

Comments (4)

  1. rentzsch repo owner
    • changed status to open

    Yup, got a repro here. Sorry, but I can't jump in an fix this anytime soon. You're welcome to debug this one. Pretty sure this used to work under 10.6, fwiw.

  2. Log in to comment