UITableView unable to dequeue a cell with identifier [duplicate] - swift

This question already has answers here:
Swift 'unable to dequeue a cell with identifier intervalCellIdentifier
(3 answers)
Closed 2 years ago.
I get this issue when i run my xcode Project. i will start the project and the simulator will load but as soon as it loads up the app i am making it crashes.
This is the error code :Thread 1: Exception: "unable to dequeue a cell with identifier ChecklistItem - must register a nib or a class for the identifier or connect a prototype cell in a storyboard"
and says this in the terminal:
2020-07-24 18:11:06.757164+0100 Checklists[983:49709] *** Assertion failure in -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:], /Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3920.31.102/UITableView.m:8724
2020-07-24 18:11:06.771044+0100 Checklists[983:49709] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier ChecklistItem - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b93ae6e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010a23a9b2 objc_exception_throw + 48
2 CoreFoundation 0x000000010b93abe8 +[NSException raise:format:arguments:] + 88
3 Foundation 0x0000000109c1bbd2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIKitCore 0x000000010e53d6be -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:] + 1332
5 UIKitCore 0x000000010e53d156 -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:] + 91
6 Checklists 0x0000000109979a38 $s10Checklists23ChecklistViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtF + 264
7 Checklists 0x0000000109979b25 $s10Checklists23ChecklistViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtFTo + 165
8 UIKitCore 0x000000010e556e96 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 867
9 UIKitCore 0x000000010e520522 -[UITableView _updateVisibleCellsNow:] + 3010
10 UIKitCore 0x000000010e54024e -[UITableView layoutSubviews] + 194
11 UIKitCore 0x000000010e8465f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2478
12 QuartzCore 0x00000001103b1260 -[CALayer layoutSublayers] + 255
13 QuartzCore 0x00000001103b73eb _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 523
14 QuartzCore 0x00000001103c2a8a _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 80
15 QuartzCore 0x000000011030ba7c _ZN2CA7Context18commit_transactionEPNS_11TransactionEd + 324
16 QuartzCore 0x000000011033f467 _ZN2CA11Transaction6commitEv + 649
17 UIKitCore 0x000000010e3566c3 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 81
18 CoreFoundation 0x000000010b89eabc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
19 CoreFoundation 0x000000010b89e1b3 __CFRunLoopDoBlocks + 195
20 CoreFoundation 0x000000010b898fa3 __CFRunLoopRun + 995
21 CoreFoundation 0x000000010b8988a4 CFRunLoopRunSpecific + 404
22 GraphicsServices 0x0000000114910bbe GSEventRunModal + 139
23 UIKitCore 0x000000010e33e968 UIApplicationMain + 1605
24 Checklists 0x000000010997aa1b main + 75
25 libdyld.dylib 0x000000010c8581fd start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Based on the error, you did not register the cell when setting up the tableview.
Check the documentation:
tableView.register(UITableViewCell.self, forCellReuseIdentifier: "DefaultCell")
Or
tableView.register(UINib(nibName: "yourNib", bundle: nil), forCellReuseIdentifier: "CellFromNib")
Just fill in the proper values for cell, nibName, identifier, etc... Depending on which method you're using
And here is a link to a guide if you need a bit more info: link

Related

I'm getting thread error while clicking on login button which should move view to another home view controller but get thread on run time

Not Login
2021-03-21 08:05:13.707070-0700 CarSaleAgent[28101:221025] pushViewController:animated: called on <UINavigationController 0x7fa3ba046800> while an existing transition or presentation is occurring; the navigation stack will not be updated.
Ok
2021-03-21 08:05:19.099331-0700 CarSaleAgent[28101:221025] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/apple/Library/Developer/CoreSimulator/Devices/B81E5794-CC42-4D72-AEC2-9402A99389A8/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2021-03-21 08:05:19.101287-0700 CarSaleAgent[28101:221025] [MC] Reading from private effective user settings.
Login Successfull
2021-03-21 08:05:30.885064-0700 CarSaleAgent[28101:221025] *** Assertion failure in -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3698.84.15/UICollectionView.m:5372
2021-03-21 08:05:30.902325-0700 CarSaleAgent[28101:221025] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier homeCollectionViewCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b46129b __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010a9fd735 objc_exception_throw + 48
2 CoreFoundation 0x000000010b461022 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010a401b47 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 UIKitCore 0x00000001105bad1e -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:] + 2536
5 UIKitCore 0x00000001105bafa9 -[UICollectionView dequeueReusableCellWithReuseIdentifier:forIndexPath:] + 169
6 CarSaleAgent 0x000000010a0a4d99 $S12CarSaleAgent18HomeViewControllerC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0lE0C_10Foundation9IndexPathVtF + 345
7 CarSaleAgent 0x000000010a0a501c $S12CarSaleAgent18HomeViewControllerC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0lE0C_10Foundation9IndexPathVtFTo + 108
8 UIKitCore 0x00000001105a48f0 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 314
9 UIKitCore 0x00000001105a47b0 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:] + 31
10 UIKitCore 0x00000001105a9e67 -[UICollectionView _updateVisibleCellsNow:] + 6164
11 UIKitCore 0x00000001105af68e -[UICollectionView layoutSubviews] + 364
12 UIKitCore 0x0000000110c16015 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
13 QuartzCore 0x000000011253ad3d -[CALayer layoutSublayers] + 175
14 QuartzCore 0x000000011253fbf7 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
15 QuartzCore 0x00000001124b8aa6 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 342
16 QuartzCore 0x00000001124efc2a _ZN2CA11Transaction6commitEv + 576
17 UIKitCore 0x00000001104f6ff9 _UIApplicationFlushRunLoopCATransactionIfTooLate + 165
18 UIKitCore 0x0000000110454090 __handleEventQueueInternal + 6874
19 CoreFoundation 0x000000010b3c4b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
20 CoreFoundation 0x000000010b3c43a3 __CFRunLoopDoSources0 + 243
21 CoreFoundation 0x000000010b3bea4f __CFRunLoopRun + 1263
22 CoreFoundation 0x000000010b3be221 CFRunLoopRunSpecific + 625
23 GraphicsServices 0x00000001146b91dd GSEventRunModal + 62
24 UIKitCore 0x00000001104fd115 UIApplicationMain + 140
25 CarSaleAgent 0x000000010a0b36d7 main + 71
26 libdyld.dylib 0x000000010e158551 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

App crashes when table menu item selected in swift

The app crashes in simulator when one item is pressed on the slide out menu (created with table view), I've tried deleting connections between UI and IB and remaking them incase this is the issue, but it hasn't solved it.
This is the error code that comes out:
View Controller is : <AKSwiftSlideMenu.HomeVC: 0x7fa6c5e05b90>
Calculate your own repayment
2017-02-08 17:36:13.782 AKSwiftSlideMenu[37086:3161182] Unknown class TrackerVC in Interface Builder file.
2017-02-08 17:36:13.801 AKSwiftSlideMenu[37086:3161182] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7fa6c5d1f920> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key AnnualInterestInput.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010a9a0d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010a40221e objc_exception_throw + 48
2 CoreFoundation 0x000000010a9a0c99 -[NSException raise] + 9
3 Foundation 0x0000000109f109df -[NSObject(NSKeyValueCoding) setValue:forKey:] + 291
4 UIKit 0x000000010af5f293 -[UIViewController setValue:forKey:] + 88
5 UIKit 0x000000010b1d379e -[UIRuntimeOutletConnection connect] + 109
6 CoreFoundation 0x000000010a9459e0 -[NSArray makeObjectsPerformSelector:] + 256
7 UIKit 0x000000010b1d2122 -[UINib instantiateWithOwner:options:] + 1867
8 UIKit 0x000000010af659c5 -[UIViewController _loadViewFromNibNamed:bundle:] + 386
9 UIKit 0x000000010af662e7 -[UIViewController loadView] + 177
10 UIKit 0x000000010af6661c -[UIViewController loadViewIfRequired] + 201
11 UIKit 0x000000010af6d062 -[UIViewController __viewWillAppear:] + 118
12 UIKit 0x000000010af981d3 -[UINavigationController _startCustomTransition:] + 1290
13 UIKit 0x000000010afa8e48 -[UINavigationController _startDeferredTransitionIfNeeded:] + 697
14 UIKit 0x000000010afa9fdb -[UINavigationController __viewWillLayoutSubviews] + 58
15 UIKit 0x000000010b1a0dd7 -[UILayoutContainerView layoutSubviews] + 223
16 UIKit 0x000000010ae89ab8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1237
17 QuartzCore 0x000000010f85fbf8 -[CALayer layoutSublayers] + 146
18 QuartzCore 0x000000010f853440 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
19 QuartzCore 0x000000010f8532be _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
20 QuartzCore 0x000000010f7e1318 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280
21 QuartzCore 0x000000010f80e3ff _ZN2CA11Transaction6commitEv + 475
22 UIKit 0x000000010adef7f0 _afterCACommitHandler + 346
23 CoreFoundation 0x000000010a945267 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
24 CoreFoundation 0x000000010a9451d7 __CFRunLoopDoObservers + 391
25 CoreFoundation 0x000000010a929f8e __CFRunLoopRun + 1198
26 CoreFoundation 0x000000010a929884 CFRunLoopRunSpecific + 420
27 GraphicsServices 0x000000010f02fa6f GSEventRunModal + 161
28 UIKit 0x000000010adc4c68 UIApplicationMain + 159
29 AKSwiftSlideMenu 0x0000000109e0401f main + 111
30 libdyld.dylib 0x000000010e09f68d start + 1
31 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
According to the error, it most probably is that one of your views is connected to an outlet named AnnualInterestInput that was deleted from the class.
If by deleting all the outlets and reconnecting them to the view controller didn't work it out, then it may be due to a wrong class in the xib.
This means that you have set a wrong class in the xib or storyboard and it's not able to found the key. If the class is still correct, check if the module is correct!
This line is what gives me a hint that this could be the problem:
2017-02-08 17:36:13.782 AKSwiftSlideMenu[37086:3161182] Unknown class TrackerVC in Interface Builder file.

Sigabrt error with tableview

I have recently added a UITableView to my app and have receved these errors.
Ive looked everywhere on the internet but am really hoping someone can help me.
DEBUGER-
2016-10-08 02:34:41.404 SharkMate[15408:428153] Configuring the default app.
2016-10-08 02:34:41.440: FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-10-08 02:34:41.442 SharkMate[15408:] Firebase Analytics v.3402000 started
2016-10-08 02:34:41.476 SharkMate[15408:] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled
2016-10-08 02:34:41.502 SharkMate[15408:] Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2016-10-08 02:34:41.551 SharkMate[15408:] Firebase Analytics enabled
2016-10-08 02:34:41.575 SharkMate[15408:428153] * Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.60.7/UITableView.m:7971
2016-10-08 02:34:41.579 SharkMate[15408:428153] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView (; layer = ; contentOffset: {0, -64}; contentSize: {414, 308}>) failed to obtain a cell from its dataSource ()'
*** First throw call stack:
(
0 CoreFoundation 0x000000010f8bcd85 exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001119f1deb objc_exception_throw + 48
2 CoreFoundation 0x000000010f8bcbea +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010fd91d5a -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 UIKit 0x000000011058f4b1 -[UITableView _configureCellForDisplay:forIndexPath:] + 225
5 UIKit 0x000000011059b51e -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 808
6 UIKit 0x000000011059b62c -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74
7 UIKit 0x000000011056fd4f -[UITableView _updateVisibleCellsNow:isRecursive:] + 2996
8 UIKit 0x00000001105a4686 -[UITableView _performWithCachedTraitCollection:] + 92
9 UIKit 0x000000011058b344 -[UITableView layoutSubviews] + 224
10 UIKit 0x00000001104f8980 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
11 QuartzCore 0x0000000115599c00 -[CALayer layoutSublayers] + 146
12 QuartzCore 0x000000011558e08e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
13 QuartzCore 0x000000011558df0c _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
14 QuartzCore 0x00000001155823c9 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
15 QuartzCore 0x00000001155b0086 _ZN2CA11Transaction6commitEv + 486
16 QuartzCore 0x00000001155b07f8 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
17 CoreFoundation 0x000000010f7e1c37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
18 CoreFoundation 0x000000010f7e1ba7 __CFRunLoopDoObservers + 391
19 CoreFoundation 0x000000010f7d711c CFRunLoopRunSpecific + 524
20 UIKit 0x0000000110438f21 -[UIApplication _run] + 402
21 UIKit 0x000000011043df09 UIApplicationMain + 171
22 SharkMate 0x000000010dde9962 main + 114
23 libdyld.dylib 0x00000001124c992d start + 1
24 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
The error signal greatly to tableview not having a cell registered
Register a cell to tableview as below
self.tableView.register(UINib.init(nibName: "CustomCellClassName", bundle: Bundle.main), forCellReuseIdentifier:"cell")
Make sure to set cell identifier in nib

CustomCell Crash

I am using CustomCell tableview, download data and binding it.When i tap multiple time am getting this error.
[NSCFString numberOfSectionsInTableView:]: unrecognized selector sent to instance 0x1bd170
Sat Jan 22 12:03:26 unknown Fridge[535] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString numberOfSectionsInTableView:]: unrecognized selector sent to instance 0x1bd170'
*** Call stack at first throw:
(
0 CoreFoundation 0x314d0987 __exceptionPreprocess + 114
1 libobjc.A.dylib 0x319a149d objc_exception_throw + 24
2 CoreFoundation 0x314d2133 -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
3 CoreFoundation 0x31479aa9 ___forwarding___ + 508
4 CoreFoundation 0x31479860 _CF_forwarding_prep_0 + 48
5 UIKit 0x339023fb -[UITableViewRowData(UITableViewRowDataPrivate) _updateNumSections] + 66
6 UIKit 0x3390235b -[UITableViewRowData invalidateAllSections] + 50
7 UIKit 0x33902111 -[UITableView(_UITableViewPrivate) _updateRowData] + 64
8 UIKit 0x33902069 -[UITableView noteNumberOfRowsChanged] + 64
9 UIKit 0x33901bff -[UITableView reloadData] + 582
10 UIKit 0x33904a0b -[UITableView _reloadDataIfNeeded] + 50
11 UIKit 0x33904e63 -[UITableView layoutSubviews] + 18
12 UIKit 0x338b10cf -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 26
13 CoreFoundation 0x3146ebbf -[NSObject(NSObject) performSelector:withObject:] + 22
14 QuartzCore 0x30a6c685 -[CALayer layoutSublayers] + 120
15 QuartzCore 0x30a6c43d CALayerLayoutIfNeeded + 184
16 QuartzCore 0x30a6656d _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 212
17 QuartzCore 0x30a66383 _ZN2CA11Transaction6commitEv + 190
18 QuartzCore 0x30a89f9d _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 52
19 CoreFoundation 0x31460c59 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
20 CoreFoundation 0x31460acd __CFRunLoopDoObservers + 412
21 CoreFoundation 0x314580cb __CFRunLoopRun + 854
22 CoreFoundation 0x31457c87 CFRunLoopRunSpecific + 230
23 CoreFoundation 0x31457b8f CFRunLoopRunInMode + 58
24 GraphicsServices 0x35d664ab GSEventRunModal + 114
25 GraphicsServices 0x35d66557 GSEventRun + 62
26 UIKit 0x338d5329 -[UIApplication _run] + 412
27 UIKit 0x338d2e93 UIApplicationMain + 670
28 Fridge 0x00002a7f main + 70
29 Fridge 0x00002a34 start + 40
)
Sat Jan 22 12:03:26 unknown UIKitApplication:com.sdi.Fridge[0xa6da][535] <Notice>: terminate called after throwing an instance of 'NSException'
**Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CALayer numberOfSectionsInTableView:]: unrecognized selector sent to instance 0x184250'**
Thanks
Thanks for the detail view of your problem but the only important part is this
-[NSCFString numberOfSectionsInTableView:]: unrecognized selector
It tells that you are calling the method numberOfSectionsInTableView: on a NSCFString
which is seem to be wrong
so check where is that method called in your code
And also the rest is not require in your case.
Edit:
did you release your custom cell in the delegate method tableview. if yes than use autorelease instead.

Assertion Failure

I am developing an iPad application with SDK4.2. I have a very strange error when touching any textField in my application. The first time I touch, the keyboard is shown, but when a second touch is done in the object I obtain following trace.
And it occurs also in any TextField shown in a HTML page with a UIWebView object.
Any ideas?
I am really confused with this.. Thanks in advance!
2010-12-17 11:53:11.697 BancoPopular[48914:207] *** Assertion failure in -[UIButtonLabel setTextColor:], /SourceCache/UIKit_Sim/UIKit-1447.6.4/UILabel.m:314
2010-12-17 11:53:11.699 BancoPopular[48914:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: color'
*** Call stack at first throw:
(
0 CoreFoundation 0x01730be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x018855c2 objc_exception_throw + 47
2 CoreFoundation 0x016e9628 +[NSException raise:format:arguments:] + 136
3 Foundation 0x0013947b -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 UIKit 0x0045d1dc -[UILabel setTextColor:] + 164
5 UIKit 0x0052177b -[UIButton layoutSubviews] + 1337
6 UIKit 0x005f3420 -[UICalloutBarButton layoutSubviews] + 54
7 QuartzCore 0x011a4451 -[CALayer layoutSublayers] + 181
8 QuartzCore 0x011a417c CALayerLayoutIfNeeded + 220
9 QuartzCore 0x011a4088 -[CALayer layoutIfNeeded] + 111
10 UIKit 0x0051f2ff -[UIButton titleLabel] + 81
11 UIKit 0x005f81d1 -[UICalloutBarButton setContentScale:] + 141
12 UIKit 0x005f6c5d -[UICalloutBar _updateVisibleItems] + 2240
13 UIKit 0x005f2970 -[UICalloutBar appear] + 211
14 UIKit 0x005eaaa9 -[UITextSelectionView showCommandsWithReplacements:] + 291
15 Foundation 0x000bd7f6 __NSFireDelayedPerform + 441
16 CoreFoundation 0x01711fe3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
17 CoreFoundation 0x01713594 __CFRunLoopDoTimer + 1220
18 CoreFoundation 0x0166fcc9 __CFRunLoopRun + 1817
19 CoreFoundation 0x0166f240 CFRunLoopRunSpecific + 208
20 CoreFoundation 0x0166f161 CFRunLoopRunInMode + 97
21 GraphicsServices 0x01e25268 GSEventRunModal + 217
22 GraphicsServices 0x01e2532d GSEventRun + 115
23 UIKit 0x0034d42e UIApplicationMain + 1160
24 BancoPopular 0x0000292e main + 84
25 BancoPopular 0x000028d1 start + 53
26 ??? 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
Look carefully what exception was about. It said "reason: 'Invalid parameter not satisfying: color'", somewhere in your code, you provide wrong parameter that is supposed to be valid colors. Apparently, it seems like you use UIButton with label and set its color but not valid.
My guess is that you have some object going away somewhere, and that object contains the "color" value.
Most likely you received an autoreleased value from some call and did not retain it, so it went "poof" when the UI came up for air.