确定崩溃原因
Determine Cause of Crash
我的应用程序使用 Parse。它将来自 class of 'Prayers' 的所有对象放入 TableView。加载时,它会记住所有以前加载的项目,并搜索新的项目。从今天开始,添加新项目时它开始崩溃。我的崩溃日志是这样的,有什么想法吗?:
Date/Time: 2015-02-13 14:13:25.028 -0600
Launch Time: 2015-02-13 14:13:23.173 -0600
OS Version: iOS 8.1.3 (12B466)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x185ce259c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60
2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
3 iPrayed 0x1000227a4 0x100014000 + 59300
4 UIKit 0x18a5a9b7c __66-[UISectionRowData refreshWithSection:tableView:tableViewRowData:]_block_invoke + 500
5 UIKit 0x18a56b9bc -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 3872
6 UIKit 0x18a56dc10 -[UITableViewRowData numberOfRows] + 112
7 UIKit 0x18a56db4c -[UITableView noteNumberOfRowsChanged] + 156
8 UIKit 0x18a56d498 -[UITableView reloadData] + 1304
9 iPrayed 0x100091730 0x100014000 + 513840
10 iPrayed 0x1000c9370 0x100014000 + 742256
11 libdispatch.dylib 0x196a793ac _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x196a7936c _dispatch_client_callout + 16
13 libdispatch.dylib 0x196a7d980 _dispatch_main_queue_callback_4CF + 932
14 CoreFoundation 0x185c99fa4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15 CoreFoundation 0x185c9804c __CFRunLoopRun + 1492
16 CoreFoundation 0x185bc50a4 CFRunLoopRunSpecific + 396
17 GraphicsServices 0x18ed5f5a4 GSEventRunModal + 168
18 UIKit 0x18a4f6aa4 UIApplicationMain + 1488
19 iPrayed 0x1000515e4 0x100014000 + 251364
20 libdyld.dylib 0x196aa2a08 start + 4
这些行似乎表明您的崩溃是由于试图访问数组中不存在的索引造成的:
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60
2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
如果您需要任何进一步的帮助,我建议您发布 table 查看方法的内容。
我的应用程序使用 Parse。它将来自 class of 'Prayers' 的所有对象放入 TableView。加载时,它会记住所有以前加载的项目,并搜索新的项目。从今天开始,添加新项目时它开始崩溃。我的崩溃日志是这样的,有什么想法吗?:
Date/Time: 2015-02-13 14:13:25.028 -0600
Launch Time: 2015-02-13 14:13:23.173 -0600
OS Version: iOS 8.1.3 (12B466)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x185ce259c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60
2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
3 iPrayed 0x1000227a4 0x100014000 + 59300
4 UIKit 0x18a5a9b7c __66-[UISectionRowData refreshWithSection:tableView:tableViewRowData:]_block_invoke + 500
5 UIKit 0x18a56b9bc -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 3872
6 UIKit 0x18a56dc10 -[UITableViewRowData numberOfRows] + 112
7 UIKit 0x18a56db4c -[UITableView noteNumberOfRowsChanged] + 156
8 UIKit 0x18a56d498 -[UITableView reloadData] + 1304
9 iPrayed 0x100091730 0x100014000 + 513840
10 iPrayed 0x1000c9370 0x100014000 + 742256
11 libdispatch.dylib 0x196a793ac _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x196a7936c _dispatch_client_callout + 16
13 libdispatch.dylib 0x196a7d980 _dispatch_main_queue_callback_4CF + 932
14 CoreFoundation 0x185c99fa4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15 CoreFoundation 0x185c9804c __CFRunLoopRun + 1492
16 CoreFoundation 0x185bc50a4 CFRunLoopRunSpecific + 396
17 GraphicsServices 0x18ed5f5a4 GSEventRunModal + 168
18 UIKit 0x18a4f6aa4 UIApplicationMain + 1488
19 iPrayed 0x1000515e4 0x100014000 + 251364
20 libdyld.dylib 0x196aa2a08 start + 4
这些行似乎表明您的崩溃是由于试图访问数组中不存在的索引造成的:
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60 2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
如果您需要任何进一步的帮助,我建议您发布 table 查看方法的内容。