I have a crashlog from a customer and can't find out what's the problem.
The exception backtrace shows follows:
1 libobjc.A.dylib 0x1cf6a6734 objc_exception_throw + 60
2 CoreFoundation 0x1b6b4c5d0 -[__NSCFString characterAtIndex:].cold.1 + 0
3 CoreFoundation 0x1b6b57858 -[__NSDictionaryM setObject:forKey:].cold.2 + 0
4 CoreFoundation 0x1b69f70dc -[__NSDictionaryM setObject:forKey:] + 896
5 MyApp 0x102995c94 -[ListUITableViewController setImageCell:forbox:forAccount:] + 1612948 (ListUITableViewController.m:305)
In line 305 of setImageCell method I add a NSMutableArray to a NSMutableDictionary:
[self.name2NameCells setValue:nameCells forKey:name.lowercaseString];
Before that the required nil-checks are done.
Any ideas?