Re: NSUnarchiver unarchiveObjectWithData problem
Re: NSUnarchiver unarchiveObjectWithData problem
- Subject: Re: NSUnarchiver unarchiveObjectWithData problem
- From: Craig Bakalian <email@hidden>
- Date: Tue, 10 Jun 2003 06:27:01 -0400
On Tuesday, June 10, 2003, at 01:00 AM,
email@hidden wrote:
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?
Hi Gus,
Debugging Unarchiving can be very tricky. The only way I could really
track down the object that was throwing exceptions was to remove each
object or int, float, char* out of the encodeWithCoder and
initWithCoder methods and run. If it ran without exception when the
object was removed, then I found the issue.
I had similar problems like you stated, yet, I tracked down an
encodeValueOfType( blah) problem with my issue. Yours could be an
encodeValueOfType( blah ) because the fancy "A" thing. Yet... it
doesn't seem like it ...
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
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.