title: Core Data Fault
body: <p>I am mapping Json Data from Server using Restkit and I am Displaying those data by fetching from db. 
  There is a refresh button in my view which performs the above operation again.</p>
  
  <p>Scenario:
     I have two tables Key &amp; Profile which has one-one relationship. I am fetching data from DB using follwing code</p>
  
  <pre><code>NSFetchRequest *fetchRequest = [Key fetchRequest];
  [fetchRequest setRelationshipKeyPathsForPrefetching:[NSArray arrayWithObject:@"Profile"]];
  [fetchRequest setIncludesSubentities:YES];
  NSArray *sortedObjects = [Key executeFetchRequest:fetchRequest]; 
  </code></pre>
  
  <p>Above array returns all object in DB. but when i check that using breakpoint, i got some core data fault which was the reason for not showing all the data.</p>
  
  <p>//All data in sortedObjects are like this.</p>
  
  <pre><code>&lt;Key: 0x889f2f0&gt; (entity: Key; id: 0x889e400 &lt;x-coredata://981A476D-55AC-4CB4-BBD8-E0285E522412/Key/p1489&gt; ; data: &lt;fault&gt;)
  </code></pre>
  
  <p>Any idea</p>