Error for opening a missing document going to the wrong place
Error for opening a missing document going to the wrong place
- Subject: Error for opening a missing document going to the wrong place
- From: Brian Williams <email@hidden>
- Date: Sun, 16 Sep 2007 15:36:33 -0700 (PDT)
Hi everybody,
I have no idea how to proceed with this problem and it's killing me.
In my Core Data app, when a document is opened from the recent list, and that
document is missing (deleted) the message presentError: is sent to my
ArrayControllers! I can't figure out how this should ever be possible. Why
would the selector be called on an object that can't respond? I have looked at
my connections in IB and there isn't much there. One interesting thing is that
the selector is called on both of the controllers in the nib file. Any
suggestions as to how to proceed would be greatly appreciated.
Thanks
Brian
#0 0x9281e38d in -[NSException raise]
#1 0x9284523f in +[NSException raise:format:]
#2 0x928cd4be in -[NSObject doesNotRecognizeSelector:]
#3 0x927f134b in -[NSObject(NSForwardInvocation) forward::]
#4 0x90a5cba1 in _objc_msgForward
#5 0x937bcba7 in +[NSBinder
_presentSheetForError:responder:responderCandidate:delegate:callback:callbackContextInfo:]
#6 0x937dc201 in -[NSObjectController(NSManagedController)
_executeFetch:didCommitSuccessfully:actionSender:]
#7 0x90a5cc56 in objc_msgSendv
#8 0x927f23b2 in -[NSInvocation invoke]
#9 0x928183a7 in -[NSInvocation invokeWithTarget:]
#10 0x937b46fc in _NSSendCommitEditingSelector
#11 0x937d9873 in -[NSController _controllerEditor:didCommit:contextInfo:]
#12 0x90a5cc56 in objc_msgSendv
#13 0x927f23b2 in -[NSInvocation invoke]
#14 0x928183a7 in -[NSInvocation invokeWithTarget:]
#15 0x9280103b in __NSFireDelayedPerform
#16 0x9082d7e2 in CFRunLoopRunSpecific
#17 0x9082cace in CFRunLoopRunInMode
#18 0x92ddd8d8 in RunCurrentEventLoopInMode
#19 0x92ddcfe2 in ReceiveNextEventCommon
#20 0x92ddce39 in BlockUntilNextEventMatchingListInMode
#21 0x93283465 in _DPSNextEvent
#22 0x93283056 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#23 0x9327cddb in -[NSApplication run]
#24 0x93270d2f in NSApplicationMain
#25 0x00002e8a in main at main.m:13
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden