• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUnarchiver unarchiveObjectWithData problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSUnarchiver unarchiveObjectWithData problem
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: Re: C question for you old guys ;-)
  • Next by Date: Re: Even more DO problems
  • Previous by thread: Re: NSUnarchiver unarchiveObjectWithData problem
  • Next by thread: Re: NSUnarchiver unarchiveObjectWithData problem
  • Index(es):
    • Date
    • Thread