title: Getting EXC_BAD_ACCESS error while scrolling UITableView
body: <p>I have loaded data of my apps in UITableView from array declared in AppDelegate. But when I try to scroll the table view I am getting EXC_BAD_ACCESS error. Following is the code that I have used for configuring the cell.</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
      ScoutAppDelegate *appDelegate = (ScoutAppDelegate *)[[UIApplication     sharedApplication] delegate];
      return appDelegate.playerList.count;
  
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:    (NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView     dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) 
      {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault      reuseIdentifier:CellIdentifier] autorelease];
      }
  
      ScoutAppDelegate *appDelegate = (ScoutAppDelegate *)[[UIApplication sharedApplication] delegate];
      Player *tempPlayer = (Player *)[appDelegate.playerList objectAtIndex:indexPath.row];
  
      cell.textLabel.text= tempPlayer.playerName;
      return cell;
  }
  </code></pre>