NSUnarchiver unarchiveObjectWithData problem
NSUnarchiver unarchiveObjectWithData problem
- Subject: NSUnarchiver unarchiveObjectWithData problem
- From: Gus Mueller <email@hidden>
- Date: Mon, 9 Jun 2003 19:54:49 -0700
I'm having a bit of problem with an application I'm working on
(VoodooPad) and I was hoping someone on the list might be able to help
me out...
I'm trying to unarchive a NSMutableAttributedString I've got sitting in
a .plist, but i'm getting exceptions thrown when I try and unarchive it:
NS_DURING
content = [[NSUnarchiver unarchiveObjectWith
Data:[vpd data]]
retain];
NS_HANDLER
NSLog(@"%@: %@", [localException name], localException);
NS_ENDHANDLER
raises:
NSInvalidArgumentException: *** -[NSPlaceholderDictionary
initWithObjects:forKeys:count:]: attempt to insert nil value
This only happens when I put certain characters in using the Character
Pallet- specificly the fancy "A" located at 00005 in the "Glyph Catalog"
tab using the font "Zapfino Regular".
I've looked at the documentation for NSUnarchiver, and I can't find
anything that will help me in this situation. Does anyone have some
advice for me?
thanks,
-gus
--
"Christmas means carnage!" -- Ferdinand, the duck
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.