I have a strange bug that I've been tracking for a while and I'd like the
benefit of your experience. It happens with I close a window that needs to be
saved.
When closing a dirty Core Data NSPersistentDocument I get the following error
between the "Do you want to save" sheet and the save panel:
[58341:a0f] +[NSInvocation invocationWithMethodSignature:]: method signature
argument cannot be nil
Yes, I know something is nil but I have not ventured into any of the methods
that handle this behavior (I start with SaveDocument) and I don't know exactly
what is nil. This happens whether its a document that's never been saved or
one that has.
I've tracked it down to an exact sequence of events. The document's window has
two combo boxes, a radio button matrix and a text view.
If I make the document dirty by changing the selected radio button and then
close the window everything works as expected ("Do you want to save" sheet
comes up, I press "Save" and the save panel comes up.
If I make the document dirty by typing text into any of the combo boxes or the
text view I get the above error after I press the "Save" button on the "Do you
want to saveā¦" sheet (the sheet closes like normal but nothing happens after
the error)
After the sheet disappears. I press the close box again and everything works
fine: the save panel comes up and the document saves normally.
This made me think that maybe the edits weren't getting updated but those three
objects have the bindings set, in IB, to "Continuously Updates Value".
Thanks for the help._______________________________________________
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]