opened
lorenzoPrimi
username_0
Crashlytics is reporting a crash in DashboardTableViewController.m line 120 trending up.
Need to try to reproduce and fix it.
Crash in DashboardTableViewController.m line 120
issue
created
lorenzoPrimi
username_0
Apparently it happens when tapping on a row to get into TestOverview.
```
    else if ([[segue identifier] isEqualToString:@"toTestOverview"]){
        NSIndexPath* indexPath = [self.tableView indexPathForSelectedRow];
        TestOverviewViewController *vc = (TestOverviewViewController * )segue.destinationViewController;
        AbstractSuite *testSuite = [items objectAtIndex:indexPath.row];
        [vc setTestSuite:testSuite];
    }    
```
the item array causes a 
`
Fatal Exception: NSRangeException
*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
-[DashboardTableViewController prepareForSegue:sender:]
`
comment
created
lorenzoPrimi
username_0
Some useful info: https://stackoverflow.com/questions/9073309/indexpathforselectedrow-returning-nil
comment
closed
lorenzoPrimi
username_0
issue