I need to know what is the error with this:
	
	
	
		
error: 2008-07-16 11:03:39.403 Circa Printer Installer[6435:10b] *** -[NSCFArray objectAtIndex:]: index (5) beyond bounds (0)
why it is not initializing and this is an array of buttons.
	
		
			
		
		
	
				
			
		Code:
	
	header file:
NSArray *arrSelections1;
.m file:
-(id) init
{
	
	if ([super init]) {
		arrSelections1 = [[NSArray alloc] initWithObjects: cse211djq, arc118djq, cse211clq, arc118clq, hubatlabclq, nrng514clq, wei408clq, tur2215clq, arcatlabbwq, b105110bwq, cse211bwq, hubatlabbwq, lawpclabbwq, lbw3radbwq, nrnatlabbwq, tur2215bwq, weiatlabbwq, nil];
			
	}
	return self;
}
-(void) dealloc
{
	[arrSelections1 release];
	
}
- (IBAction)selectall:(id)sender 
{
	for(NSButton *button1 in arrSelections1) [button1 setState:NSOnState];
	NSLog(@"%@", [arrSelections1 objectAtIndex: 5]);
}
	error: 2008-07-16 11:03:39.403 Circa Printer Installer[6435:10b] *** -[NSCFArray objectAtIndex:]: index (5) beyond bounds (0)
why it is not initializing and this is an array of buttons.