NSKeyedUnarchiver Exception, No Idea
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