title: Program received signal "SIGABRT"
body: <p>hey guys i'm making an iphone app that uses the uipicker to get input from user. i have four different uipickers and separate arrays for them. 2 of the 4 arrays work. i am able to select values from them ! .However the other 2 one of them when clicked gives me the "SIGABRT' message and the other one once it gets to 8th element does the same !. here is my code  ! </p>
  
  <pre><code>- (void)viewDidLoad{
      subtypepickerarray =[[NSMutableArray alloc]init];
          [subtypepickerarray addObject:@"hello"];
          [subtypepickerarray addObject:@"object 2"];
          [subtypepickerarray addObject:@"jfhgsjdfhg"];
          [subtypepicker reloadAllComponents];
  
      lymphnodearray = [[NSMutableArray alloc]init];
  
      for (int j = 0; j&lt;=10;j++){
          NSString *answer1 = [NSString stringWithFormat:@"%d",j];
  
          [lymphnodearray addObject:answer1];
          [Pos_lymppicker reloadAllComponents];
  
      }
  }
  </code></pre>
  
  <p>and when i get the error message it highlights these codes </p>
  
  <pre><code>- (NSString *)pickerView:(UIPickerView *)thePickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component {
  ................
      else if (thePickerView == subtypepicker){
  
          return [subtypepickerarray objectAtIndex:row];
  
      }
      else {
          return[lymphnodearray objectAtIndex:row];
      }
  }
  </code></pre>
  
  <p>after checking the output i found this </p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 3 beyond bounds [0 .. 2]'
  *** Call stack at first throw:
  </code></pre>
  
  <p>does that mean my array is empty ? i'm kinda confused ! any help would be appreciated ! thank you  </p>