title: NSManagedObject Faulted
body: <p>I have an NSManagedObject that has some of its properties initialized at the start of the program. When I refer to this object later, it appears to be faulted, and the properties are not accessible. I'm not sure what I need to do.</p>
  
  <p>This is related to a new feature added to a program that has been operating smoothly with core-data in all other ways.</p>
  
  <p>Here is a code snippet where it is initialized as a property value of a singleton. (That singleton is accessible by many parts of my code):</p>
  
  <pre><code>    favoritesCollection = [[SearchTerms alloc] initWithEntity:[NSEntityDescription entityForName:@"SearchTerms" inManagedObjectContext:moc] insertIntoManagedObjectContext:moc];
  
      favoritesCollection.keywords = @"Favorites List";
      favoritesCollection.isFavoritesCollection = [NSNumber numberWithBool:YES];
      favoritesCollection.dateOfSearch = [NSDate NSCExtendedDateWithNaturalLanguageString:@"4000"];
      favoritesCollection.pinColorIndex = 0;  
  
      [moc save:&amp;error];
  
      NSLog(@"(favoritesCollection) = %@", favoritesCollection);
  }
  
  return favoritesCollection;
  </code></pre>
  
  <p>When I look at favoritesCollection with the NSLog, I see this (I added some newlines to make it easier to read):</p>
  
  <pre><code>(favoritesCollection) = 
  &lt;SearchTerms: 0x5c28820&gt; 
  (entity: SearchTerms; id: 0x5a6df90 
  &lt;x-coredata://3936E19F-C0D0-4587-95B6-AA420F75BF78/SearchTerms/p33&gt; ; 
  data: {
      dateOfSearch = "4000-09-25 12:00:00 -0800";...*more things after this*
  </code></pre>
  
  <p>After the return, another NSLog shows that contents are intact.</p>
  
  <p>When I refer to this instance later, I can see this in the debugger:</p>
  
  <pre><code>&lt;SearchTerms: 0x5c28820&gt; 
  (entity: SearchTerms; id: 0x5a6df90 
  &lt;x-coredata://3936E19F-C0D0-4587-95B6-AA420F75BF78/SearchTerms/p33&gt; ; 
  data: &lt;fault&gt;)
  </code></pre>
  
  <p>and that's all. </p>
  
  <p>So I believe that the object is retained (I explicitly retain it where it is returned). I have zombies on and it doesn't look like a zombie.</p>
  
  <p>I have only one managedObjectContext in the program, maintained in the singleton.</p>
  
  <p>So what is happening, and how do I get to the properties that were saved?</p>