在做 点击section下拉展示相应cell的功能时,遇到了闹心的“Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]:”
各种debug,各种调试,都发现是系统刷新cell时发生错误
最后,发现之所以会导致系统的那个错误,完全是因为使用了“自适应高度的cell”
self.tableView.estimatedRowHeight = 80 self.tableView.estimatedSectionHeaderHeight = 100 self.tableView.rowHeight = UITableViewAutomaticDimension self.tableView.sectionHeaderHeight = UITableViewAutomaticDimension
找到问题所在之后,就简单了,删除上边的代码即可
另:如果要调试这个错误,可以添加断点:“Add Symbolic Breakpoint”-> 输入 “[NSArray insertObject:atIndex:]”
相关推荐
2.Assertion failure and Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'No view controller managing visible view. detail in ...
Terminating app due to uncaught exception 'NSInternalInconsistencyException' ///继续看下去如: reason: 'UITableView dataSource returned a nil cell for row at index path:... ... ///找到这段英文中出现...
除了大多数访问器的无法识别的选择器之外,以下是常见的例外情况: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSOrderedSet intersectsSet:]: set argument is...
PMON (ospid: nnnn): terminating the instance due to error 481 可能原因 根据Oracle官方文档,错误481可能是由于以下几种原因引起的: 1. Link local IP (169.254.x.x) is being used by other adapter/...
fix crash ---- Terminating app due to uncaught exception NSInvalidArgumentException , reason: [AVCaptureMetadataOutput setMetadataObjectTypes:] unsupported type found. Use ...
Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.' ...
侧边栏iOS 14 这是一个示例...已知错误以紧凑模式启动应用程序,然后将其更改为常规模式会导致以下错误: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected vie
下面把searchDisplayController 引起的数组越界处理办法给大家分享如下...Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0
2012-11-28 13:22:08.911 PropMemFun [2132:11303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CFString respondsToSelector:]: message sent to deallocated ...
在IT领域,尤其是CAD/CAM软件用户中,遇到“运行UG提示Fatal error detected unable to continue”的问题时,往往会感到困扰。这一错误信息通常出现在尝试启动Unigraphics(简称UG,现称为NX)软件时,意味着系统...
Terminating app_main thread with osThreadExit() to avoid endless loop. Updated RTX configuration (CMSIS 5.8.0). Updated template based files (MDK-Middleware 7.13.0). Configured MDK projects to use Arm...
Updated Pack to STM32Cube_FW_F4 Firmware Package version V1.25.1 using HAL Drivers V1.7.9. ...Terminating app_main thread with osThreadExit() to avoid endless loop Updated MS Windows UBS driver files.
Version: 1.3.0 (2020-06-24) Keil.STM32MP1xx_DFP.1.3.0.pack Added additional devices for STM32MP157 sub family. ...Terminating app_main thread with osThreadExit() to avoid endless loop
Terminating app_main thread with osThreadExit() to avoid endless loop. USB Device examples: Added Event Recorder in USB Device examples (for STM32L073Z-EVAL board). Updated with user code templates ...
App::terminating(function () { Bugsnag::flush(); }); ``` ### 8. 使用 Bugsnag 控制台 一旦你的 Laravel 应用与 Bugsnag 集成完毕,你可以在 Bugsnag 控制台查看到错误报告。这里,你可以过滤、排序和分析错误...
Version: 1.2.0 (2020-08-03) Keil.STM32G4xx_DFP.1.2.0.pack Added devices: STM32G491xxxx, STM32G4A1xxxx and STM32G483xx series. ...Terminating app_main thread with osThreadExit() to avoid endless loop
The main reason for making a virtual function inline is to place its definition in the class, either for convenience or to document its behavior, e.g., for accessors and mutators. The -inl.h Files...
Terminating app_main thread with osThreadExit() to avoid endless loop. CMSIS-Driver: All: corrected compiler warnings if GNU extensions is enabled in C/C++ settings for ARM Compiler 5. CAN: Corrected...
Version: 2.15.0 (2020-09-28) Keil.STM32F4xx_DFP.2.15.0.pack Download Updated Pack to STM32Cube...Terminating app_main thread with osThreadExit() to avoid endless loop Updated MS Windows UBS driver files.