[UITableView _classicHeightForRowAtIndexPath:] crash in fabric

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x1cbc3b3d __exceptionPreprocess
1  libobjc.A.dylib                0x1be4b067 objc_exception_throw
2  CoreFoundation                 0x1cbc3a19 +[NSException raise:format:]
3  Foundation                     0x1d4b952d (Missing)
4  UIKit                          0x22127625 -[UITableView _classicHeightForRowAtIndexPath:]
5  UIKit                          0x22127767 -[UITableView _heightForCell:atIndexPath:]
6  UIKit                          0x21f301d1 __53-[UITableView _configureCellForDisplay:forIndexPath:]_block_invoke
7  UIKit                          0x21e035c3 +[UIView(Animation) performWithoutAnimation:]
8  UIKit                          0x21f2f6d1 -[UITableView _configureCellForDisplay:forIndexPath:]
9  UIKit                          0x22123c59 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:]
10 UIKit                          0x22123de5 -[UITableView _createPreparedCellForGlobalRow:willDisplay:]
11 UIKit                          0x22111d79 -[UITableView _updateVisibleCellsNow:isRecursive:]
12 UIKit                          0x221288db -[UITableView _performWithCachedTraitCollection:]
13 UIKit                          0x21ed4f0f -[UITableView layoutSubviews]
14 UIKit                          0x21df3483 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
15 QuartzCore                     0x1fa4bcb7 -[CALayer layoutSublayers]
16 QuartzCore                     0x1fa3fd77 CA::Layer::layout_if_needed(CA::Transaction*)
17 QuartzCore                     0x1fa3fc05 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
18 QuartzCore                     0x1f9ce839 CA::Context::commit_transaction(CA::Transaction*)
19 QuartzCore                     0x1f9ecfdb CA::Transaction::commit()
20 QuartzCore                     0x1f9edb2f CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
21 CoreFoundation                 0x1cb7f803 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
22 CoreFoundation                 0x1cb7da55 __CFRunLoopDoObservers
23 CoreFoundation                 0x1cb7e017 __CFRunLoopRun
24 CoreFoundation                 0x1cad11af CFRunLoopRunSpecific
25 CoreFoundation                 0x1cad0fd1 CFRunLoopRunInMode
26 GraphicsServices               0x1e27bb41 GSEventRunModal
27 UIKit                          0x21e59a53 UIApplicationMain
28 Binance                        0x108dbf main + 29 (AppDelegate.swift:29)
29 libdyld.dylib                  0x1c2be4eb start

Please take time to post your code, explain where it crashes, and give any information that may be useful for investigation.


Just dumping a crashlog is not enough for investigation.

Some developers may spend time trying to help, you should help to help as well… And it's just politeness 😉

This error can occur when you rename files outside of XCode. To solve it you can just remove the files from your project (Right Click - Delete and "Remove Reference").

Then after you can re-import the files in your project and everything will be OK.

[UITableView _classicHeightForRowAtIndexPath:] crash in fabric
 
 
Q