title: Coredata Error "data: <fault>"
body: <p>I try to pull out data from CoreData with the following code</p>
  
  <pre><code>NSFetchRequest *request = [[NSFetchRequest alloc] init];
  request.entity = [NSEntityDescription entityForName:@"Cave" inManagedObjectContext:self.context];
  request.predicate = [NSPredicate predicateWithFormat:@"(latitude &gt; 0) AND (longitude &gt; 0)"];
  
  NSError *error;
  NSLog(@"%@",[self.context executeFetchRequest:request error:&amp;error]);
  NSLog(@"%@",[error localizedDescription]);
  </code></pre>
  
  <p>CoreData should have 9 matching objects and it finds the 9 objects. So the predicate should work but I get this in the console</p>
  
  <pre><code>2011-09-05 07:41:42.267 CaveConditions[6930:11903] (
      "&lt;NSManagedObject: 0x7368060&gt; (entity: Cave; id: 0x7367880 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p31&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x73547e0&gt; (entity: Cave; id: 0x7356e20 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p40&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x73681e0&gt; (entity: Cave; id: 0x7363e60 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p42&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x7368280&gt; (entity: Cave; id: 0x7356be0 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p72&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x7368320&gt; (entity: Cave; id: 0x733ad80 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p73&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x73683c0&gt; (entity: Cave; id: 0x7333e70 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p91&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x7368480&gt; (entity: Cave; id: 0x7361810 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p101&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x7368570&gt; (entity: Cave; id: 0x7360110 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p105&gt; ; data: &lt;fault&gt;)",
      "&lt;NSManagedObject: 0x7368610&gt; (entity: Cave; id: 0x73303c0 &lt;x-coredata://C825FC9D-3490-4D8A-A811-979B819A2EB6/Cave/p112&gt; ; data: &lt;fault&gt;)"
  )
  </code></pre>
  
  <p>It used to work prefectly fine until I did the following change in Cave.m which is the Entity</p>
  
  <p>I added MKAnnotation as a delegate in Cave.h and added this code in Cave.m</p>
  
  <pre><code>- (CLLocationCoordinate2D)coordinate
  {
      CLLocationCoordinate2D location;
      location.latitude = [self.latitude doubleValue];
      location.longitude = [self.longitude doubleValue];
      return location;
  }
  </code></pre>
  
  <p>Is there a way to debug this?</p>