首页 新闻 搜索 专区 学院

'the collection view's data source did not return a valid cell

0
悬赏园豆:5 [待解决问题]
 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the collection view's data source did not return a valid cell from -collectionView:cellForItemAtIndexPath: for index path  {length = 2, path = 0 - 0}'

Last Exception Backtrace:
0   CoreFoundation                      0x00000001833f0248  + 160
1   libobjc.A.dylib                     0x00000001950bc0e4 objc_exception_throw + 60
2   CoreFoundation                      0x00000001833f00ec  + 0
3   Foundation                          0x00000001842a4ed4  + 112
4   UIKit                               0x0000000187ed05d8  + 400
5   UIKit                               0x0000000187ece53c  + 3436
6   UIKit                               0x0000000187ec9dec  + 260
7   UIKit                               0x0000000187e69548  + 580
8   QuartzCore                          0x00000001877a5db8  + 152
9   QuartzCore                          0x00000001877a0820  + 320
10  QuartzCore                          0x00000001877a06c4  + 32
11  QuartzCore                          0x000000018779fe58  + 276
12  QuartzCore                          0x000000018779fbd8  + 528
13  QuartzCore                          0x0000000187799300  + 80
14  CoreFoundation                      0x00000001833a7ff0  + 32
15  CoreFoundation                      0x00000001833a4f7c  + 360
16  CoreFoundation                      0x00000001833a535c  + 836
17  CoreFoundation                      0x00000001832d0f74 CFRunLoopRunSpecific + 396
18  GraphicsServices                    0x000000018cd2b6fc GSEventRunModal + 168
19  UIKit                               0x0000000187ed2d94 UIApplicationMain + 1488
20  WTpeihuoxxb                         0x0000000100308554 main + 88
21  libdyld.dylib                       0x0000000195766a08  + 4

这是百度统计bug日志的所有内容。

这个问题不知道出在哪个地方,有没有遇到过这类问题的,怎么解决的?

玉墨丹心的主页 玉墨丹心 | 初学一级 | 园豆:197
提问于:2016-12-24 11:59
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册