• 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
NSKeyedUnarchiver Exception, No Idea
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSKeyedUnarchiver Exception, No Idea


  • Subject: NSKeyedUnarchiver Exception, No Idea
  • From: Philip Dow <email@hidden>
  • Date: Thu, 8 Jun 2006 21:37:15 +0200

Hi,

I have a problem that I'm totally in the dark on. A user is testing a beta product that changes the way persistent data is stored. I had been using XML files, I am now using a keyed archive. The product must convert the user's data from the one format to the other.

As far as I am aware, the conversion goes fine. I'm inquiring about that right now. But once the conversion is complete, the application freezes trying to read the new data in its keyed archive form. The following is logged to the console:

"Exception raised during posting of notification. Ignored. exception: *** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive version (-1)"

I have no idea what that means or what would cause it. Google doesn't offer much, and the docs only say "The method decodes the system version number that was archived in data prepares the NSUnarchiver object for a subsequent invocation of decodeObject."

What's going on?

-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Distributed Objects, copying thereof
  • Next by Date: coredata sql predicate behavior for != number comparisons
  • Previous by thread: Re: one file's owner for multiple nib files
  • Next by thread: coredata sql predicate behavior for != number comparisons
  • Index(es):
    • Date
    • Thread