• 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: CoreData XML error while saving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData XML error while saving


  • Subject: Re: CoreData XML error while saving
  • From: Niko Matsakis <email@hidden>
  • Date: Sat, 8 Oct 2005 10:23:00 +0200

I am not sure, but one thing I found helpful I stole from the EventManager Core Data sample application: it is a small bit of code that intercepts errors which occur while saving and displays them in a little alert box. These haves always been pretty helpful for me to track down inconsistencies in my model. Look at willPresentError: in MyDocument.m.

Ordinarily it seems these are ignored, or only a generic message like "an error occurred" is displayed, I can't recall.

Anyway, if you haven't already you might give that a shot in hopes of getting a better error message.



Niko

On Oct 7, 2005, at 8:11 AM, Bruno Blondeau wrote:

I'm getting the following error in the console while saving my CoreData document:

An error occurred creating an XML representation of a valid property list.

It unfortunately seems to happen a bit randomly (even though I can reproduce it always using the same data set)

I haven't found any documentation regarding this error message. What does it mean? What is the probable origin?

Bruno


_______________________________________________ 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


_______________________________________________ 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
  • Follow-Ups:
    • Re: CoreData XML error while saving
      • From: email@hidden
References: 
 >CoreData XML error while saving (From: Bruno Blondeau <email@hidden>)

  • Prev by Date: Re: Undo / Redo
  • Next by Date: Get selected NSManagedObject from a NSPopUpButton
  • Previous by thread: CoreData XML error while saving
  • Next by thread: Re: CoreData XML error while saving
  • Index(es):
    • Date
    • Thread