title: -[__NSDictionaryM intValue]: unrecognized selector sent to instance 0x13f26a60
body: <p>i am trying to fetch record for core database but it is giving me given below error.</p>
  
  <p><strong>Error</strong> -[__NSDictionaryM intValue]: unrecognized selector sent to instance 0x13f26a60</p>
  
  <p>on line </p>
  
  <pre><code>NSArray *results = [moc executeFetchRequest:request error:&amp;error];
  </code></pre>
  
  <p>Here is full code of fetch request.</p>
  
  <pre><code>NSManagedObjectContext *moc = [delegate managedObjectContext];
  
  
  NSPredicate *predicate =[NSPredicate predicateWithFormat:@"NOT (serverId IN %@)", a];
  [request setEntity:[NSEntityDescription entityForName:@"Categories" inManagedObjectContext:moc]];
  [request setPredicate:predicate];
  
  NSError *error = nil;
  id results = [moc executeFetchRequest:request error:&amp;error];
  NSLog(@"results %@",results);
  // error handling code
  [request release];
  </code></pre>