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日志的所有内容。
这个问题不知道出在哪个地方,有没有遇到过这类问题的,怎么解决的?