Error for opening a missing document going to the wrong place

  • 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
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today